diff options
author | tb <> | 2022-01-10 12:10:26 +0000 |
---|---|---|
committer | tb <> | 2022-01-10 12:10:26 +0000 |
commit | 875eb616f98cd0720501dc97ee72ed96343b0b33 (patch) | |
tree | ba8a46237cda314ddd3da47248b453e7613bb73a /src/lib/libssl/tls13_client.c | |
parent | 7f7aefb469a9916b1d914a9fabaed99bb909ef8d (diff) | |
download | openbsd-875eb616f98cd0720501dc97ee72ed96343b0b33.tar.gz openbsd-875eb616f98cd0720501dc97ee72ed96343b0b33.tar.bz2 openbsd-875eb616f98cd0720501dc97ee72ed96343b0b33.zip |
Prepare to provide EVP_PKEY_{public,param}_check
This implements checking of a public key and of key generation
parameters for DH and EC keys. With the same logic and setters
and const quirks as for EVP_PKEY_check().
There are a couple of quirks: For DH no default EVP_PKEY_check()
is implemented, instead EVP_PKEY_param_check() calls DH_check_ex()
even though DH_param_check_ex() was added for this purpose.
EVP_PKEY_public_check() for EC curves also checks the private key
if present.
ok inoguchi jsing
Diffstat (limited to 'src/lib/libssl/tls13_client.c')
0 files changed, 0 insertions, 0 deletions