HomePhabricator

pki: Refactor ssh_pki_do_sign()

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Apr 9 2019, 7:00 PM.

Description

pki: Refactor ssh_pki_do_sign()

Added ECDSA key types to ssh_key_type_to_hash(). Refactor
ssh_pki_do_sign() without behaviour changes.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnMay 13 2019, 4:37 PM
Parents
rLIBSSH5f7a3c5c66a7: wrapper: Make sha{1, 256, 384, 512}() input const
Branches
Unknown
Tags
Unknown