svn commit: r331049 - in head/sys: conf crypto/chacha20 modules modules/chacha20
Conrad Meyer
cem at FreeBSD.org
Fri Mar 16 07:11:54 UTC 2018
Author: cem
Date: Fri Mar 16 07:11:53 2018
New Revision: 331049
URL: https://svnweb.freebsd.org/changeset/base/331049
Log:
Garbage collect unused chacha20 code
Two copies of chacha20 were imported into the tree on Apr 15 2017 (r316982)
and Apr 16 2017 (r317015). Only the latter is actually used by anything, so
just go ahead and garbage collect the unused version while it's still only
in CURRENT.
I'm not making any judgement on which implementation is better. If I pulled
the wrong one, feel free to swap the existing implementation out and replace
it with the other code (conforming to the API that actually gets used in
randomdev, of course). We only need one generic implementation.
Sponsored by: Dell EMC Isilon
Deleted:
head/sys/crypto/chacha20/chacha20.c
head/sys/crypto/chacha20/chacha20.h
head/sys/modules/chacha20/
Modified:
head/sys/conf/files
head/sys/modules/Makefile
Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files Fri Mar 16 07:05:09 2018 (r331048)
+++ head/sys/conf/files Fri Mar 16 07:11:53 2018 (r331049)
@@ -652,7 +652,6 @@ crypto/blowfish/bf_ecb.c optional ipsec | ipsec_suppor
crypto/blowfish/bf_skey.c optional crypto | ipsec | ipsec_support
crypto/camellia/camellia.c optional crypto | ipsec | ipsec_support
crypto/camellia/camellia-api.c optional crypto | ipsec | ipsec_support
-crypto/chacha20/chacha20.c optional chacha20
crypto/des/des_ecb.c optional crypto | ipsec | ipsec_support | netsmb
crypto/des/des_setkey.c optional crypto | ipsec | ipsec_support | netsmb
crypto/rc4/rc4.c optional netgraph_mppc_encryption | kgssapi
Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile Fri Mar 16 07:05:09 2018 (r331048)
+++ head/sys/modules/Makefile Fri Mar 16 07:11:53 2018 (r331049)
@@ -86,7 +86,6 @@ SUBDIR= \
cd9660_iconv \
${_ce} \
${_cfi} \
- chacha20 \
${_chromebook_platform} \
${_ciss} \
cloudabi \
More information about the svn-src-all
mailing list