]> git.ipfire.org Git - thirdparty/openssl.git/commit
Move the open-coded aligned alloc in a separate file and use it in FIPS module
authorEugene Syromiatnikov <esyr@openssl.org>
Mon, 18 Aug 2025 12:24:23 +0000 (14:24 +0200)
committerNeil Horman <nhorman@openssl.org>
Tue, 16 Sep 2025 13:59:13 +0000 (09:59 -0400)
commit8e28f5c0b96c5d71b74cc8fdb2cfb5b3300f2708
tree5a2403f2d6f3110f1cf9176a1fbb7431a4560e5b
parent1be238a9721d172b611983b9638be475b8421b51
Move the open-coded aligned alloc in a separate file and use it in FIPS module

Factor the open-coded aligned allocation implementation in a separate
file and use it instead of just returning NULL in CRYPTO_aligned_alloc
implementation in the FIPS provider.

Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28295)
crypto/aligned_alloc.c [new file with mode: 0644]
crypto/build.info
crypto/mem.c
include/internal/mem_alloc_utils.h
providers/fips/fipsprov.c