qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/8] virtio-crypto: add multiplexing mode support
@ 2017-09-11  1:10 Longpeng(Mike)
  2017-09-11  1:10 ` [Qemu-devel] [RFC 1/8] virtio-crypto: add new definations for multiplexing mode Longpeng(Mike)
                   ` (9 more replies)
  0 siblings, 10 replies; 19+ messages in thread
From: Longpeng(Mike) @ 2017-09-11  1:10 UTC (permalink / raw)
  To: qemu-devel, virtio-dev
  Cc: luonengjun, mst, cohuck, stefanha, denglingli, Jani.Kokkonen,
	Ola.Liljedahl, Varun.Sethi, xin.zeng, brian.a.keating, liang.j.ma,
	john.griffin, weidong.huang, mike.caraman, agraf, jasowang,
	vincent.jardin, arei.gonglei, pasic, wangxinxin.wang,
	arei.gonglei, Longpeng(Mike)

*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(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-10-10  8:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-11  1:10 [Qemu-devel] [RFC 0/8] virtio-crypto: add multiplexing mode support Longpeng(Mike)
2017-09-11  1:10 ` [Qemu-devel] [RFC 1/8] virtio-crypto: add new definations for multiplexing mode Longpeng(Mike)
2017-09-11  1:10 ` [Qemu-devel] [RFC 2/8] virtio-crypto: add session creation logic for mux mode Longpeng(Mike)
2017-09-11  1:10 ` [Qemu-devel] [RFC 3/8] virtio-crypto: add dataq operation " Longpeng(Mike)
2017-09-11  1:10 ` [Qemu-devel] [RFC 4/8] cryptodev: add stateless mode cipher support Longpeng(Mike)
2017-09-11  1:10 ` [Qemu-devel] [RFC 5/8] virtio-crypto: add stateless crypto request handler Longpeng(Mike)
2017-09-11  1:10 ` [Qemu-devel] [RFC 6/8] cryptodev: extract one util function Longpeng(Mike)
2017-09-11  1:10 ` [Qemu-devel] [RFC 7/8] cryptodev-builtin: add stateless cipher support Longpeng(Mike)
2017-09-11  1:10 ` [Qemu-devel] [RFC 8/8] virtio-crypto: add host feature bits support Longpeng(Mike)
2017-09-11  1:26 ` [Qemu-devel] [RFC 0/8] virtio-crypto: add multiplexing mode support no-reply
2017-09-13 18:14 ` Halil Pasic
2017-09-14  0:58   ` [Qemu-devel] [virtio-dev] " Longpeng (Mike)
2017-09-15 17:33     ` Halil Pasic
2017-09-18  1:17       ` [Qemu-devel] [virtio-dev] " Longpeng (Mike)
2017-10-06 14:24         ` Halil Pasic
2017-10-09  9:22           ` Gonglei (Arei)
2017-10-09 11:04             ` Halil Pasic
2017-10-09 11:17               ` Gonglei (Arei)
2017-10-10  8:35                 ` Longpeng (Mike)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).