]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0c15164ec92cbe406ffec42106e043ac7ce2109
tree10b540569a2aa47cb27da2e6f8cd6670dda4edbf
parent1f3e30b5a2624c49f391e2b8e2b4489348430689
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