Skip to content

crypto: cmac - clone fixes

Dmitry Safonov linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto: api - Remove crypto_init_ops()crypto/api.c include/crypto/algapi.h+0 -151 reply
2/3crypto: api - Provide gfp mask for tfm allocationcrypto/algapi.c crypto/api.c crypto/cipher.c +1 more+6 -65 replies
3/3crypto: cipher - On clone do crypto_mod_get()crypto/cipher.c+6 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchEric Biggers
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH-next 0/3] crypto: cmac - clone fixes

Make cipher cloning possible in atomic contexts + prevent use-after-free on the crypto algorithm.
Those seems to be all pitfalls I found while adapting TCP-AO patches to use crypto clone-tfm and dropping per-CPU requests allocations.

Cc Bob Gilligan <[email protected]>
Cc David Ahern <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Dmitry Safonov <[email protected]>
Cc Eric Dumazet <[email protected]>
Cc "Eric W. Biederman" <[email protected]>
Cc Francesco Ruggeri <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Herbert Xu <[email protected]>
Cc Paolo Abeni <[email protected]>
Cc Salam Noureddine <[email protected]>

Thanks,
Dmitry

Dmitry Safonov (3):
crypto: api - Remove crypto_init_ops()
crypto: api - Provide gfp mask for tfm allocation
crypto: cipher - On clone do crypto_mod_get()

 crypto/algapi.c         |  2 +-
 crypto/api.c            | 20 +++-----------------
 crypto/cipher.c         |  9 +++++++--
 crypto/internal.h       |  2 +-
 include/crypto/algapi.h |  1 -
 5 files changed, 12 insertions(+), 22 deletions(-)

base-commit: b16049b21162bb649cdd8519642a35972b7910fe

Signature · 1 line
2.40.0