Skip to content
Commit e146a2c1 authored by Dhananjay Phadke's avatar Dhananjay Phadke Committed by Tom Rini
Browse files

lib/crypto: support sha384/sha512 in x509/pkcs7



Set digest_size SHA384 and SHA512 algorithms in pkcs7 and x509,
(not set by ported linux code, but needed by __UBOOT__ part).

EFI_CAPSULE_AUTHENTICATE doesn't select these algos but required for
correctness if certificates contain sha384WithRSAEncryption or
sha512WithRSAEncryption OIDs.

Signed-off-by: default avatarDhananjay Phadke <dphadke@linux.microsoft.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent 067cfc1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment