[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device
From: |
Halil Pasic |
Subject: |
Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification |
Date: |
Thu, 4 May 2017 15:55:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 05/04/2017 03:33 PM, Gonglei (Arei) wrote:
>>> +\begin{description}
>>> +\item[VIRTIO_CRYPTO_F_CIPHER_STATELESS_MODE] Requires
>> VIRTIO_CRYPTO_F_STATELESS_MODE.
>>> +\item[VIRTIO_CRYPTO_F_HASH_STATELESS_MODE] Requires
>> VIRTIO_CRYPTO_F_STATELESS_MODE.
>>> +\item[VIRTIO_CRYPTO_F_MAC_STATELESS_MODE] Requires
>> VIRTIO_CRYPTO_F_STATELESS_MODE.
>>> +\item[VIRTIO_CRYPTO_F_AEAD_STATELESS_MODE] Requires
>> VIRTIO_CRYPTO_F_STATELESS_MODE.
>>> +\end{description}
>>
>> I find feature bit 0 redundant and bit confusing. We had a discussion
>> in v15 and v16.
>>
>> Could you answer:
>> https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg03214.html
>> (Message-ID: <address@hidden>)
>>
>>
> Please see my reply:
> https://lists.gnu.org/archive/html/qemu-devel/2017-01/msg03186.html
>
> The main reason is we should keep compatibility to pre-existing driver and
> support some function that different services have different modes.
> We have only one unique crypto request named structure
> virtio_crypto_op_data_req_mux.
> Please continue to see the sepc, you'll find the truth.
>
Sorry, I still do not understand why can't we drop
VIRTIO_CRYPTO_F_STATELESS_MODE
and just keep the four service specific modes.
Can you point me to the (published) code where VIRTIO_CRYPTO_F_STATELESS_MODE
is
used (that's what I'm missing -- preferably state the repository, the commit
a file and a line using VIRTIO_CRYPTO_F_STATELESS_MODE)?
- Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification, Halil Pasic, 2017/05/03
- Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification, Gonglei (Arei), 2017/05/04
- Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification,
Halil Pasic <=
- Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification, Gonglei (Arei), 2017/05/04
- Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification, Halil Pasic, 2017/05/04
- Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification, Gonglei (Arei), 2017/05/04
- Re: [Qemu-devel] [virtio-dev] RE: [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification, Halil Pasic, 2017/05/05
- Re: [Qemu-devel] [virtio-dev] RE: [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification, Gonglei (Arei), 2017/05/05
Re: [Qemu-devel] [virtio-dev] RE: [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification, Halil Pasic, 2017/05/04
Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification, Gonglei (Arei), 2017/05/04