Convert RSA and ECDSA key to the libcrypto EVP_PKEY API. DSA remains
authordjm <djm@openbsd.org>
Thu, 15 Aug 2024 00:51:51 +0000 (00:51 +0000)
committerdjm <djm@openbsd.org>
Thu, 15 Aug 2024 00:51:51 +0000 (00:51 +0000)
commit5411e7691687441b2e28282ca3a1c531c6b949c4
tree76e4c9da18437489b8f9e1abad843b5f2bc500bf
parentb27f9b3934da7a5f7a8fb4f0a118688fb3c79886
Convert RSA and ECDSA key to the libcrypto EVP_PKEY API. DSA remains
unconverted as it will be removed within six months.

Based on patches originally from Dmitry Belyavskiy, but significantly
reworked based on feedback from Bob Beck, Joel Sing and especially
Theo Buehler (apologies to anyone I've missed).

ok tb@
14 files changed:
usr.bin/ssh/packet.c
usr.bin/ssh/packet.h
usr.bin/ssh/ssh-ecdsa-sk.c
usr.bin/ssh/ssh-ecdsa.c
usr.bin/ssh/ssh-keygen.c
usr.bin/ssh/ssh-pkcs11-client.c
usr.bin/ssh/ssh-pkcs11-helper.c
usr.bin/ssh/ssh-pkcs11.c
usr.bin/ssh/ssh-rsa.c
usr.bin/ssh/ssh-sk.c
usr.bin/ssh/sshbuf-getput-crypto.c
usr.bin/ssh/sshbuf.h
usr.bin/ssh/sshkey.c
usr.bin/ssh/sshkey.h