From owner-freebsd-arch@freebsd.org Thu Jan 11 08:24:30 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 C4A46E7714E for ; Thu, 11 Jan 2018 08:24:30 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id AE8AC15AD for ; Thu, 11 Jan 2018 08:24:30 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: by mailman.ysv.freebsd.org (Postfix) id ACBF5E7714D; Thu, 11 Jan 2018 08:24:30 +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 ABC09E7714C for ; Thu, 11 Jan 2018 08:24:30 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 6DC3E15AC; Thu, 11 Jan 2018 08:24:30 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id E17522739E; Thu, 11 Jan 2018 08:24:27 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id w0B8OC7v052055 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 11 Jan 2018 08:24:12 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id w0B8OBfA052054; Thu, 11 Jan 2018 08:24:11 GMT (envelope-from phk) To: cem@freebsd.org cc: "freebsd-arch@freebsd.org" Subject: Re: Ranting about OCF / crypto(9) In-reply-to: From: "Poul-Henning Kamp" References: <3790717.UIxaijsHl3@ralph.baldwin.cx> <51883.1515656784@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <52052.1515659051.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Thu, 11 Jan 2018 08:24:11 +0000 Message-ID: <52053.1515659051@critter.freebsd.dk> 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 08:24:30 -0000 -------- In message , Conrad Meyer writes: >But, embedding lua or something like lua in the kernel is completely >tangential to the problem of providing a good generic interface for >crypto hardware. Please don't hijack this thread with that >discussion. The problem is not the interface to the crypto hardware, but getting the data to and from the crypto hardware in the first place. You can either drown yourself in special cases (IPSEC, HTTPS, ...) with a "good generic interface for crypto hardware", or you can solve the actual problem, with a A Good Generic Interface For Data Streams. But don't let me distract you with my experience here, I only spent years on it... -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .