From d4803f134fc485da2d538e759d184f961adee76f Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 14 Aug 2018 15:16:36 -0400 Subject: Add portable scaffold for SM3 --- crypto/CMakeLists.txt | 2 ++ crypto/Makefile.am | 5 +++++ 2 files changed, 7 insertions(+) (limited to 'crypto') diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 90e127e..c394360 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -424,6 +424,7 @@ set( evp/m_sha1.c evp/m_sigver.c evp/m_streebog.c + evp/m_sm3.c evp/m_wp.c evp/names.c evp/p5_crpt.c @@ -558,6 +559,7 @@ set( sha/sha1dgst.c sha/sha256.c sha/sha512.c + sm3/sm3.c stack/stack.c ts/ts_asn1.c ts/ts_conf.c diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 3073342..492a30e 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am @@ -614,6 +614,7 @@ libcrypto_la_SOURCES += evp/m_ripemd.c libcrypto_la_SOURCES += evp/m_sha1.c libcrypto_la_SOURCES += evp/m_sigver.c libcrypto_la_SOURCES += evp/m_streebog.c +libcrypto_la_SOURCES += evp/m_sm3.c libcrypto_la_SOURCES += evp/m_wp.c libcrypto_la_SOURCES += evp/names.c libcrypto_la_SOURCES += evp/p5_crpt.c @@ -806,6 +807,10 @@ libcrypto_la_SOURCES += sha/sha256.c libcrypto_la_SOURCES += sha/sha512.c noinst_HEADERS += sha/sha_locl.h +# sm3 +libcrypto_la_SOURCES += sm3/sm3.c +noinst_HEADERS += sm3/sm3_locl.h + # stack libcrypto_la_SOURCES += stack/stack.c -- cgit v1.2.3-55-g6feb