summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/x509_cert_parser.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-04-06 16:13:33 +0100
committerDavid Howells <dhowells@redhat.com>2016-04-06 16:13:33 +0100
commit8068a819d71f458b04044560643f0185a751aeb2 (patch)
treeb62fe75c95c5fd3bf9b5642216ea0fb33f815698 /crypto/asymmetric_keys/x509_cert_parser.c
parenta811d91209ff06000ba0d39a80d9d0e1efc6e88e (diff)
downloadlinux-crypto-8068a819d71f458b04044560643f0185a751aeb2.tar.gz
linux-crypto-8068a819d71f458b04044560643f0185a751aeb2.zip
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>
Diffstat (limited to 'crypto/asymmetric_keys/x509_cert_parser.c')
0 files changed, 0 insertions, 0 deletions