diff options
author | Stephan Mueller <smueller@chronox.de> | 2014-05-31 15:44:17 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-06-20 21:26:08 +0800 |
commit | d7759a4400f38a92023e2ec43d478bd7586afc04 (patch) | |
tree | 4a9df4d0d56e23dc72081234e11ecefbed190cb4 /crypto/ablkcipher.c | |
parent | fea435ea9c689a9870450e616b2fce719402b961 (diff) | |
download | linux-crypto-d7759a4400f38a92023e2ec43d478bd7586afc04.tar.gz linux-crypto-d7759a4400f38a92023e2ec43d478bd7586afc04.zip |
crypto: drbg - SP800-90A Deterministic Random Bit Generator
This is a clean-room implementation of the DRBG defined in SP800-90A.
All three viable DRBGs defined in the standard are implemented:
* HMAC: This is the leanest DRBG and compiled per default
* Hash: The more complex DRBG can be enabled at compile time
* CTR: The most complex DRBG can also be enabled at compile time
The DRBG implementation offers the following:
* All three DRBG types are implemented with a derivation function.
* All DRBG types are available with and without prediction resistance.
* All SHA types of SHA-1, SHA-256, SHA-384, SHA-512 are available for
the HMAC and Hash DRBGs.
* All AES types of AES-128, AES-192 and AES-256 are available for the
CTR DRBG.
* A self test is implemented with drbg_healthcheck().
* The FIPS 140-2 continuous self test is implemented.
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions