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)
commit68039d605f7bb34ea6dbd4e099bf98599d52b0ac
tree1f37204297096029a4827c0d505f6244a581a9ea
parent7b3d52683b3a47c0ba1dfd6b5994a3a795b06972
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