>From c63728b59f5916bb62e0053d8211f4d07dbaa771 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 19 Sep 2021 01:43:02 +0200 Subject: [PATCH 14/14] sm3-buffer tests: New module. * tests/test-sm3-buffer.c: Renamed from tests/test-sm3.c. * modules/crypto/sm3-buffer-tests: Renamed from modules/crypto/sm3-tests. Test tests/test-sm3-buffer.c instead of tests/test-sm3.c. --- ChangeLog | 6 ++++++ modules/crypto/sm3-buffer-tests | 11 +++++++++++ modules/crypto/sm3-tests | 11 ----------- tests/{test-sm3.c => test-sm3-buffer.c} | 0 4 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 modules/crypto/sm3-buffer-tests delete mode 100644 modules/crypto/sm3-tests rename tests/{test-sm3.c => test-sm3-buffer.c} (100%) diff --git a/ChangeLog b/ChangeLog index 074bd3caf..154678293 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2021-09-18 Bruno Haible + sm3-buffer tests: New module. + * tests/test-sm3-buffer.c: Renamed from tests/test-sm3.c. + * modules/crypto/sm3-buffer-tests: Renamed from + modules/crypto/sm3-tests. Test tests/test-sm3-buffer.c instead of + tests/test-sm3.c. + sm3-buffer: New module. * lib/sm3-stream.c: New file, extracted from lib/sm3.c. * lib/sm3.c: Don't include stdlib.h, unlocked-io.h. diff --git a/modules/crypto/sm3-buffer-tests b/modules/crypto/sm3-buffer-tests new file mode 100644 index 000000000..983a22d46 --- /dev/null +++ b/modules/crypto/sm3-buffer-tests @@ -0,0 +1,11 @@ +Files: +tests/test-sm3-buffer.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sm3-buffer +check_PROGRAMS += test-sm3-buffer +test_sm3_buffer_LDADD = $(LDADD) @LIB_CRYPTO@ diff --git a/modules/crypto/sm3-tests b/modules/crypto/sm3-tests deleted file mode 100644 index fac6ca6c2..000000000 --- a/modules/crypto/sm3-tests +++ /dev/null @@ -1,11 +0,0 @@ -Files: -tests/test-sm3.c - -Depends-on: - -configure.ac: - -Makefile.am: -TESTS += test-sm3 -check_PROGRAMS += test-sm3 -test_sm3_LDADD = $(LDADD) @LIB_CRYPTO@ diff --git a/tests/test-sm3.c b/tests/test-sm3-buffer.c similarity index 100% rename from tests/test-sm3.c rename to tests/test-sm3-buffer.c -- 2.25.1