commit | ff4d719a5bc7e27eac7002ea6eaea05fa2deb87a | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Tue Feb 11 19:19:26 2020 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Feb 22 09:25:46 2020 +0800 |
tree | 3957ebc9969112a1c9cb73057681870530b1d811 | |
parent | 343ee6c4405c2d053f093f68835ecff0cc906a04 [diff] |
crypto: ccree - use devm_k[mz]alloc() for AEAD data As the lifetime of the AEAD data matches the lifetime of the driver, AEAD data can be allocated using the managed allocators. While at it, simplify cc_aead_free() by removing an unneeded cast, and an unneeded check (aead_handle is always valid here). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>