summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@linux.ibm.com>2019-06-28 05:19:25 +0300
committerMimi Zohar <zohar@linux.ibm.com>2019-08-06 01:40:18 +0300
commit2a7bf671186eb5d1a47ef192aefbdf788f5b38fe (patch)
treea1a070a7a704b9d014b903094849d7a526c65c69 /crypto/asymmetric_keys
parentc8424e776b093280d3fdd104d850706b3b229ac8 (diff)
downloadlinux-2a7bf671186eb5d1a47ef192aefbdf788f5b38fe.tar.xz
PKCS#7: Refactor verify_pkcs7_signature()
IMA will need to verify a PKCS#7 signature which has already been parsed. For this reason, factor out the code which does that from verify_pkcs7_signature() into a new function which takes a struct pkcs7_message instead of a data buffer. Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> Cc: David Howells <dhowells@redhat.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions