diff options
author | miod <> | 2014-11-09 19:17:13 +0000 |
---|---|---|
committer | miod <> | 2014-11-09 19:17:13 +0000 |
commit | 12455d6eff265f95b0a7e20595630321799f50a2 (patch) | |
tree | 8f4747a1df4b007feca32e262b38052339c686c1 /src/lib/libcrypto/crypto | |
parent | a3c50c7d270773c83559454fd2b75ec6e04f43ab (diff) | |
download | openbsd-12455d6eff265f95b0a7e20595630321799f50a2.tar.gz openbsd-12455d6eff265f95b0a7e20595630321799f50a2.tar.bz2 openbsd-12455d6eff265f95b0a7e20595630321799f50a2.zip |
GOST crypto algorithms (well, most of them), ported from the removed GOST
engine to regular EVP citizens, contributed by Dmitry Eremin-Solenikov;
libcrypto bits only for now.
This is a verbatim import of Dmitry's work, and does not compile in this
state; the forthcoming commits will address these issues.
None of the GOST code is enabled in libcrypto yet, for it still gets
compiled with OPENSSL_NO_GOST defined. However, the public header gost.h
will be installed.
Diffstat (limited to 'src/lib/libcrypto/crypto')
-rw-r--r-- | src/lib/libcrypto/crypto/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto/Makefile b/src/lib/libcrypto/crypto/Makefile index cd32382081..0c4db18488 100644 --- a/src/lib/libcrypto/crypto/Makefile +++ b/src/lib/libcrypto/crypto/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.46 2014/07/28 17:57:18 tedu Exp $ | 1 | # $OpenBSD: Makefile,v 1.47 2014/11/09 19:17:11 miod Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | 4 | ||
@@ -154,6 +154,13 @@ SRCS+= evp_pkey.c evp_pbe.c p5_crpt.c p5_crpt2.c | |||
154 | SRCS+= e_old.c pmeth_lib.c pmeth_fn.c pmeth_gn.c m_sigver.c | 154 | SRCS+= e_old.c pmeth_lib.c pmeth_fn.c pmeth_gn.c m_sigver.c |
155 | SRCS+= e_aes_cbc_hmac_sha1.c e_rc4_hmac_md5.c | 155 | SRCS+= e_aes_cbc_hmac_sha1.c e_rc4_hmac_md5.c |
156 | SRCS+= e_chacha.c evp_aead.c e_chacha20poly1305.c | 156 | SRCS+= e_chacha.c evp_aead.c e_chacha20poly1305.c |
157 | #SRCS+= e_gost2814789.c m_gost2814789.c m_gostr341194.c m_streebog.c | ||
158 | |||
159 | # gost/ | ||
160 | #SRCS+= gost2814789.c gost89_keywrap.c gost89_params.c gost89imit_ameth.c | ||
161 | #SRCS+= gost89imit_pmeth.c gost_asn1.c gost_err.c gostr341001.c | ||
162 | #SRCS+= gostr341001_ameth.c gostr341001_key.c gostr341001_params.c | ||
163 | #SRCS+= gostr341001_pmeth.c gostr341194.c streebog.c | ||
157 | 164 | ||
158 | # hmac/ | 165 | # hmac/ |
159 | SRCS+= hmac.c hm_ameth.c hm_pmeth.c | 166 | SRCS+= hmac.c hm_ameth.c hm_pmeth.c |
@@ -285,6 +292,7 @@ SRCS+= v3_asid.c v3_addr.c | |||
285 | ${LCRYPTO_SRC}/engine \ | 292 | ${LCRYPTO_SRC}/engine \ |
286 | ${LCRYPTO_SRC}/err \ | 293 | ${LCRYPTO_SRC}/err \ |
287 | ${LCRYPTO_SRC}/evp \ | 294 | ${LCRYPTO_SRC}/evp \ |
295 | ${LCRYPTO_SRC}/gost \ | ||
288 | ${LCRYPTO_SRC}/hmac \ | 296 | ${LCRYPTO_SRC}/hmac \ |
289 | ${LCRYPTO_SRC}/idea \ | 297 | ${LCRYPTO_SRC}/idea \ |
290 | ${LCRYPTO_SRC}/krb5 \ | 298 | ${LCRYPTO_SRC}/krb5 \ |
@@ -346,6 +354,7 @@ HDRS=\ | |||
346 | crypto/engine/engine.h \ | 354 | crypto/engine/engine.h \ |
347 | crypto/err/err.h \ | 355 | crypto/err/err.h \ |
348 | crypto/evp/evp.h \ | 356 | crypto/evp/evp.h \ |
357 | crypto/gost/gost.h \ | ||
349 | crypto/hmac/hmac.h \ | 358 | crypto/hmac/hmac.h \ |
350 | crypto/idea/idea.h \ | 359 | crypto/idea/idea.h \ |
351 | crypto/krb5/krb5_asn.h \ | 360 | crypto/krb5/krb5_asn.h \ |