]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: kdf - Add key derivation self-test support code
authorStephan Müller <smueller@chronox.de>
Fri, 19 Nov 2021 06:55:33 +0000 (07:55 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Nov 2021 05:25:17 +0000 (16:25 +1100)
commitc3b829f643fe440e87ea5449285695578909a26e
treeb1669fdfdf052ed6212bd8a574f9e52571fe90d6
parent84b91015b57b0a2a2d967a2c54ed504a30611208
crypto: kdf - Add key derivation self-test support code

As a preparation to add the key derivation implementations, the
self-test data structure definition and the common test code is made
available.

The test framework follows the testing applied by the NIST CAVP test
approach.

The structure of the test code follows the implementations found in
crypto/testmgr.c|h. In case the KDF implementations will be made
available via a kernel crypto API templates, the test code is intended
to be merged into testmgr.c|h.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/internal/kdf_selftest.h [new file with mode: 0644]