]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: testmgr - fuzz AEADs against their generic implementation
authorEric Biggers <ebiggers@google.com>
Fri, 12 Apr 2019 04:57:41 +0000 (21:57 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Apr 2019 14:15:03 +0000 (22:15 +0800)
commit848a0652f865c9ed25a33042ea7e85ca164572c1
tree04b0d981b8010545897fbd90a8765b15d11f2f84
parent1ffbbe2d42ce8e6025cbeb0daeb5c200f1f53d1a
crypto: testmgr - fuzz AEADs against their generic implementation

When the extra crypto self-tests are enabled, test each AEAD algorithm
against its generic implementation when one is available.  This
involves: checking the algorithm properties for consistency, then
randomly generating test vectors using the generic implementation and
running them against the implementation under test.  Both good and bad
inputs are tested.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c