crypto: crypto4xx - add prng crypto support
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 23 Dec 2018 01:16:13 +0000 (02:16 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Jan 2019 06:16:56 +0000 (14:16 +0800)
commitd072bfa4885354fff86aa1fb1dbc4f1533c9e0bf
tree10b540569a2aa47cb27da2e6f8cd6670dda4edbf
parent12b8567f6fa489c098024fc75caba2f6b1390a92
crypto: crypto4xx - add prng crypto support

This patch adds support for crypto4xx's ANSI X9.17 Annex C compliant
pseudo random number generator which provides a pseudo random source
for the purpose of generating  Initialization Vectors (IV's) for AES
algorithms to the Packet Engine and other pseudo random number
requirements.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c
drivers/crypto/amcc/crypto4xx_core.h
drivers/crypto/amcc/crypto4xx_reg_def.h