summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authortb <>2019-03-17 17:42:37 +0000
committertb <>2019-03-17 17:42:37 +0000
commit83706f88f1f845458a32eb6c86da86d667e28f1b (patch)
treee7748056894786129bb207a2b1e279e8dd2d2eb9 /src/lib/libcrypto/Makefile
parent56a043ff1300b51e4e0c22533e5f1910d864f6b8 (diff)
downloadopenbsd-83706f88f1f845458a32eb6c86da86d667e28f1b.tar.gz
openbsd-83706f88f1f845458a32eb6c86da86d667e28f1b.tar.bz2
openbsd-83706f88f1f845458a32eb6c86da86d667e28f1b.zip
Add the SM4 block cipher from the Chinese standard GB/T 32907-2016.
This is an ISC licensed version based on the sources by Ribose Inc that were ported to OpenSSL in 2017. Patch from Daniel Wyatt with minor tweaks. ok inoguchi, jsing
Diffstat (limited to 'src/lib/libcrypto/Makefile')
-rw-r--r--src/lib/libcrypto/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile
index ef07324416..5d81193d80 100644
--- a/src/lib/libcrypto/Makefile
+++ b/src/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.32 2019/01/23 00:50:39 tb Exp $ 1# $OpenBSD: Makefile,v 1.33 2019/03/17 17:42:37 tb Exp $
2 2
3LIB= crypto 3LIB= crypto
4LIBREBUILD=y 4LIBREBUILD=y
@@ -166,6 +166,7 @@ SRCS+= e_old.c pmeth_lib.c pmeth_fn.c pmeth_gn.c m_sigver.c
166SRCS+= e_aes_cbc_hmac_sha1.c e_rc4_hmac_md5.c 166SRCS+= e_aes_cbc_hmac_sha1.c e_rc4_hmac_md5.c
167SRCS+= e_chacha.c evp_aead.c e_chacha20poly1305.c 167SRCS+= e_chacha.c evp_aead.c e_chacha20poly1305.c
168SRCS+= e_gost2814789.c m_gost2814789.c m_gostr341194.c m_streebog.c 168SRCS+= e_gost2814789.c m_gost2814789.c m_gostr341194.c m_streebog.c
169SRCS+= e_sm4.c
169SRCS+= m_md5_sha1.c 170SRCS+= m_md5_sha1.c
170 171
171# gost/ 172# gost/
@@ -239,6 +240,9 @@ SRCS+= sha1dgst.c sha1_one.c sha256.c sha512.c
239# sm3/ 240# sm3/
240SRCS+= sm3.c 241SRCS+= sm3.c
241 242
243# sm4/
244SRCS+= sm4.c
245
242# stack/ 246# stack/
243SRCS+= stack.c 247SRCS+= stack.c
244 248
@@ -319,6 +323,7 @@ SRCS+= pcy_cache.c pcy_node.c pcy_data.c pcy_map.c pcy_tree.c pcy_lib.c
319 ${LCRYPTO_SRC}/rsa \ 323 ${LCRYPTO_SRC}/rsa \
320 ${LCRYPTO_SRC}/sha \ 324 ${LCRYPTO_SRC}/sha \
321 ${LCRYPTO_SRC}/sm3 \ 325 ${LCRYPTO_SRC}/sm3 \
326 ${LCRYPTO_SRC}/sm4 \
322 ${LCRYPTO_SRC}/stack \ 327 ${LCRYPTO_SRC}/stack \
323 ${LCRYPTO_SRC}/threads \ 328 ${LCRYPTO_SRC}/threads \
324 ${LCRYPTO_SRC}/ts \ 329 ${LCRYPTO_SRC}/ts \
@@ -380,6 +385,7 @@ HDRS=\
380 ${LCRYPTO_SRC}/rsa/rsa.h \ 385 ${LCRYPTO_SRC}/rsa/rsa.h \
381 ${LCRYPTO_SRC}/sha/sha.h \ 386 ${LCRYPTO_SRC}/sha/sha.h \
382 ${LCRYPTO_SRC}/sm3/sm3.h \ 387 ${LCRYPTO_SRC}/sm3/sm3.h \
388 ${LCRYPTO_SRC}/sm4/sm4.h \
383 ${LCRYPTO_SRC}/stack/safestack.h \ 389 ${LCRYPTO_SRC}/stack/safestack.h \
384 ${LCRYPTO_SRC}/stack/stack.h \ 390 ${LCRYPTO_SRC}/stack/stack.h \
385 ${LCRYPTO_SRC}/ts/ts.h \ 391 ${LCRYPTO_SRC}/ts/ts.h \