summaryrefslogtreecommitdiff
path: root/crypto/tcrypt.h
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-09-20 14:18:38 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-09-28 12:46:26 +0800
commita537a1a94b5d92963a248c1fbdeff4ec08cd5e73 (patch)
tree4b4db54dc94b31b1856e0cc7b69735c87250ffe8 /crypto/tcrypt.h
parentcbe9705dc03d7b1d815ff6025b59f902576a1a67 (diff)
downloadlinux-crypto-a537a1a94b5d92963a248c1fbdeff4ec08cd5e73.tar.gz
linux-crypto-a537a1a94b5d92963a248c1fbdeff4ec08cd5e73.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 f0bfee1b..d09ea8b1 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};