Crypto++  8.8
Free C++ class library of cryptographic schemes
sha512_armv4.h
1 /* Header file for use with Cryptogam's ARMv4 SHA512. */
2 /* Also see http://www.openssl.org/~appro/cryptogams/ */
3 /* https://wiki.openssl.org/index.php/Cryptogams_SHA. */
4 
5 #ifndef CRYPTOGAMS_SHA512_ARMV4_H
6 #define CRYPTOGAMS_SHA512_ARMV4_H
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 /* Crypto++ modified cryptogams_sha512_block_data_order to pass caps as a parameter. */
13 /* Also see https://github.com/weidai11/cryptopp/issues/846. */
14 void cryptogams_sha512_block_data_order(void *state, const void *data, size_t blocks);
15 
16 /* Cryptogams arm caps */
17 #define CRYPTOGAMS_ARMV7_NEON (1<<0)
18 
19 #ifdef __cplusplus
20 }
21 #endif
22 
23 #endif /* CRYPTOGAMS_SHA512_ARMV4_H */