RFC virtio-crypto: add multiplexing mode support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest8 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | virtio-crypto: add new definations for multiplexing modeinclude/ | +19 | 0 replies | |
| 2/8 | virtio-crypto: add session creation logic for mux modehw/ | +66 | 0 replies | |
| 3/8 | virtio-crypto: add dataq operation logic for mux modehw/ | +37 | 0 replies | |
| 4/8 | cryptodev: add stateless mode cipher supportbackends/ include/ include/ | +40 | 0 replies | |
| 5/8 | virtio-crypto: add stateless crypto request handlerbackends/ hw/ include/ +1 more | +461 | 0 replies | |
| 6/8 | cryptodev: extract one util functionbackends/ | +58 | 0 replies | |
| 7/8 | cryptodev-builtin: add stateless cipher supportbackends/ | +86 | 0 replies | |
| 8/8 | virtio-crypto: add host feature bits supporthw/ include/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [RFC 0/8] virtio-crypto: add multiplexing mode support
*NOTE*
The code realization is based on the latest virtio crypto spec:
[PATCH v19 0/2] virtio-crypto: virtio crypto device specification
https://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg05217.html
In session mode, the process of create/close a session
makes we have a least one full round-trip cost from guest to host to guest to be able to send any data for symmetric algorithms. It gets ourself into synchronization troubles in some scenarios like a web server handling lots of small requests whose algorithms and keys are different.
We can support one-blob request (no sessions) as well for symmetric algorithms, including HASH, MAC services. The benefit is obvious for HASH service because it's usually a one-blob operation.
Gonglei (3):
virtio-crypto: add stateless crypto request handler
cryptodev: extract one util function
virtio-crypto: add host feature bits support
Longpeng(Mike) (5):
virtio-crypto: add new definations for multiplexing mode
virtio-crypto: add session creation logic for mux mode
virtio-crypto: add dataq operation logic for mux mode
cryptodev: add stateless mode cipher support
cryptodev-builtin: add stateless cipher support
backends/cryptodev-builtin.c | 189 ++++++++--- backends/cryptodev.c | 21 ++ hw/virtio/virtio-crypto.c | 433 +++++++++++++++++++++++-- include/hw/virtio/virtio-crypto.h | 2 + include/standard-headers/linux/virtio_crypto.h | 182 ++++++++++- include/sysemu/cryptodev.h | 21 ++ 6 files changed, 774 insertions(+), 74 deletions(-)
Signature · 7 lines
1.8.3.1 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]