openssl/include/crypto
Tomas Mraz ba37b82045 dsa_check: Perform simple parameter check if seed is not available
Added primality check on p and q in the ossl_ffc_params_simple_validate().
Checking for p and q sizes in the default provider is made more
lenient.
Added two testcases for invalid parameters.

Fixes #13950

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14148)
2021-02-18 11:02:26 +01:00
..
__DECC_INCLUDE_EPILOGUE.H
__DECC_INCLUDE_PROLOGUE.H
aes_platform.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
aria.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
asn1_dsa.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
asn1.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
asn1err.h Update copyright year 2020-11-26 14:18:57 +00:00
async.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
asyncerr.h Update copyright year 2020-11-26 14:18:57 +00:00
bioerr.h Update copyright year 2020-11-26 14:18:57 +00:00
bn_conf.h.in include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
bn_dh.h
bn_srp.h
bn.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
bnerr.h Update copyright year 2020-11-26 14:18:57 +00:00
buffererr.h Update copyright year 2020-11-26 14:18:57 +00:00
chacha.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
cmll_platform.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
cmperr.h Update copyright year 2020-11-26 14:18:57 +00:00
cms.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
cmserr.h Update copyright year 2020-11-26 14:18:57 +00:00
comperr.h Update copyright year 2020-11-26 14:18:57 +00:00
conferr.h Update copyright year 2020-11-26 14:18:57 +00:00
crmferr.h Update copyright year 2020-11-26 14:18:57 +00:00
cryptlib.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
cryptoerr.h openssl_hexstr2buf_sep(): Prevent misleading 'malloc failure' errors on short input 2020-12-10 15:19:55 +01:00
cterr.h Update copyright year 2020-11-26 14:18:57 +00:00
ctype.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
decoder.h Rename OSSL_ENCODER_CTX_new_by_EVP_PKEY and OSSL_DECODER_CTX_new_by_EVP_PKEY 2021-02-17 15:26:12 +01:00
decodererr.h Update copyright year 2020-11-26 14:18:57 +00:00
des_platform.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
dh.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
dherr.h Update copyright year 2020-11-26 14:18:57 +00:00
dsa.h dsa_check: Perform simple parameter check if seed is not available 2021-02-18 11:02:26 +01:00
dsaerr.h Update copyright year 2020-11-26 14:18:57 +00:00
dso_conf.h.in include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
ec.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
ecerr.h Update copyright year 2020-11-26 14:18:57 +00:00
ecx.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
encoder.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
encodererr.h Update copyright year 2020-11-26 14:18:57 +00:00
engine.h
engineerr.h Update copyright year 2020-11-26 14:18:57 +00:00
err.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
ess.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
esserr.h Update copyright year 2020-11-26 14:18:57 +00:00
evp.h Implement EVP_PKEY_param_check_quick() and use it in libssl 2021-02-15 14:17:36 +10:00
evperr.h Don't overflow the output length in EVP_CipherUpdate calls 2021-02-16 11:40:12 +00:00
httperr.h Update copyright year 2020-11-26 14:18:57 +00:00
lhash.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
md32_common.h
modes.h
objects.h
objectserr.h Update copyright year 2020-11-26 14:18:57 +00:00
ocsperr.h Update copyright year 2020-11-26 14:18:57 +00:00
pem.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
pemerr.h Update copyright year 2020-11-26 14:18:57 +00:00
pkcs7.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
pkcs7err.h Update copyright year 2020-11-26 14:18:57 +00:00
pkcs12err.h Update copyright year 2020-11-26 14:18:57 +00:00
poly1305.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
punycode.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
rand_pool.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
rand.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
randerr.h Update copyright year 2020-11-26 14:18:57 +00:00
rsa.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
rsaerr.h Update copyright year 2020-11-26 14:18:57 +00:00
security_bits.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
sha.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
siphash.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
siv.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
sm2.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
sm2err.h ERR: Rebuild all generated error headers and source files 2021-02-05 14:09:16 +01:00
sm4.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
sparse_array.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
store.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
storeerr.h Update copyright year 2020-11-26 14:18:57 +00:00
tserr.h Update copyright year 2020-11-26 14:18:57 +00:00
types.h Update copyright year 2021-01-28 13:54:57 +01:00
uierr.h Update copyright year 2020-11-26 14:18:57 +00:00
x509.h include/crypto: add a few missing #pragma once directives 2021-02-10 23:20:57 +01:00
x509err.h Update copyright year 2020-11-26 14:18:57 +00:00
x509v3err.h Update copyright year 2020-11-26 14:18:57 +00:00