linux/crypto/asymmetric_keys
David Howells 566a117a8b PKCS#7: Make the signature a pointer rather than embedding it
Point to the public_key_signature struct from the pkcs7_signed_info struct
rather than embedding it.  This makes the code consistent with the X.509
signature handling and makes it possible to have a common cleanup function.

We also save a copy of the digest in the signature without sharing the
memory with the crypto layer metadata.

Signed-off-by: David Howells <dhowells@redhat.com>
2016-04-06 16:13:33 +01:00
..
.gitignore
asymmetric_keys.h
asymmetric_type.c KEYS: Allow authentication data to be stored in an asymmetric key 2016-04-06 16:13:33 +01:00
Kconfig
Makefile
mscode.asn1
mscode_parser.c
pkcs7.asn1
pkcs7_key_type.c
pkcs7_parser.c PKCS#7: Make the signature a pointer rather than embedding it 2016-04-06 16:13:33 +01:00
pkcs7_parser.h PKCS#7: Make the signature a pointer rather than embedding it 2016-04-06 16:13:33 +01:00
pkcs7_trust.c PKCS#7: Make the signature a pointer rather than embedding it 2016-04-06 16:13:33 +01:00
pkcs7_verify.c PKCS#7: Make the signature a pointer rather than embedding it 2016-04-06 16:13:33 +01:00
public_key.c KEYS: Allow authentication data to be stored in an asymmetric key 2016-04-06 16:13:33 +01:00
signature.c KEYS: Add identifier pointers to public_key_signature struct 2016-04-06 16:13:33 +01:00
verify_pefile.c
verify_pefile.h
x509.asn1
x509_akid.asn1
x509_cert_parser.c X.509: Retain the key verification data 2016-04-06 16:13:33 +01:00
x509_parser.h X.509: Retain the key verification data 2016-04-06 16:13:33 +01:00
x509_public_key.c X.509: Retain the key verification data 2016-04-06 16:13:33 +01:00