KEYS: Store public key algo ID in public_key struct
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Aug 2013 15:15:24 +0000 (16:15 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 25 Sep 2013 16:17:00 +0000 (17:17 +0100)
commit67f7d60b3a08a3e3ec51c29c25767a9d9d0bd2b1
treefcd8b1dd651ed934878ef3cee7e9548bfba97540
parent206ce59a109f3b4bb352845bcd04f3cf504ae592
KEYS: Store public key algo ID in public_key struct

Store public key algo ID in public_key struct for reference purposes.  This
allows it to be removed from the x509_certificate struct and used to find a
default in public_key_verify_signature().

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Josh Boyer <jwboyer@redhat.com>
crypto/asymmetric_keys/x509_cert_parser.c
crypto/asymmetric_keys/x509_parser.h
crypto/asymmetric_keys/x509_public_key.c
include/crypto/public_key.h