Skip to content

Commit

Permalink
crypto: drbg - DRBG testmgr test vectors
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
smuellerDD authored and herbertx committed Jun 20, 2014
1 parent 5bfcf65 commit 3332ee2
Showing 1 changed file with 843 additions and 0 deletions.
Loading

0 comments on commit 3332ee2

Please sign in to comment.