]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: testmgr - Add GCM/CCM mode test of SM4 algorithm
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Fri, 13 Aug 2021 07:55:07 +0000 (15:55 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 21 Aug 2021 07:44:57 +0000 (15:44 +0800)
commit6c99bee966672f9296c6520f253f0e7a9b8067a5
tree1f37204297096029a4827c0d505f6244a581a9ea
parent8e610c3d87e1cfca5f5c3c93d6e3aed561192536
crypto: testmgr - Add GCM/CCM mode test of SM4 algorithm

The GCM/CCM mode of the SM4 algorithm is defined in the rfc 8998
specification, and the test case data also comes from rfc 8998.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
crypto/testmgr.h