Re: [PATCH v2 03/14] crypto: Fix the logic to calculate hash with authattributes set

2020-12-21 Thread Heinrich Schuchardt
On 12/21/20 12:43 PM, Sughosh Ganu wrote: RFC 2315 Section 9.3 describes the message digesting process. The digest calculated depends on whether the authenticated attributes are present. In case of a scenario where the authenticated attributes are present, the message digest that gets signed and

[PATCH v2 03/14] crypto: Fix the logic to calculate hash with authattributes set

2020-12-21 Thread Sughosh Ganu
RFC 2315 Section 9.3 describes the message digesting process. The digest calculated depends on whether the authenticated attributes are present. In case of a scenario where the authenticated attributes are present, the message digest that gets signed and is part of the pkcs7 message is computed fro