|
Message-ID: <20160624061046.GB16850@gondor.apana.org.au> Date: Fri, 24 Jun 2016 14:10:46 +0800 From: Herbert Xu <herbert@...dor.apana.org.au> To: Andy Lutomirski <luto@...nel.org> Cc: x86@...nel.org, linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org, Borislav Petkov <bp@...en8.de>, Nadav Amit <nadav.amit@...il.com>, Kees Cook <keescook@...omium.org>, Brian Gerst <brgerst@...il.com>, "kernel-hardening@...ts.openwall.com" <kernel-hardening@...ts.openwall.com>, Linus Torvalds <torvalds@...ux-foundation.org>, Josh Poimboeuf <jpoimboe@...hat.com>, Jann Horn <jann@...jh.net>, Heiko Carstens <heiko.carstens@...ibm.com>, Marcel Holtmann <marcel@...tmann.org>, Gustavo Padovan <gustavo@...ovan.org>, Johan Hedberg <johan.hedberg@...il.com>, "David S. Miller" <davem@...emloft.net>, linux-bluetooth@...r.kernel.org, netdev@...r.kernel.org Subject: Re: [PATCH v4 01/16] bluetooth: Switch SMP to crypto_cipher_encrypt_one() On Thu, Jun 23, 2016 at 09:22:56PM -0700, Andy Lutomirski wrote: > 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. > > Cc: Marcel Holtmann <marcel@...tmann.org> > Cc: Gustavo Padovan <gustavo@...ovan.org> > Cc: Johan Hedberg <johan.hedberg@...il.com> > Cc: "David S. Miller" <davem@...emloft.net> > Cc: linux-bluetooth@...r.kernel.org > Cc: Herbert Xu <herbert@...dor.apana.org.au> > Cc: netdev@...r.kernel.org > Signed-off-by: Andy Lutomirski <luto@...nel.org> Acked-by: Herbert Xu <herbert@...dor.apana.org.au> Thanks, -- Email: Herbert Xu <herbert@...dor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.