Skip to content

crypto virtio cleanups

Lukas Wunner linux-crypto virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5crypto: virtio - Fix kernel-doc of virtcrypto_dev_stop()drivers/crypto/virtio/virtio_crypto_mgr.c+1 -10 replies
2/5crypto: virtio - Simplify RSA key size cachingdrivers/crypto/virtio/virtio_crypto_akcipher_algs.c+8 -110 replies
3/5crypto: virtio - Drop superfluous ctx->tfm backpointerdrivers/crypto/virtio/virtio_crypto_akcipher_algs.c drivers/crypto/virtio/virtio_crypto_skcipher_algs.c+0 -90 replies
4/5crypto: virtio - Drop superfluous [as]kcipher_ctx pointerdrivers/crypto/virtio/virtio_crypto_akcipher_algs.c drivers/crypto/virtio/virtio_crypto_skcipher_algs.c+5 -80 replies
5/5crypto: virtio - Drop superfluous [as]kcipher_req pointerdrivers/crypto/virtio/virtio_crypto_akcipher_algs.c drivers/crypto/virtio/virtio_crypto_skcipher_algs.c+7 -100 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

Patchzhenwei pi
SeriesR-b
1/5
2/5
3/5
4/5
5/5

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 0/5] crypto virtio cleanups

Here's an assortment of trivial crypto virtio cleanups which I accumulated while working on commit 5b553e06b321 ("crypto: virtio - Drop sign/verify operations").

I've used qemu + libgcrypt backend to ascertain that all boot-time crypto selftests still pass after these changes. I've also verified that a KEYCTL_PKEY_ENCRYPT operation using virtio-pkcs1-rsa produces correct output.

Thanks!

Lukas Wunner (5):
crypto: virtio - Fix kernel-doc of virtcrypto_dev_stop()
crypto: virtio - Simplify RSA key size caching
crypto: virtio - Drop superfluous ctx->tfm backpointer
crypto: virtio - Drop superfluous [as]kcipher_ctx pointer
crypto: virtio - Drop superfluous [as]kcipher_req pointer

 .../virtio/virtio_crypto_akcipher_algs.c      | 41 ++++++++-----------
 drivers/crypto/virtio/virtio_crypto_mgr.c     |  2 +-
 .../virtio/virtio_crypto_skcipher_algs.c      | 17 ++------
 3 files changed, 21 insertions(+), 39 deletions(-)
Signature · 1 line
2.43.0