mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
d38e5a954d
Cryptogams is Andy Polyakov's project used to create high speed crypto algorithms and share them with other developers. Cryptogams has a dual license. First is the OpenSSL license because Andy contributes to OpenSSL. Second is a BSD license for those who want a more permissive license. Andy's implementation runs about 45% faster than C/C++ code. Testing on a 1.8 GHz Cortex-A17 shows Cryptograms at 45 cpb, and C++ at 79 cpb. The integration instructions are documented at [Cryptogams SHA](https://wiki.openssl.org/index.php/Cryptogams_SHA) on the OpenSSL wiki.
22 lines
504 B
C
22 lines
504 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
|
|
|
|
void sha512_block_data_order(void *state, const void *data, size_t blocks);
|
|
|
|
/* Cryptogams arm caps */
|
|
#define ARMV7_NEON (1<<0)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* CRYPTOGAMS_SHA512_ARMV4_H */
|