openssl/crypto/dh
Tomas Mraz 2c0f7d46b8 Replace size check with more meaningful pubkey check
It does not make sense to check the size because this
function can be used in other contexts than in TLS-1.3 and
the value might not be padded to the size of p.

However it makes sense to do the partial pubkey check because
there is no valid reason having the pubkey value outside the
1 < pubkey < p-1 bounds.

Fixes #15465

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17630)
2022-02-07 16:32:40 +01:00
..
build.info
dh_ameth.c Fix EVP todata and fromdata when used with selection of EVP_PKEY_PUBLIC_KEY. 2022-02-03 13:48:42 +01:00
dh_asn1.c
dh_backend.c Fix EVP todata and fromdata when used with selection of EVP_PKEY_PUBLIC_KEY. 2022-02-03 13:48:42 +01:00
dh_check.c
dh_depr.c
dh_err.c
dh_gen.c
dh_group_params.c Move e_os.h to include/internal 2022-02-05 05:31:09 +01:00
dh_kdf.c Move e_os.h to include/internal 2022-02-05 05:31:09 +01:00
dh_key.c Replace size check with more meaningful pubkey check 2022-02-07 16:32:40 +01:00
dh_lib.c
dh_local.h
dh_meth.c
dh_pmeth.c Update our EVP_PKEY_METHODs to get low level keys via public APIs 2021-07-22 13:52:46 +02:00
dh_prn.c
dh_rfc5114.c