Re: [RESEND PATCH 05/10] crypto: sha256_generic: Export the Transform function
From: Eric Biggers
Date: Fri Jun 28 2019 - 01:09:56 EST
On Fri, Jun 28, 2019 at 09:57:40AM +0530, Keerthy wrote:
> The transform function can be used as is by other crypto
> drivers that need to transform the 256 bit key using cpu.
> Hence export it.
What is this supposed to mean? SHA-256 is an unkeyed hash function.
Also, you need to actually explain why this is needed. If your hardware
supports SHA-256, why do you need to use the C sha256_transform()?
- Eric