summaryrefslogtreecommitdiff
path: root/modules/crypto/gc-sm3-tests
diff options
context:
space:
mode:
authorJia Zhang <qianyue.zj@alibaba-inc.com>2017-10-28 23:58:20 -0400
committerBruno Haible <bruno@clisp.org>2017-10-29 09:11:25 +0100
commite128f7fb2f0be16d96e5cc274bdd61bcb68313eb (patch)
tree9b919f579d914e1e6f1c402e305a13b3fff19da6 /modules/crypto/gc-sm3-tests
parent61f381e0f7daffe7bbef904070d5ca5f81fc2273 (diff)
downloadgnulib-e128f7fb2f0be16d96e5cc274bdd61bcb68313eb.tar.gz
New module: crypto/gc-sm3
* lib/gc.h: Declare SM3-related stuffs. * lib/gc-gnulib.c: Support sm3 in internal functions. * lib/gc-libgcrypt.c: Support sm3 with libgcrypt. * m4/gc-sm3.m4: m4 file for gc-sm3 module. * modules/crypto/gc-sm3: Define gc-sm3 module. * tests/test-gc-sm3.c: Implement SM3 test case with libgcrypt. * modules/crypto/gc-sm3-tests: Define gc-sm3 test module. * MODULES.html.sh: List gc-sm3 module.
Diffstat (limited to 'modules/crypto/gc-sm3-tests')
-rw-r--r--modules/crypto/gc-sm3-tests11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/crypto/gc-sm3-tests b/modules/crypto/gc-sm3-tests
new file mode 100644
index 0000000000..006f41f374
--- /dev/null
+++ b/modules/crypto/gc-sm3-tests
@@ -0,0 +1,11 @@
+Files:
+tests/test-gc-sm3.c
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-gc-sm3
+check_PROGRAMS += test-gc-sm3
+test_gc_sm3_LDADD = $(LDADD) @LIB_CRYPTO@