Re: [PATCH v5 01/32] bluetooth: Switch SMP to crypto_cipher_encrypt_one()

From: David Miller
Date: Thu Jul 14 2016 - 16:41:52 EST


From: Andy Lutomirski <luto@xxxxxxxxxxxxxx>
Date: Thu, 14 Jul 2016 12:10:45 -0700

> On Mon, Jul 11, 2016 at 1:53 PM, Andy Lutomirski <luto@xxxxxxxxxx> 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.
>
> 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?

This needs to go via the bluetooth maintainer, who will surely pass
it properly my way.