openssl/crypto
Richard Levitte 9167a47f78 Adapt CRYPTO_secure_malloc() like CRYPTO_malloc()
In other words, make it raise ERR_R_MALLOC_FAILURE appropriately.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19301)
2022-10-05 14:02:02 +02:00
..
aes add build support for riscv32 aes zkn 2022-09-05 10:20:30 +10:00
aria Change loops conditions to make zero loop risk more obvious. 2022-05-24 14:11:20 +10:00
asn1 djgpp: Set TZ=UTC to convert UTC timestamp to time_t 2022-09-29 12:00:30 +02:00
async Update copyright year 2022-05-03 13:34:51 +01:00
bf Rename x86-32 assembly files from .s to .S. 2022-05-24 13:16:06 +10:00
bio ERR: replace remnant ECerr() and EVPerr() calls in crypto/ 2022-09-30 22:31:30 +02:00
bn Fix error propagatation in BN_check_prime() 2022-10-04 19:05:26 +11:00
buffer
camellia Rename x86-32 assembly files from .s to .S. 2022-05-24 13:16:06 +10:00
cast Rename x86-32 assembly files from .s to .S. 2022-05-24 13:16:06 +10:00
chacha Improve chacha20 perfomance on aarch64 by interleaving scalar with SVE/SVE2 2022-09-01 18:01:19 +10:00
cmac Fix the incorrect checks of EVP_CIPHER_CTX_set_key_length 2022-05-27 07:57:43 +02:00
cmp Fix missing null check 2022-09-30 22:42:17 +02:00
cms Clear incorrectly reported errors in d2i_CMS_ContentInfo 2022-09-23 11:14:12 +02:00
comp
conf stack.c: add missing direct error reporting and improve coding style 2022-09-16 10:07:15 +02:00
crmf CRMF: make create_popo_signature() check that pubkey and pkey match 2022-08-24 11:27:12 +02:00
ct libcrypto: remove reliance on struct timeval 2022-09-13 21:13:35 +10:00
des Add ROTATE inline RISC-V zbb/zbkb asm for DES 2022-08-15 12:04:19 +10:00
dh Coverity 1508532: out of bounds access 2022-08-23 18:02:57 +10:00
dsa Coverity: fix 1506297: negative returns 2022-07-01 16:36:21 +10:00
dso Update copyright year 2022-05-03 13:34:51 +01:00
ec ERR: replace remnant ECerr() and EVPerr() calls in crypto/ 2022-09-30 22:31:30 +02:00
encode_decode "Reserve" the method store when constructing methods 2022-07-20 07:28:17 +01:00
engine Add deprecation macro for 3.1 and deprecate OPENSSL_LH_stats 2022-06-22 09:36:14 +02:00
err err_set_debug(): Prevent possible recursion on malloc failure 2022-10-04 15:34:15 +02:00
ess
evp Ensure we call the cleanup() function when cleaning an EVP_CIPHER_CTX 2022-10-03 15:01:12 +01:00
ffc ossl_ffc_params_copy: Copy the keylength too 2022-07-18 08:06:17 +01:00
hmac
hpke Add HPKE DHKEM provider support for EC, X25519 and X448. 2022-09-23 09:24:47 +01:00
http OSSL_HTTP_REQ_CTX_nbio: add support for partial content-type string matching 2022-08-23 08:56:07 +02:00
idea
kdf
lhash Add deprecation macro for 3.1 and deprecate OPENSSL_LH_stats 2022-06-22 09:36:14 +02:00
md2
md4
md5 Rename x86-32 assembly files from .s to .S. 2022-05-24 13:16:06 +10:00
mdc2
modes Fix GHASH-ASM implementation on s390x 2022-08-09 10:52:08 +01:00
objects Add Content Type OID for RPKI id-ct-signedTAL 2022-10-03 11:49:04 +11:00
ocsp Update copyright year 2022-05-03 13:34:51 +01:00
pem Fixes segfault occurrence in PEM_write() 2022-07-29 12:39:02 +10:00
perlasm x86asm: Generate endbr32 based on __CET__. 2022-05-24 13:16:06 +10:00
pkcs7 X509_STORE_CTX_set_default(): improve error handling, also in its use 2022-09-16 10:07:15 +02:00
pkcs12 Allow PKCS12 export to set arbitrary bag attributes 2022-09-23 17:40:02 +01:00
poly1305 Generate the preprocessed .s files for chacha and poly 1305 on ia64 2022-05-27 08:10:49 +02:00
property property: make cache flushing slight less deterministic 2022-08-10 12:03:54 +01:00
rand Pre-declare all core dispatch table functions, and fix the internal ones 2022-07-13 07:56:51 +02:00
rc2
rc4 Rename x86-32 assembly files from .s to .S. 2022-05-24 13:16:06 +10:00
rc5 Rename x86-32 assembly files from .s to .S. 2022-05-24 13:16:06 +10:00
ripemd Rename x86-32 assembly files from .s to .S. 2022-05-24 13:16:06 +10:00
rsa Fix memory leak in ossl_rsa_fromdata. 2022-06-28 17:07:53 +02:00
seed
sha Fix SHA, SHAKE, and KECCAK ASM flag passing 2022-07-11 09:28:19 +10:00
siphash Update copyright year 2022-05-03 13:34:51 +01:00
sm2 Remove duplicated #include headers 2022-05-04 13:46:10 +10:00
sm3 Add ROTATE inline asm support for SM3 2022-06-22 12:46:50 +02:00
sm4 Update copyright year 2022-05-03 13:34:51 +01:00
srp
stack stack.c: add missing direct error reporting and improve coding style 2022-09-16 10:07:15 +02:00
store "Reserve" the method store when constructing methods 2022-07-20 07:28:17 +01:00
ts libcrypto: remove reliance on struct timeval 2022-09-13 21:13:35 +10:00
txt_db
ui Fix the check of UI_method_set_ex_data 2022-05-27 07:57:43 +02:00
whrlpool Rename x86-32 assembly files from .s to .S. 2022-05-24 13:16:06 +10:00
x509 x509_vpm.c: add missing direct error reporting and improve coding style 2022-09-16 10:07:15 +02:00
alphacpuid.pl
arm64cpuid.pl Update copyright year 2022-05-03 13:34:51 +01:00
arm_arch.h Fix aarch64 signed bit shift issue found by UBSAN 2022-07-19 12:14:33 +02:00
armcap.c armcap: skip probing _armv7_tick() 2022-10-04 11:56:47 +01:00
armv4cpuid.pl
asn1_dsa.c
bsearch.c
build.info Add HPKE DHKEM provider support for EC, X25519 and X448. 2022-09-23 09:24:47 +01:00
c64xpluscpuid.pl
context.c Update copyright year 2022-05-03 13:34:51 +01:00
core_algorithm.c "Reserve" the method store when constructing methods 2022-07-20 07:28:17 +01:00
core_fetch.c "Reserve" the method store when constructing methods 2022-07-20 07:28:17 +01:00
core_namemap.c Add deprecation macro for 3.1 and deprecate OPENSSL_LH_stats 2022-06-22 09:36:14 +02:00
cpt_err.c
cpuid.c Update copyright year 2022-05-03 13:34:51 +01:00
cryptlib.c Update copyright year 2022-05-03 13:34:51 +01:00
ctype.c tolower: refine the tolower code to avoid a memory access 2022-05-23 09:51:28 +10:00
cversion.c
der_writer.c der_writer: Use uint32_t instead of long. 2022-06-27 10:58:40 +02:00
dllmain.c Update copyright year 2022-05-03 13:34:51 +01:00
ebcdic.c
ex_data.c
getenv.c Update copyright year 2022-05-03 13:34:51 +01:00
ia64cpuid.S
info.c Update copyright year 2022-05-03 13:34:51 +01:00
init.c Avoid reusing the init_lock for a different purpose 2022-06-15 09:45:51 +02:00
initthread.c Update copyright year 2022-05-03 13:34:51 +01:00
LPdir_nyi.c
LPdir_unix.c Update copyright year 2022-05-03 13:34:51 +01:00
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_sec.c Adapt CRYPTO_secure_malloc() like CRYPTO_malloc() 2022-10-05 14:02:02 +02:00
mem.c ERR: Make CRYPTO_malloc() and friends report ERR_R_MALLOC_FAILURE 2022-08-27 09:40:09 +02:00
mips_arch.h
o_dir.c Update copyright year 2022-05-03 13:34:51 +01:00
o_fopen.c Update copyright year 2022-05-03 13:34:51 +01:00
o_init.c Update copyright year 2022-05-03 13:34:51 +01:00
o_str.c strcasecmp: implement strcasecmp and strncasecmp 2022-05-23 09:51:28 +10:00
o_time.c
packet.c QUIC Frame Encoding and Decoding Functions 2022-07-29 16:28:37 +10:00
param_build_set.c Update copyright year 2022-05-03 13:34:51 +01:00
param_build.c Update copyright year 2022-05-03 13:34:51 +01:00
params_dup.c Update copyright year 2022-05-03 13:34:51 +01:00
params_from_text.c
params.c Update copyright year 2022-05-03 13:34:51 +01:00
pariscid.pl
passphrase.c Update copyright year 2022-05-03 13:34:51 +01:00
ppccap.c Update copyright year 2022-05-03 13:34:51 +01:00
ppccpuid.pl Update copyright year 2022-05-03 13:34:51 +01:00
provider_child.c For child libctx / provider, don't count self-references in parent 2022-05-05 15:06:11 +02:00
provider_conf.c Update copyright year 2022-05-03 13:34:51 +01:00
provider_core.c Coverity 1503321 & 1503327: dereference after null check 2022-07-20 16:22:00 +10:00
provider_local.h
provider_predefined.c
provider.c
punycode.c
quic_vlint.c QUIC wire format support 2022-05-27 08:00:52 +02:00
README-sparse_array.md
riscv32cpuid.pl Add RISC-V 32 cpuid support 2022-09-05 10:20:30 +10:00
riscv64cpuid.pl Add basic RISC-V cpuid and OPENSSL_riscvcap 2022-05-19 16:32:49 +10:00
riscvcap.c Add basic RISC-V cpuid and OPENSSL_riscvcap 2022-05-19 16:32:49 +10:00
s390x_arch.h Update copyright year 2022-05-03 13:34:51 +01:00
s390xcap.c
s390xcpuid.pl
self_test_core.c Update copyright year 2022-05-03 13:34:51 +01:00
sparccpuid.S
sparcv9cap.c
sparse_array.c Coverity 1507376: Dereference after null check 2022-07-22 14:42:13 +02:00
threads_lib.c
threads_none.c CRYPTO_THREAD_lock_new(): Avoid infinite recursion on allocation error 2022-10-05 10:20:10 +11:00
threads_pthread.c CRYPTO_THREAD_lock_new(): Avoid infinite recursion on allocation error 2022-10-05 10:20:10 +11:00
threads_win.c CRYPTO_THREAD_lock_new(): Avoid infinite recursion on allocation error 2022-10-05 10:20:10 +11:00
time.c time: move OSSL_TIME to libcrypto 2022-09-13 21:13:22 +10:00
trace.c Add tests for trace_api. 2022-09-16 08:31:56 +02:00
uid.c
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl