mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
24 lines
692 B
C
24 lines
692 B
C
/* Header file for use with Cryptogam's ARMv4 SHA512. */
|
|
/* Also see http://www.openssl.org/~appro/cryptogams/ */
|
|
/* https://wiki.openssl.org/index.php/Cryptogams_SHA. */
|
|
|
|
#ifndef CRYPTOGAMS_SHA512_ARMV4_H
|
|
#define CRYPTOGAMS_SHA512_ARMV4_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Crypto++ modified cryptogams_sha512_block_data_order to pass caps as a parameter. */
|
|
/* Also see https://github.com/weidai11/cryptopp/issues/846. */
|
|
void cryptogams_sha512_block_data_order(void *state, const void *data, size_t blocks);
|
|
|
|
/* Cryptogams arm caps */
|
|
#define CRYPTOGAMS_ARMV7_NEON (1<<0)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* CRYPTOGAMS_SHA512_ARMV4_H */
|