summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/mips64
diff options
context:
space:
mode:
authormiod <>2014-11-17 20:31:22 +0000
committermiod <>2014-11-17 20:31:22 +0000
commit1327462df8cb4ae2dc056e0de53b4b4dc50f50fa (patch)
treec7f0941adc30ef30ee635c54679ff29bee78f41d /src/lib/libcrypto/arch/mips64
parent0a4cc04047e923468a974a735845ba9bdb958fda (diff)
downloadopenbsd-1327462df8cb4ae2dc056e0de53b4b4dc50f50fa.tar.gz
openbsd-1327462df8cb4ae2dc056e0de53b4b4dc50f50fa.tar.bz2
openbsd-1327462df8cb4ae2dc056e0de53b4b4dc50f50fa.zip
Add the Cammelia cipher to libcrypto.
There used to be a strong reluctance to provide this cipher in LibreSSL in the past, because the licence terms under which Cammelia was released by NTT were free-but-not-in-the-corners, by restricting the right to modify the source code, as well retaining the right to enforce their patents against anyone in the future. However, as stated in http://www.ntt.co.jp/news/news06e/0604/060413a.html , NTT changed its mind and made this code truly free. We only wish there had been more visibility of this, for we could have had enabled Cammelia earlier (-: Licence change noticed by deraadt@. General agreement from the usual LibreSSL suspects. Crank libcrypto.so minor version due to the added symbols.
Diffstat (limited to 'src/lib/libcrypto/arch/mips64')
-rw-r--r--src/lib/libcrypto/arch/mips64/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/arch/mips64/Makefile.inc b/src/lib/libcrypto/arch/mips64/Makefile.inc
index 0ae20ad5cc..3b8f01e41c 100644
--- a/src/lib/libcrypto/arch/mips64/Makefile.inc
+++ b/src/lib/libcrypto/arch/mips64/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.2 2014/05/02 21:55:31 miod Exp $ 1# $OpenBSD: Makefile.inc,v 1.3 2014/11/17 20:31:22 miod Exp $
2 2
3# mips64-specific libcrypto build rules 3# mips64-specific libcrypto build rules
4 4
@@ -12,6 +12,8 @@ SRCS+= bf_enc.c
12SSLASM+= bn mips bn-mips 12SSLASM+= bn mips bn-mips
13SSLASM+= bn mips-mont mips-mont 13SSLASM+= bn mips-mont mips-mont
14CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV3W 14CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV3W
15# camellia
16SRCS+= camellia.c cmll_cbc.c cmll_misc.c
15# des 17# des
16SRCS+= des_enc.c fcrypt_b.c 18SRCS+= des_enc.c fcrypt_b.c
17# rc4 19# rc4