]> git.ipfire.org Git - thirdparty/nettle.git/commit
testsuite: add test for SM3 hash function
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Mon, 29 Nov 2021 12:32:34 +0000 (20:32 +0800)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 1 Dec 2021 19:24:52 +0000 (20:24 +0100)
commite2edd9bea1b661e1b60cb74b4461e88929edab0b
tree8c1b5bed0b2340737cba9fda9bcff134cc958986
parentb72886e515b40d7374eb1279bc21914126202eb7
testsuite: add test for SM3 hash function

Add a testuite for SM3 hash function. Test vectors are based on:
https://datatracker.ietf.org/doc/html/draft-shen-sm3-hash-01

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
testsuite/.gitignore
testsuite/Makefile.in
testsuite/sm3-test.c [new file with mode: 0644]