From owner-freebsd-arch@freebsd.org Thu Jan 11 13:08:14 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 145AEE6019B for ; Thu, 11 Jan 2018 13:08:14 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E8F216F2B1 for ; Thu, 11 Jan 2018 13:08:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: by mailman.ysv.freebsd.org (Postfix) id E84A7E60182; Thu, 11 Jan 2018 13:08:13 +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 E7E11E60181 for ; Thu, 11 Jan 2018 13:08:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AB9DC6F2AF; Thu, 11 Jan 2018 13:08:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 411C325D3A7C; Thu, 11 Jan 2018 13:08:02 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 8BE03D1F8D6; Thu, 11 Jan 2018 13:08:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id c1YTGYMW1gdG; Thu, 11 Jan 2018 13:08:00 +0000 (UTC) Received: from [10.248.105.126] (fresh-ayiya.sbone.de [IPv6:fde9:577b:c1a9:f001::2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 04448D1F8D5; Thu, 11 Jan 2018 13:07:59 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Benjamin Kaduk" Cc: "John Baldwin" , arch@freebsd.org Subject: Re: Ranting about OCF / crypto(9) Date: Thu, 11 Jan 2018 13:07:58 +0000 X-Mailer: MailMate (2.0BETAr6102) Message-ID: <8C6BFBB0-3323-4DC8-BF23-B27D0235256D@lists.zabbadoz.net> In-Reply-To: <20180111055620.GO72574@kduck.kaduk.org> References: <3790717.UIxaijsHl3@ralph.baldwin.cx> <20180111055620.GO72574@kduck.kaduk.org> MIME-Version: 1.0 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: Thu, 11 Jan 2018 13:08:14 -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. >> One concern with some of these changes is that there are several drivers >> in the tree for older hardware that I'm not sure is really used anymore. >> That is an impediment to making changes to the crypto <-> driver interface >> if we can't find folks willing to at least test changes to those drivers >> if not maintain them. > > That does seem like a relevant concern, as some of this stuff seems > pretty obscure now. I expect that some of it will have to go since > no one can be found to test it. I am sure I have old soekris boxes in use with a hifn(4) in them. /bz