]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48bb9d0438a037781d9d8800601d2341f0ae6473
tree6aa5ccf5f54dd8bdc69ed2b1a87c49b71a1942b5
parentf07ef2d2eab368f0e5414cc8a05772fdec546606
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