Re: [PATCH] lib/crypto: support sha384/sha512 in x509/pkcs7

2022-04-11 Thread Tom Rini
On Tue, Mar 15, 2022 at 10:19:32AM -0700, Dhananjay Phadke wrote: > 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 certificate

Re: [PATCH] lib/crypto: support sha384/sha512 in x509/pkcs7

2022-03-18 Thread Ilias Apalodimas
On Fri, Mar 18, 2022 at 07:10:43AM -0700, Dhananjay Phadke wrote: > On 3/18/2022 12:44 AM, Ilias Apalodimas wrote: > > +cc Akashi-san who initially ported those. > > > > > > On Tue, 15 Mar 2022 at 19:19, Dhananjay Phadke > > wrote: > > > > > > Set digest_size SHA384 and SHA512 algorithms in pkc

Re: [PATCH] lib/crypto: support sha384/sha512 in x509/pkcs7

2022-03-18 Thread Dhananjay Phadke
On 3/18/2022 12:44 AM, Ilias Apalodimas wrote: +cc Akashi-san who initially ported those. On Tue, 15 Mar 2022 at 19:19, Dhananjay Phadke wrote: Set digest_size SHA384 and SHA512 algorithms in pkcs7 and x509, (not set by ported linux code, but needed by __UBOOT__ part). EFI_CAPSULE_AUTHENTIC

Re: [PATCH] lib/crypto: support sha384/sha512 in x509/pkcs7

2022-03-18 Thread Ilias Apalodimas
+cc Akashi-san who initially ported those. On Tue, 15 Mar 2022 at 19:19, Dhananjay Phadke wrote: > > 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 require

[PATCH] lib/crypto: support sha384/sha512 in x509/pkcs7

2022-03-15 Thread Dhananjay Phadke
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-of