Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:51454 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162970AbdAFW3M (ORCPT ); Fri, 6 Jan 2017 17:29:12 -0500 From: David Howells In-Reply-To: <20161216173219.rbh6scyk3kpd6by6@thunk.org> References: <20161216173219.rbh6scyk3kpd6by6@thunk.org> To: "Theodore Ts'o" Cc: dhowells@redhat.com, linux-fsdevel@vger.kernel.org, lsf-pc@lists.linux-foundation.org Subject: Re: [LSF/MM TOPIC] Inline encryption support for block devices MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12131.1483741749.1@warthog.procyon.org.uk> Date: Fri, 06 Jan 2017 22:29:09 +0000 Message-ID: <12132.1483741749@warthog.procyon.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Theodore Ts'o wrote: > Many embedded SOC's are using in-line encryption engines (ICE) to > accelerate encryption to storage devices. The way they work is that > the ICE unit is located between the memory and the flash or other > storage device, and when the OS submits the I/O, it includes an > encryption key identifier, indicating which key (out of a small number > that have been loaded into the ICE hardware) should be used. The > hardware then takes care of doing the encryption without needing to > keep the CPU busy doing the encryption, and without needing to use > bounce buffers when writing encrypted blocks. I would be interested in joining this discussion as I've been working on keyrings and crypto facilities inside the kernel. David