Add Arm Assembly (aarch64) support for RNG
authorOrr Toledano <otoledan@amazon.com>
Wed, 19 May 2021 18:54:20 +0000 (18:54 +0000)
committerTomas Mraz <tomas@openssl.org>
Thu, 16 Dec 2021 11:38:09 +0000 (12:38 +0100)
commitefa1f22483ee43d84e1aee01b08c0bda04060c1c
tree219f223e67a048aa8187c1e222086ba7eab93152
parenta56bb5d64e7599140117f935eeeb34ba94c83aea
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)
crypto/arm64cpuid.pl
crypto/arm_arch.h
crypto/armcap.c