aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@linux.ibm.com>2019-06-27 23:19:25 -0300
committerMimi Zohar <zohar@linux.ibm.com>2019-08-05 18:40:18 -0400
commit2a7bf671186eb5d1a47ef192aefbdf788f5b38fe (patch)
treea1a070a7a704b9d014b903094849d7a526c65c69 /crypto
parentMODSIGN: Export module signature definitions (diff)
downloadlinux-dev-2a7bf671186eb5d1a47ef192aefbdf788f5b38fe.tar.xz
linux-dev-2a7bf671186eb5d1a47ef192aefbdf788f5b38fe.zip
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')
0 files changed, 0 insertions, 0 deletions