PKCS#7: Digest the data in a signed-data message
authorDavid Howells <dhowells@redhat.com>
Tue, 1 Jul 2014 15:40:19 +0000 (16:40 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 8 Jul 2014 12:50:03 +0000 (13:50 +0100)
commit9f0d33146e2ae81342a493c579c0e0c1aa84a527
tree9b31262f91e15d69cf80ff014a52dfe6bdf8ab34
parent2e3fadbf730fd0d13c891d5e555af3e7f39ca3f4
PKCS#7: Digest the data in a signed-data message

Digest the data in a PKCS#7 signed-data message and attach to the
public_key_signature struct contained in the pkcs7_message struct.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
crypto/asymmetric_keys/Makefile
crypto/asymmetric_keys/pkcs7_verify.c [new file with mode: 0644]