From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751880AbcACKUJ (ORCPT ); Sun, 3 Jan 2016 05:20:09 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:38819 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751792AbcACKUG (ORCPT ); Sun, 3 Jan 2016 05:20:06 -0500 Subject: Re: next-20151231 - aes crypto algorithm went missing? To: Valdis Kletnieks , Herbert Xu , "David S. Miller" References: <4632.1451799253@turing-police.cc.vt.edu> Cc: linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org From: Milan Broz Message-ID: <5688F5D3.7080605@gmail.com> Date: Sun, 3 Jan 2016 11:20:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 In-Reply-To: <4632.1451799253@turing-police.cc.vt.edu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/03/2016 06:34 AM, Valdis Kletnieks wrote: > So booting into a next-20151222 kernel, I can mount an external drive > that uses cryptLuks. I try -1231, and I get this failure: > > Failed to setup dm-crypt key mapping for device /dev/sdb2. > Check that kernel supports aes-cbc-essiv:sha256 cipher (check syslog for more info). > > Tracked it down to this difference in /proc/crypto between the 12/22 and 12/31: ... > This ringing any bells, before I start the New Year with a bisect? :) Perhaps see the discussion in thread [PATCH v2] crypto: algif_skcipher - Require setkey before accept(2) Could you try to revert this patch? http://git.kernel.org/cgit/linux/kernel/git/next/linux-next-history.git/commit/crypto?id=9f47e11b9e3169ff4cb35b3cdac0e0f7c2fcfe27 Milan