Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1430387
| From | Herbert Xu <herbert@gondor.apana.org.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 01/16] bluetooth: Switch SMP to crypto_cipher_encrypt_one() |
| Date | 2016-06-24 08:20 +0200 |
| Message-ID | <rNsD7-4uY-3@gated-at.bofh.it> (permalink) |
| References | <rNqUF-3pa-3@gated-at.bofh.it> <rNqUG-3pa-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@holtmann.org> > Cc: Gustavo Padovan <gustavo@padovan.org> > Cc: Johan Hedberg <johan.hedberg@gmail.com> > Cc: "David S. Miller" <davem@davemloft.net> > Cc: linux-bluetooth@vger.kernel.org > Cc: Herbert Xu <herbert@gondor.apana.org.au> > Cc: netdev@vger.kernel.org > Signed-off-by: Andy Lutomirski <luto@kernel.org> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Thanks, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 01/16] bluetooth: Switch SMP to crypto_cipher_encrypt_one() Andy Lutomirski <luto@kernel.org> - 2016-06-24 06:30 +0200 Re: [PATCH v4 01/16] bluetooth: Switch SMP to crypto_cipher_encrypt_one() Herbert Xu <herbert@gondor.apana.org.au> - 2016-06-24 08:20 +0200 Re: [PATCH v4 01/16] bluetooth: Switch SMP to crypto_cipher_encrypt_one() Johan Hedberg <johan.hedberg@gmail.com> - 2016-06-24 09:20 +0200
csiph-web