summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorStephan Mueller2014-05-31 17:24:38 +0200
committerHerbert Xu2014-06-20 15:26:10 +0200
commit3332ee2a17b1bd69e4602e2d6ba1b07edb0c9a24 (patch)
tree956c2410ea43e60e24c4445cb857798011a3a326 /crypto/testmgr.c
parentcrypto: drbg - compile the DRBG code (diff)
downloadkernel-qcow2-linux-3332ee2a17b1bd69e4602e2d6ba1b07edb0c9a24.tar.gz
kernel-qcow2-linux-3332ee2a17b1bd69e4602e2d6ba1b07edb0c9a24.tar.xz
kernel-qcow2-linux-3332ee2a17b1bd69e4602e2d6ba1b07edb0c9a24.zip
crypto: drbg - DRBG testmgr test vectors
All types of the DRBG (CTR, HMAC, Hash) are covered with test vectors. In addition, all permutations of use cases of the DRBG are covered: * with and without predition resistance * with and without additional information string * with and without personalization string As the DRBG implementation is agnositc of the specific backend cipher, only test vectors for one specific backend cipher is used. For example: the Hash DRBG uses the same code paths irrespectively of using SHA-256 or SHA-512. Thus, the test vectors for SHA-256 cover the testing of all DRBG code paths of SHA-512. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions