aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/nlm/dev/sec/nlmsec.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-05-11 21:34:29 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-05-11 21:34:29 +0000
commit0e00c709d7f1cdaeb584d244df9534bcdd0ac527 (patch)
tree23d89d0624d4de7dca540e363018ca0c9bfdcb2e /sys/mips/nlm/dev/sec/nlmsec.c
parent32075647ef7fedb53479d3872960d9ae40e86491 (diff)
downloadsrc-0e00c709d7f1cdaeb584d244df9534bcdd0ac527.tar.gz
src-0e00c709d7f1cdaeb584d244df9534bcdd0ac527.zip
Remove support for DES and Triple DES from OCF.
It no longer has any in-kernel consumers via OCF. smbfs still uses single DES directly, so sys/crypto/des remains for that use case. Reviewed by: cem Relnotes: yes Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D24773
Notes
Notes: svn path=/head/; revision=360933
Diffstat (limited to 'sys/mips/nlm/dev/sec/nlmsec.c')
-rw-r--r--sys/mips/nlm/dev/sec/nlmsec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/mips/nlm/dev/sec/nlmsec.c b/sys/mips/nlm/dev/sec/nlmsec.c
index b32ec3406bb4..52dd46429e8f 100644
--- a/sys/mips/nlm/dev/sec/nlmsec.c
+++ b/sys/mips/nlm/dev/sec/nlmsec.c
@@ -391,11 +391,6 @@ xlp_sec_cipher_supported(const struct crypto_session_params *csp)
{
switch (csp->csp_cipher_alg) {
- case CRYPTO_DES_CBC:
- case CRYPTO_3DES_CBC:
- if (csp->csp_ivlen != XLP_SEC_DES_IV_LENGTH)
- return (false);
- break;
case CRYPTO_AES_CBC:
if (csp->csp_ivlen != XLP_SEC_AES_IV_LENGTH)
return (false);