• Stephan Mueller's avatar
    crypto: drbg - Add DRBG test code to testmgr · 64d1cdfb
    Stephan Mueller authored
    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: default avatarStephan Mueller <smueller@chronox.de>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    64d1cdfb
testmgr.c 78.4 KB