Blame src/hash/hash_generic.h

Packit ae9e2a
/*
Packit ae9e2a
 * Copyright (C) the libgit2 contributors. All rights reserved.
Packit ae9e2a
 *
Packit ae9e2a
 * This file is part of libgit2, distributed under the GNU GPL v2 with
Packit ae9e2a
 * a Linking Exception. For full terms see the included COPYING file.
Packit ae9e2a
 */
Packit ae9e2a
Packit ae9e2a
#ifndef INCLUDE_hash_generic_h__
Packit ae9e2a
#define INCLUDE_hash_generic_h__
Packit ae9e2a
Packit ae9e2a
#include "hash.h"
Packit ae9e2a
Packit ae9e2a
struct git_hash_ctx {
Packit ae9e2a
	unsigned long long size;
Packit ae9e2a
	unsigned int H[5];
Packit ae9e2a
	unsigned int W[16];
Packit ae9e2a
};
Packit ae9e2a
Packit ae9e2a
#define git_hash_global_init() 0
Packit ae9e2a
#define git_hash_ctx_init(ctx) git_hash_init(ctx)
Packit ae9e2a
#define git_hash_ctx_cleanup(ctx)
Packit ae9e2a
Packit ae9e2a
#endif /* INCLUDE_hash_generic_h__ */