diff options
author | Jack Lloyd <jack.lloyd@ribose.com> | 2018-08-14 15:16:36 -0400 |
---|---|---|
committer | Jack Lloyd <jack.lloyd@ribose.com> | 2018-08-14 15:16:36 -0400 |
commit | d4803f134fc485da2d538e759d184f961adee76f (patch) | |
tree | 008fe3f9e08ee2f02147c0c42c4338fb637b958d /crypto | |
parent | 4dbf285573d5254e5169be44e45c7685a336b6e8 (diff) | |
download | portable-d4803f134fc485da2d538e759d184f961adee76f.tar.gz portable-d4803f134fc485da2d538e759d184f961adee76f.tar.bz2 portable-d4803f134fc485da2d538e759d184f961adee76f.zip |
Add portable scaffold for SM3
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 2 | ||||
-rw-r--r-- | crypto/Makefile.am | 5 |
2 files changed, 7 insertions, 0 deletions
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( | |||
424 | evp/m_sha1.c | 424 | evp/m_sha1.c |
425 | evp/m_sigver.c | 425 | evp/m_sigver.c |
426 | evp/m_streebog.c | 426 | evp/m_streebog.c |
427 | evp/m_sm3.c | ||
427 | evp/m_wp.c | 428 | evp/m_wp.c |
428 | evp/names.c | 429 | evp/names.c |
429 | evp/p5_crpt.c | 430 | evp/p5_crpt.c |
@@ -558,6 +559,7 @@ set( | |||
558 | sha/sha1dgst.c | 559 | sha/sha1dgst.c |
559 | sha/sha256.c | 560 | sha/sha256.c |
560 | sha/sha512.c | 561 | sha/sha512.c |
562 | sm3/sm3.c | ||
561 | stack/stack.c | 563 | stack/stack.c |
562 | ts/ts_asn1.c | 564 | ts/ts_asn1.c |
563 | ts/ts_conf.c | 565 | 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 | |||
614 | libcrypto_la_SOURCES += evp/m_sha1.c | 614 | libcrypto_la_SOURCES += evp/m_sha1.c |
615 | libcrypto_la_SOURCES += evp/m_sigver.c | 615 | libcrypto_la_SOURCES += evp/m_sigver.c |
616 | libcrypto_la_SOURCES += evp/m_streebog.c | 616 | libcrypto_la_SOURCES += evp/m_streebog.c |
617 | libcrypto_la_SOURCES += evp/m_sm3.c | ||
617 | libcrypto_la_SOURCES += evp/m_wp.c | 618 | libcrypto_la_SOURCES += evp/m_wp.c |
618 | libcrypto_la_SOURCES += evp/names.c | 619 | libcrypto_la_SOURCES += evp/names.c |
619 | libcrypto_la_SOURCES += evp/p5_crpt.c | 620 | libcrypto_la_SOURCES += evp/p5_crpt.c |
@@ -806,6 +807,10 @@ libcrypto_la_SOURCES += sha/sha256.c | |||
806 | libcrypto_la_SOURCES += sha/sha512.c | 807 | libcrypto_la_SOURCES += sha/sha512.c |
807 | noinst_HEADERS += sha/sha_locl.h | 808 | noinst_HEADERS += sha/sha_locl.h |
808 | 809 | ||
810 | # sm3 | ||
811 | libcrypto_la_SOURCES += sm3/sm3.c | ||
812 | noinst_HEADERS += sm3/sm3_locl.h | ||
813 | |||
809 | # stack | 814 | # stack |
810 | libcrypto_la_SOURCES += stack/stack.c | 815 | libcrypto_la_SOURCES += stack/stack.c |
811 | 816 | ||