5 * Created on 12/01/2010
7 * Copyright (c) 2010,2011,2012,2014,2015 Apple Inc. All rights reserved.
11 #ifndef _CORECRYPTO_CCSHA1_H_
12 #define _CORECRYPTO_CCSHA1_H_
14 #include <corecrypto/ccdigest.h>
15 #include <corecrypto/cc_config.h>
17 #define CCSHA1_BLOCK_SIZE 64
18 #define CCSHA1_OUTPUT_SIZE 20
19 #define CCSHA1_STATE_SIZE 20
22 const struct ccdigest_info
*ccsha1_di(void);
25 extern const struct ccdigest_info ccsha1_ltc_di
;
26 extern const struct ccdigest_info ccsha1_eay_di
;
29 extern const struct ccdigest_info ccsha1_vng_intel_SupplementalSSE3_di
;
32 #if CCSHA1_VNG_ARMV7NEON
33 extern const struct ccdigest_info ccsha1_vng_armv7neon_di
;
36 /* TODO: Placeholders */
37 #define ccoid_sha1 ((unsigned char *)"\x06\x05\x2b\x0e\x03\x02\x1a")
38 #define ccoid_sha1_len 7
40 #endif /* _CORECRYPTO_CCSHA1_H_ */