mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
55755fbf42
Refer: https://github.com/apple/swift/pull/39143 for a description of the algorithm. It is optimal in the sense of having: * no divisions * minimal number of blocks of random bits from the generator Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22499)
16 lines
360 B
Plaintext
16 lines
360 B
Plaintext
LIBS=../../libcrypto
|
|
|
|
$COMMON=rand_lib.c
|
|
$CRYPTO=randfile.c rand_err.c rand_deprecated.c prov_seed.c rand_pool.c \
|
|
rand_uniform.c
|
|
|
|
IF[{- !$disabled{'egd'} -}]
|
|
$CRYPTO=$CRYPTO rand_egd.c
|
|
ENDIF
|
|
IF[{- !$disabled{'deprecated-3.0'} -}]
|
|
$CRYPTO=$CRYPTO rand_meth.c
|
|
ENDIF
|
|
|
|
SOURCE[../../libcrypto]=$COMMON $CRYPTO
|
|
SOURCE[../../providers/libfips.a]=$COMMON
|