Crypto++ 8.4 Free C++ class library of cryptographic schemes

sha256_armv4.h
1 /* Header file for use with Cryptogam's ARMv4 SHA1. */
2 /* Also see http://www.openssl.org/~appro/cryptogams/ */
3 /* https://wiki.openssl.org/index.php/Cryptogams_SHA. */
4
5 #ifndef CRYPTOGAMS_SHA256_ARMV4_H
6 #define CRYPTOGAMS_SHA256_ARMV4_H
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 /* Crypto++ modified cryptogams_sha256_block_data_order to pass caps as a parameter. */
13 /* Also see https://github.com/weidai11/cryptopp/issues/846. */
14 void cryptogams_sha256_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_SHA256_ARMV4_H */