2019-05-19 10:59:12 +00:00
|
|
|
/* Header file for use with Cryptogam's ARMv4 SHA1. */
|
|
|
|
/* Also see http://www.openssl.org/~appro/cryptogams/ */
|
|
|
|
/* https://wiki.openssl.org/index.php/Cryptogams_SHA. */
|
|
|
|
|
|
|
|
#ifndef CRYPTOGAMS_SHA256_ARMV4_H
|
|
|
|
#define CRYPTOGAMS_SHA256_ARMV4_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-12-27 05:59:39 +00:00
|
|
|
/* Crypto++ modified cryptogams_sha256_block_data_order to pass caps as a parameter. */
|
2019-05-22 23:11:16 +00:00
|
|
|
/* Also see https://github.com/weidai11/cryptopp/issues/846. */
|
2020-12-26 08:16:42 +00:00
|
|
|
void cryptogams_sha256_block_data_order(void *state, const void *data, size_t blocks);
|
2019-05-19 10:59:12 +00:00
|
|
|
|
|
|
|
/* Cryptogams arm caps */
|
2020-12-26 08:16:42 +00:00
|
|
|
#define CRYPTOGAMS_ARMV7_NEON (1<<0)
|
2019-05-19 10:59:12 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* CRYPTOGAMS_SHA256_ARMV4_H */
|