begin big refactor of sshkey
authordjm <djm@openbsd.org>
Fri, 28 Oct 2022 00:35:40 +0000 (00:35 +0000)
committerdjm <djm@openbsd.org>
Fri, 28 Oct 2022 00:35:40 +0000 (00:35 +0000)
commit9c1667dbc081149affbc803f063be8eb7668e2a1
tree8255ce856accfad682f6001817cfb9b71827582e
parent6db608c3f904b8362579a537a524113cba02c06d
begin big refactor of sshkey

Move keytype data and some of the type-specific code (allocation,
cleanup, etc) out into each key type's implementation. Subsequent
commits will move more, with the goal of having each key-*.c file
owning as much of its keytype's implementation as possible.

lots of feedback + ok markus@
usr.bin/ssh/ssh-dss.c
usr.bin/ssh/ssh-ecdsa-sk.c
usr.bin/ssh/ssh-ecdsa.c
usr.bin/ssh/ssh-ed25519-sk.c
usr.bin/ssh/ssh-ed25519.c
usr.bin/ssh/ssh-rsa.c
usr.bin/ssh/ssh-xmss.c
usr.bin/ssh/sshkey.c
usr.bin/ssh/sshkey.h