summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/amd64
diff options
context:
space:
mode:
authormiod <>2014-11-17 20:31:22 +0000
committermiod <>2014-11-17 20:31:22 +0000
commitbfbfc9f97202a8cab8435a93df289559bfa32d7f (patch)
treec7f0941adc30ef30ee635c54679ff29bee78f41d /src/lib/libcrypto/arch/amd64
parent1c596fb88a1bcb37040846b2e74feebb7d15fa27 (diff)
downloadopenbsd-bfbfc9f97202a8cab8435a93df289559bfa32d7f.tar.gz
openbsd-bfbfc9f97202a8cab8435a93df289559bfa32d7f.tar.bz2
openbsd-bfbfc9f97202a8cab8435a93df289559bfa32d7f.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/amd64')
-rw-r--r--src/lib/libcrypto/arch/amd64/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/arch/amd64/Makefile.inc b/src/lib/libcrypto/arch/amd64/Makefile.inc
index fe7e17df0e..3f92196451 100644
--- a/src/lib/libcrypto/arch/amd64/Makefile.inc
+++ b/src/lib/libcrypto/arch/amd64/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.3 2014/08/11 13:29:43 bcook Exp $ 1# $OpenBSD: Makefile.inc,v 1.4 2014/11/17 20:31:21 miod Exp $
2 2
3# amd64-specific libcrypto build rules 3# amd64-specific libcrypto build rules
4 4
@@ -23,6 +23,9 @@ CFLAGS+= -DOPENSSL_BN_ASM_MONT5
23SSLASM+= bn x86_64-mont5 23SSLASM+= bn x86_64-mont5
24CFLAGS+= -DOPENSSL_BN_ASM_GF2m 24CFLAGS+= -DOPENSSL_BN_ASM_GF2m
25SSLASM+= bn x86_64-gf2m 25SSLASM+= bn x86_64-gf2m
26# camellia
27SRCS+= cmll_misc.c
28SSLASM+= camellia cmll-x86_64
26# des 29# des
27SRCS+= des_enc.c fcrypt_b.c 30SRCS+= des_enc.c fcrypt_b.c
28# md5 31# md5