1
1
Anderson Toshiyuki Sasaki 76f9808eb2 auth, pki: Calculate hash internally when signing/verifying
This makes pki_do_sign() and pki_signature_verify() to receive the
original input instead of the pre-calculated hash.  The hash is then
calculated internally.

The hash to be used inside the signature is decided earlier, when all
the information about the signature to be generated/verified is
available.

Simplify ssh_pki_do_sign() and ssh_srv_pki_do_sign_sessionid().

The tests were modified to use pki_do_sign() instead of
pki_do_sign_hash().

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-05-13 16:37:51 +02:00
..
2016-02-03 09:01:29 +01:00
2009-05-04 22:30:21 +00:00
2010-05-17 20:08:11 +02:00
2008-03-17 02:31:22 +00:00
2018-10-19 17:42:55 +02:00
2009-11-05 18:18:35 +01:00
2008-03-17 02:31:22 +00:00
2019-04-17 10:21:42 +02:00