]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KEYS: Store public key algo ID in public_key struct
authorDavid Howells <dhowells@redhat.com>
Tue, 15 Jan 2013 15:33:33 +0000 (15:33 +0000)
committerDavid Howells <dhowells@redhat.com>
Sat, 19 Jan 2013 01:05:18 +0000 (01:05 +0000)
commit1dee1e96318ec7bb580be319e12c93105397c4cd
tree92f060bb7d30a4d54f051036c79fc46667ed58c6
parent2e131b3e39d4e9927f13251c78ee885e1fe89c22
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