diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-04-19 23:33:46 -0700 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-05-07 16:09:59 +0800 |
| commit | ddc4dedb9ba3c8eecbc8c050fffd46d1b7e75c21 (patch) | |
| tree | d9873c4421300070bee77c16161a86e3a9148e1c /tools/perf/scripts/python | |
| parent | 39a31ad9e2a5ed7e9c9c6f711dca96c8c8f5f26b (diff) | |
crypto: drbg - Fix misaligned writes in CTR_DRBG and HASH_DRBG
drbg_cpu_to_be32() is being used to do a plain write to a byte array,
which doesn't have any alignment guarantee. This can cause a misaligned
write. Replace it with the correct function, put_unaligned_be32().
Fixes: 72f3e00dd67e ("crypto: drbg - replace int2byte with cpu_to_be")
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
