diff options
author | Orr Toledano <otoledan@amazon.com> | 2021-05-19 18:54:20 +0000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-12-16 12:38:09 +0100 |
commit | efa1f22483ee43d84e1aee01b08c0bda04060c1c (patch) | |
tree | 219f223e67a048aa8187c1e222086ba7eab93152 /crypto/arm_arch.h | |
parent | a56bb5d64e7599140117f935eeeb34ba94c83aea (diff) |
Add Arm Assembly (aarch64) support for RNG
Include aarch64 asm instructions for random number generation using the
RNDR and RNDRRS instructions. Provide detection functions for RNDR and
RNDRRS getauxval.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15361)
Diffstat (limited to 'crypto/arm_arch.h')
-rw-r--r-- | crypto/arm_arch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/arm_arch.h b/crypto/arm_arch.h index aa380acce0..ca48045670 100644 --- a/crypto/arm_arch.h +++ b/crypto/arm_arch.h @@ -83,6 +83,7 @@ extern unsigned int OPENSSL_armv8_rsa_neonized; # define ARMV8_PMULL (1<<5) # define ARMV8_SHA512 (1<<6) # define ARMV8_CPUID (1<<7) +# define ARMV8_RNG (1<<8) /* * MIDR_EL1 system register |