Re: [PATCH v5 1/1] crypto: caam/rng: Add support for PRNG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 29, 2022 at 01:48:08PM +0200, meenakshi.aggarwal@xxxxxxx wrote:
> From: Meenakshi Aggarwal <meenakshi.aggarwal@xxxxxxx>
> 
> Add support for random number generation using PRNG
> mode of CAAM and expose the interface through crypto API.
> 
> According to the RM, the HW implementation of the DRBG follows
> NIST SP 800-90A specification for DRBG_Hash SHA-256 function
> 
> Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@xxxxxxx>
> Reviewed-by: Horia Geant <horia.geanta@xxxxxxx>
> ---
>  drivers/crypto/caam/Kconfig    |   8 ++
>  drivers/crypto/caam/Makefile   |   1 +
>  drivers/crypto/caam/caamprng.c | 235 +++++++++++++++++++++++++++++++++
>  drivers/crypto/caam/intern.h   |  15 +++
>  drivers/crypto/caam/jr.c       |   3 +-
>  5 files changed, 261 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/crypto/caam/caamprng.c

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux