linux/crypto/asymmetric_keys
David Howells b426beb6ee X.509: Embed public_key_signature struct and create filler function
Embed a public_key_signature struct in struct x509_certificate, eliminating
now unnecessary fields, and split x509_check_signature() to create a filler
function for it that attaches a digest of the signed data and an MPI that
represents the signature data.  x509_free_certificate() is then modified to
deal with these.

Whilst we're at it, export both x509_check_signature() and the new
x509_get_sig_params().

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Josh Boyer <jwboyer@redhat.com>
2013-09-25 17:17:00 +01:00
..
.gitignore X.509: Add a crypto key parser for binary (DER) X.509 certificates 2012-10-08 13:50:22 +10:30
asymmetric_keys.h
asymmetric_type.c KEYS: Asymmetric key pluggable data parsers 2012-10-08 13:50:13 +10:30
Kconfig KEYS: Move the algorithm pointer array from x509 to public_key.c 2013-09-25 15:51:07 +01:00
Makefile X.509: Add a crypto key parser for binary (DER) X.509 certificates 2012-10-08 13:50:22 +10:30
public_key.c KEYS: Split public_key_verify_signature() and make available 2013-09-25 17:17:00 +01:00
public_key.h KEYS: Split public_key_verify_signature() and make available 2013-09-25 17:17:00 +01:00
rsa.c RSA: Fix signature verification for shorter signatures 2012-10-08 13:50:17 +10:30
signature.c KEYS: Provide signature verification with an asymmetric key 2012-10-08 13:50:15 +10:30
x509_cert_parser.c X.509: Embed public_key_signature struct and create filler function 2013-09-25 17:17:00 +01:00
x509_parser.h X.509: Embed public_key_signature struct and create filler function 2013-09-25 17:17:00 +01:00
x509_public_key.c X.509: Embed public_key_signature struct and create filler function 2013-09-25 17:17:00 +01:00
x509_rsakey.asn1 X.509: Add a crypto key parser for binary (DER) X.509 certificates 2012-10-08 13:50:22 +10:30
x509.asn1 X.509: Add a crypto key parser for binary (DER) X.509 certificates 2012-10-08 13:50:22 +10:30