OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [RFC v3] virtio-crypto specification

On Tue, Apr 19, 2016 at 08:37:13AM +0000, Gonglei (Arei) wrote:
> Driver Requirements: Session operation
> The driver MUST set the control type with VIRTIO_CRYPTO_CTRL_CREATE_SESSION before the request is preceded by an operation header when executing session creation:

Based on the text I guess you need the following to create a session:
struct session_create {
    struct virtio_crypto_sym_ctlhdr ctlhdr; /* OUT */
    struct virtio_crypto_sym_session_op session_op; /* OUT */
    struct virtio_crypto_sym_session_op_inhdr inhdr; /* IN */

Please show the full C struct so the spec is clear on how to lay out the
request.  The same applies for other operations.

> Steps of encryption Operation
> Both controlq and dataq virtqueue are bidirectional.

Virtqueues are always "bidirectional" so this sentence doesn't mean
anything.  It can be dropped.

Attachment: signature.asc
Description: PGP signature

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]