common_crypto.h 423 Bytes
Newer Older
1 2 3 4 5 6 7
/*
 * Copyright (C) the libgit2 contributors. All rights reserved.
 *
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 * a Linking Exception. For full terms see the included COPYING file.
 */

8 9
#ifndef INCLUDE_hash_sha1_common_crypto_h__
#define INCLUDE_hash_sha1_common_crypto_h__
10

11
#include "hash/sha1.h"
12 13 14

#include <CommonCrypto/CommonDigest.h>

15
struct git_hash_sha1_ctx {
16 17 18
	CC_SHA1_CTX c;
};

19
#endif