From owner-freebsd-arch@freebsd.org Mon Jan 15 00:06:40 2018 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4418CE68A0B for ; Mon, 15 Jan 2018 00:06:40 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 27C6B74437 for ; Mon, 15 Jan 2018 00:06:40 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: by mailman.ysv.freebsd.org (Postfix) id 27151E68A0A; Mon, 15 Jan 2018 00:06:40 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26A65E68A09 for ; Mon, 15 Jan 2018 00:06:40 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 060D074436; Mon, 15 Jan 2018 00:06:39 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id w0F06crQ037148 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 14 Jan 2018 16:06:38 -0800 (PST) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id w0F06cEI037147; Sun, 14 Jan 2018 16:06:38 -0800 (PST) (envelope-from jmg) Date: Sun, 14 Jan 2018 16:06:38 -0800 From: John-Mark Gurney To: "Bjoern A. Zeeb" Cc: Benjamin Kaduk , arch@freebsd.org Subject: Re: Ranting about OCF / crypto(9) Message-ID: <20180115000638.GT75576@funkthat.com> Mail-Followup-To: "Bjoern A. Zeeb" , Benjamin Kaduk , arch@freebsd.org References: <3790717.UIxaijsHl3@ralph.baldwin.cx> <20180111055620.GO72574@kduck.kaduk.org> <8C6BFBB0-3323-4DC8-BF23-B27D0235256D@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8C6BFBB0-3323-4DC8-BF23-B27D0235256D@lists.zabbadoz.net> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Sun, 14 Jan 2018 16:06:38 -0800 (PST) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2018 00:06:40 -0000 Bjoern A. Zeeb wrote this message on Thu, Jan 11, 2018 at 13:07 +0000: > On 11 Jan 2018, at 5:56, Benjamin Kaduk wrote: > > >> In terms of algorithms, I suspect there are some older algorithms > >> we could drop. Modern hardware doesn't offload DES for example. > >> Both ccr(4) and aesni(4) only support AES for encryption. We > >> do need to keep algorithms required for IPSec in the kernel, but > >> we could probably drop some others? > > > > Yes, it's probably time for DES to go. Maybe others as well. > > There sadly still is a lot of commercial gear out there that still > requires single-DES. Even 3DES is effectively broken: https://sweet32.info/ and does it even make sense to support acceleration of DES? Does anyone realistically depend upon hardware acceleration of it? I'd be surprised if anyone does. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."