Centos-kernel-stream-9/crypto
Vladis Dronov 6e71459129 crypto: jitter - consider 32 LSB for APT
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2164067
Upstream Status: merged into the linux.git

commit 552d03a223eda3df84526ab2c1f4d82e15eaee7a
Author: Stephan Müller <smueller@chronox.de>
Date:   Sun Nov 21 15:14:20 2021 +0100

    crypto: jitter - consider 32 LSB for APT

    The APT compares the current time stamp with a pre-set value. The
    current code only considered the 4 LSB only. Yet, after reviews by
    mathematicians of the user space Jitter RNG version >= 3.1.0, it was
    concluded that the APT can be calculated on the 32 LSB of the time
    delta. Thi change is applied to the kernel.

    This fixes a bug where an AMD EPYC fails this test as its RDTSC value
    contains zeros in the LSB. The most appropriate fix would have been to
    apply a GCD calculation and divide the time stamp by the GCD. Yet, this
    is a significant code change that will be considered for a future
    update. Note, tests showed that constantly the GCD always was 32 on
    these systems, i.e. the 5 LSB were always zero (thus failing the APT
    since it only considered the 4 LSB for its calculation).

    Signed-off-by: Stephan Mueller <smueller@chronox.de>
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2023-02-05 09:40:21 +01:00
..
asymmetric_keys
async_tx crypto: add __init/__exit annotations to init/exit funcs 2022-11-18 13:19:54 -08:00
842.c
Kconfig crypto: s390 - do not depend on CRYPTO_HW for SIMD implementations 2022-12-14 00:22:35 -05:00
Makefile
acompress.c
adiantum.c
aead.c
aegis.h
aegis128-core.c
aegis128-neon-inner.c
aegis128-neon.c
aes_generic.c
aes_ti.c
af_alg.c crypto: af_alg - get rid of alg_memory_allocated 2022-11-08 17:10:55 +01:00
ahash.c
akcipher.c
algapi.c
algboss.c
algif_aead.c
algif_hash.c
algif_rng.c
algif_skcipher.c
ansi_cprng.c
anubis.c
api.c
arc4.c
authenc.c
authencesn.c
blake2b_generic.c
blake2s_generic.c
blowfish_common.c
blowfish_generic.c
camellia_generic.c
cast5_generic.c
cast6_generic.c
cast_common.c
cbc.c
ccm.c
cfb.c
chacha20poly1305.c
chacha_generic.c
cipher.c
cmac.c
compress.c
crc32_generic.c
crc32c_generic.c
crc64_rocksoft_generic.c
crct10dif_common.c
crct10dif_generic.c
cryptd.c
crypto_engine.c
crypto_null.c
crypto_user_base.c
crypto_user_stat.c
ctr.c
cts.c
curve25519-generic.c crypto: add __init/__exit annotations to init/exit funcs 2022-11-18 13:19:54 -08:00
deflate.c
des_generic.c
dh.c crypto: add __init/__exit annotations to init/exit funcs 2022-11-18 13:19:54 -08:00
dh_helper.c crypto: dh - split out deserialization code from crypto_dh_decode() 2022-11-18 13:19:50 -08:00
drbg.c
ecb.c
ecc.c
ecc.h
ecc_curve_defs.h
ecdh.c crypto: add __init/__exit annotations to init/exit funcs 2022-11-18 13:19:54 -08:00
ecdh_helper.c
ecdsa.c crypto: add __init/__exit annotations to init/exit funcs 2022-11-18 13:19:54 -08:00
ecdsasignature.asn1
echainiv.c
ecrdsa.c
ecrdsa_defs.h
ecrdsa_params.asn1
ecrdsa_pub_key.asn1
essiv.c
fcrypt.c
fips.c
gcm.c
geniv.c
gf128mul.c
ghash-generic.c
hash_info.c
hmac.c
internal.h
jitterentropy-kcapi.c
jitterentropy.c crypto: jitter - consider 32 LSB for APT 2023-02-05 09:40:21 +01:00
jitterentropy.h
keywrap.c
khazad.c
kpp.c crypto: kpp - provide support for KPP spawns 2022-11-18 13:19:49 -08:00
lrw.c
lz4.c
lz4hc.c
lzo-rle.c
lzo.c
md4.c
md5.c
memneq.c
michael_mic.c
nhpoly1305.c
ofb.c
pcbc.c
pcrypt.c crypto: pcrypt - Delay write to padata->info 2022-12-16 15:31:19 -03:00
poly1305_generic.c
proc.c
ripemd.h
rmd160.c
rng.c
rsa-pkcs1pad.c
rsa.c crypto: add __init/__exit annotations to init/exit funcs 2022-11-18 13:19:54 -08:00
rsa_helper.c
rsaprivkey.asn1
rsapubkey.asn1
scatterwalk.c
scompress.c
seed.c
seqiv.c
serpent_generic.c
sha1_generic.c
sha3_generic.c
sha256_generic.c
sha512_generic.c
shash.c
simd.c
skcipher.c
sm2.c crypto: add __init/__exit annotations to init/exit funcs 2022-11-18 13:19:54 -08:00
sm2signature.asn1
sm3_generic.c
sm4_generic.c
streebog_generic.c
tcrypt.c
tcrypt.h
tea.c
testmgr.c crypto: testmgr - disallow certain DRBG hash functions in FIPS mode 2023-01-27 16:51:47 +01:00
testmgr.h crypto: testmgr - add keygen tests for ffdheXYZ(dh) templates 2022-11-18 13:19:52 -08:00
twofish_common.c
twofish_generic.c
vmac.c
wp512.c
xcbc.c
xor.c
xts.c
xxhash_generic.c
zstd.c