diff options
author | David Howells <dhowells@redhat.com> | 2015-07-20 21:16:26 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2015-08-07 16:26:13 +0100 |
commit | 5170d3851b296e7423fe077e0ca534f0eac41611 (patch) | |
tree | c3b84a91e8595fb312b6429f4cb574c0941f7240 /crypto/arc4.c | |
parent | 35e18d75a466d0bbfc37782df86ad2dc2a77c3f5 (diff) | |
download | linux-crypto-5170d3851b296e7423fe077e0ca534f0eac41611.tar.gz linux-crypto-5170d3851b296e7423fe077e0ca534f0eac41611.zip |
PKCS#7: Allow detached data to be supplied for signature checking purposes
It is possible for a PKCS#7 message to have detached data. However, to verify
the signatures on a PKCS#7 message, we have to be able to digest the data.
Provide a function to supply that data. An error is given if the PKCS#7
message included embedded data.
This is used in a subsequent patch to supply the data to module signing where
the signature is in the form of a PKCS#7 message with detached data, whereby
the detached data is the module content that is signed.
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'crypto/arc4.c')
0 files changed, 0 insertions, 0 deletions