summaryrefslogtreecommitdiff
path: root/usr.bin/mg/key.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-10 12:10:27 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-10 12:10:27 +0000
commit8dc970b0cd5ef0293839fe357b832a7e96fec1d1 (patch)
tree40d509e4969e0934447c3de624c4cfc8c4b2adb0 /usr.bin/mg/key.h
parent43a11fb6824f59ffa67a452b90c75e0fecf966ca (diff)
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 'usr.bin/mg/key.h')
0 files changed, 0 insertions, 0 deletions