summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2022-02-21 16:37:13 +0800
committerNiels Möller <nisse@lysator.liu.se>2022-08-18 10:16:30 +0200
commit52d80a7e099d669ef858aec07b66251440f1b934 (patch)
tree156768b2779d86948f2eb6b9cb808e365935780d
parentec5b48446a38c046fbd73941531a12a54e17a497 (diff)
downloadnettle-52d80a7e099d669ef858aec07b66251440f1b934.tar.gz
nettle-benchmark: bench SM4 symmetric algorithm
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
-rw-r--r--examples/nettle-benchmark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/nettle-benchmark.c b/examples/nettle-benchmark.c
index ba5dd284..802a7234 100644
--- a/examples/nettle-benchmark.c
+++ b/examples/nettle-benchmark.c
@@ -63,6 +63,7 @@
#include "sha1.h"
#include "sha2.h"
#include "sha3.h"
+#include "sm4.h"
#include "twofish.h"
#include "umac.h"
#include "cmac.h"
@@ -926,6 +927,7 @@ main(int argc, char **argv)
&nettle_des3,
&nettle_serpent256,
&nettle_twofish128, &nettle_twofish192, &nettle_twofish256,
+ &nettle_sm4,
NULL
};