Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH v5 01/32] bluetooth: Switch SMP to crypto_cipher_encrypt_one() From: Marcel Holtmann In-Reply-To: Date: Thu, 14 Jul 2016 21:30:15 +0100 Cc: Andy Lutomirski , "David S. Miller" , X86 ML , "linux-kernel@vger.kernel.org" , linux-arch , Borislav Petkov , Nadav Amit , Kees Cook , Brian Gerst , "kernel-hardening@lists.openwall.com" , Linus Torvalds , Josh Poimboeuf , Jann Horn , Heiko Carstens , "Gustavo F. Padovan" , Johan Hedberg , linux-bluetooth@vger.kernel.org, Network Development Message-Id: <4AED1BFF-7BBD-465C-B9F6-532B1B864346@holtmann.org> References: <264af59a3060c2bc2a725cfc66a8fa68219d1c4a.1468270393.git.luto@kernel.org> To: Andy Lutomirski Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Andy, >> SMP does ECB crypto on stack buffers. This is complicated and >> fragile, and it will not work if the stack is virtually allocated. >> >> Switch to the crypto_cipher interface, which is simpler and safer. > > Hi Dave- > > It looks like we're delaying virtually mapped stacks to 4.9. That > means that there's time for this to go in through net-next. Could you > queue it up? it is actually already in net-next since we decided to let git handle any potential merge issue. Regards Marcel