summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.h
diff options
context:
space:
mode:
authorGilad Ben-Yossef2018-09-20 15:18:38 +0200
committerHerbert Xu2018-09-28 06:46:26 +0200
commit95ba597367ddc26c1062c7ee9697c9aee53d04d0 (patch)
tree743244506ea01e21e1397ce2ebdb6eafa919f0f0 /crypto/tcrypt.h
parentcrypto: chtls - remove redundant null pointer check before kfree_skb (diff)
downloadkernel-qcow2-linux-95ba597367ddc26c1062c7ee9697c9aee53d04d0.tar.gz
kernel-qcow2-linux-95ba597367ddc26c1062c7ee9697c9aee53d04d0.tar.xz
kernel-qcow2-linux-95ba597367ddc26c1062c7ee9697c9aee53d04d0.zip
crypto: testmgr - update sm4 test vectors
Add additional test vectors from "The SM4 Blockcipher Algorithm And Its Modes Of Operations" draft-ribose-cfrg-sm4-10 and register cipher speed tests for sm4. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.h')
-rw-r--r--crypto/tcrypt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/tcrypt.h b/crypto/tcrypt.h
index f0bfee1bb293..d09ea8b10b4f 100644
--- a/crypto/tcrypt.h
+++ b/crypto/tcrypt.h
@@ -51,6 +51,7 @@ static struct cipher_speed_template des3_speed_template[] = {
* Cipher speed tests
*/
static u8 speed_template_8[] = {8, 0};
+static u8 speed_template_16[] = {16, 0};
static u8 speed_template_24[] = {24, 0};
static u8 speed_template_8_16[] = {8, 16, 0};
static u8 speed_template_8_32[] = {8, 32, 0};