crypto: drbg - Add DRBG test code to testmgr
authorStephan Mueller <smueller@chronox.de>
Sat, 31 May 2014 15:25:36 +0000 (17:25 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Jun 2014 13:26:10 +0000 (21:26 +0800)
commit64d1cdfbe20c50877576045145313c9b062c50f7
tree6aa5ccf5f54dd8bdc69ed2b1a87c49b71a1942b5
parent3332ee2a17b1bd69e4602e2d6ba1b07edb0c9a24
crypto: drbg - Add DRBG test code to testmgr

The DRBG test code implements the CAVS test approach.

As discussed for the test vectors, all DRBG types are covered with
testing. However, not every backend cipher is covered with testing. To
prevent the testmgr from logging missing testing, the NULL test is
registered for all backend ciphers not covered with specific test cases.

All currently implemented DRBG types and backend ciphers are defined
in SP800-90A. Therefore, the fips_allowed flag is set for all.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
This page took 0.07263 seconds and 5 git commands to generate.