mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 03:40:22 +00:00
Couple Cryptogams source files to ARMv7 and NEON
This commit is contained in:
parent
9dffe71da7
commit
ea9532e5c9
14
config_asm.h
14
config_asm.h
@ -371,12 +371,14 @@
|
|||||||
// than C/C++. Define this to use the Cryptogams AES and SHA implementations
|
// than C/C++. Define this to use the Cryptogams AES and SHA implementations
|
||||||
// on GNU Linux systems. When defined, Crypto++ will use aes_armv4.S,
|
// on GNU Linux systems. When defined, Crypto++ will use aes_armv4.S,
|
||||||
// sha1_armv4.S and sha256_armv4.S. https://www.cryptopp.com/wiki/Cryptogams.
|
// sha1_armv4.S and sha256_armv4.S. https://www.cryptopp.com/wiki/Cryptogams.
|
||||||
#if defined(__arm__) && defined(__linux__)
|
#if !defined(CRYPTOPP_DISABLE_ARM_NEON)
|
||||||
# if defined(__GNUC__) || defined(__clang__)
|
# if defined(__arm__) && defined(__linux__)
|
||||||
# define CRYPTOGAMS_ARM_AES 1
|
# if defined(__GNUC__) || defined(__clang__)
|
||||||
# define CRYPTOGAMS_ARM_SHA1 1
|
# define CRYPTOGAMS_ARM_AES 1
|
||||||
# define CRYPTOGAMS_ARM_SHA256 1
|
# define CRYPTOGAMS_ARM_SHA1 1
|
||||||
# define CRYPTOGAMS_ARM_SHA512 1
|
# define CRYPTOGAMS_ARM_SHA256 1
|
||||||
|
# define CRYPTOGAMS_ARM_SHA512 1
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user