diff options
author | David Howells <dhowells@redhat.com> | 2016-04-06 16:13:33 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-04-06 16:13:33 +0100 |
commit | 8068a819d71f458b04044560643f0185a751aeb2 (patch) | |
tree | b62fe75c95c5fd3bf9b5642216ea0fb33f815698 /crypto/gf128mul.c | |
parent | a811d91209ff06000ba0d39a80d9d0e1efc6e88e (diff) | |
download | linux-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 '')
0 files changed, 0 insertions, 0 deletions