On Thu, Jun 23, 2016, 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 <[email protected]> > Cc: Gustavo Padovan <[email protected]> > Cc: Johan Hedberg <[email protected]> > Cc: "David S. Miller" <[email protected]> > Cc: [email protected] > Cc: Herbert Xu <[email protected]> > Cc: [email protected] > Signed-off-by: Andy Lutomirski <[email protected]> > --- > net/bluetooth/smp.c | 67 > ++++++++++++++++++++++------------------------------- > 1 file changed, 28 insertions(+), 39 deletions(-)
Acked-and-tested-by: Johan Hedberg <[email protected]> Johan

