From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0EI_F3IDJ41k for ; Thu, 28 Nov 2013 14:39:39 +0100 (CET) Received: from mail-ea0-x22e.google.com (mail-ea0-x22e.google.com [IPv6:2a00:1450:4013:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 28 Nov 2013 14:39:39 +0100 (CET) Received: by mail-ea0-f174.google.com with SMTP id b10so5699423eae.19 for ; Thu, 28 Nov 2013 05:39:38 -0800 (PST) Message-ID: <5297478A.4060000@gmail.com> Date: Thu, 28 Nov 2013 14:39:22 +0100 From: Milan Broz MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] SATA Hardware encryption AES support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pelle Svensson Cc: dm-crypt@saout.de On 11/28/2013 01:18 PM, Pelle Svensson wrote: > Hi, > > Marvel 88SE9230 SATA controller has AES hardware encryption built-in. > > - Will Linux LUKS make use of this if there is support in the kernel driver? > - If it can't, dose LUKS/dm-crypt by design has any support this type hardware, i.e. can I write a kernel driver? Short answer - no (for dmcrypt/LUKS). Encryption on this level is below the dmcrypt layer operates. So if you need to use this hw layer, you have to modify SATA layer drivers, not dmcrypt. Milan