Skip to contentSkip to conversation

virtio-crypto: virtio crypto device specification

PATCH In review Longpeng(Mike) 3 participants 13 messages Aug 26, 2017 – Sep 8, 2017 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

v19 cover virtio-crypto: virtio crypto device specification

Hi guys,

I'll work on the virtio-crypto spec with Gonglei together, Because He is so busy on the inner production project.

---
v19 -> v18:
- fix some typos and grammar fixes [Stefan, Halil]
- rename VIRTIO_CRYPTO_F_STATELESS_MODE to VIRTIO_CRYPTO_F_MUX_MODE
- describe the VIRTIO_CRYPTO_STATUS in detial. [Halil]
- refactor and redescribe the controlq/dataq request's format of mux mode. [Halil]
- other small fixes. [Halil]

v18 -> v17:
- fix many English grammar problems suggested by Stefan, Thanks a lot!

v17 -> v16:
- Some grammar fixes [Stefan, Halil, Michael]
- add a section named "Supported crypto services" in order to explain bit numbers and valuse clearly. [Halil, Cornelia]
- avoid word reptition [Halil]
- rename non-session mode to stateless mode [Halil]
- change descriptions for all elements in struct virtio_crypto_config [Halil]
- add Halil as a reviewer in the ackonwledgement part, thanks for his work.
- other fixes here and there.

Changes since v15:
- use feature bits for non-session mode in order to keep compatibility with pre-existing code. [Halil & Michael]
- introduce VIRTIO_CRYPTO_F_ NON_SESSION_MODE feature bit to control all other non-session mode feature bits.
- fix some typos. [Stefan]
- introduce struct virtio_crypto_op_data_req_mux to support both session and non-session based crypto operations and keep compatibility with pre-existing code.

Changes since v14:
- drop VIRTIO_CRYPTO_S_STARTED status [Halil & Cornelia]
- correct a sentence about dataqueue and controlq in the first paragraph.
[Halil]
- change a MAY to MUST about max_dataqueues. [Halil]
- add non-session mode support
a) add four features for different crypto services to identify wheather
support session mode.
b) rewrite some

For pervious versions of virtio crypto spec, Pls see:

[v18]:
https://www.mail-archive.com/[email protected]/msg444897.html

[v14]:
https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg02212.html

[v13]:
https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg07348.html

For more information, please see:
http://qemu-project.org/Features/VirtioCrypto

---
Gonglei (2):
virtio-crypto: Add virtio crypto device specification
virtio-crypto: Add conformance clauses

 acknowledgements.tex |    3 +
 conformance.tex      |   29 +
 content.tex          |    2 +
 virtio-crypto.tex    | 1470 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 1504 insertions(+)
 create mode 100644 virtio-crypto.tex
Signature · 1 line
2.7.4
#1 lore raw

PATCH v19 1/2 virtio-crypto: Add virtio crypto device specification

From: Gonglei <[email protected]>

The virtio crypto device is a virtual crypto device (ie. hardware crypto accelerator card). Currently, the virtio crypto device provides the following crypto services: CIPHER, MAC, HASH, and AEAD.

In this patch, CIPHER, MAC, HASH, AEAD services are introduced.

VIRTIO-153

---
 acknowledgements.tex |    3 +
 content.tex          |    2 +
 virtio-crypto.tex    | 1479 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1484 insertions(+)
 create mode 100644 virtio-crypto.tex
acknowledgements.tex +3 -0
index 6c86d12..c4b6844 100644
@@ -26,6 +26,8 @@ Sasha Levin,	Oracle	\newline
 Sergey Tverdyshev,	Thales e-Security	\newline
 Stefan Hajnoczi,	Red Hat	\newline
 Tom Lyon,	Samya Systems, Inc.	\newline
+Lei Gong,	Huawei	\newline
+Peng Long,	Huawei	\newline
 \end{oasistitlesection}
 
 The following non-members have provided valuable feedback on this
@@ -43,4 +45,5 @@ Laura Novich, Red Hat	\newline
 Patrick Durusau,	Technical Advisory Board, OASIS	\newline
 Thomas Huth,	IBM	\newline
 Yan Vugenfirer, Red Hat / Daynix	\newline
+Halil Pasic,	IBM	\newline
 \end{oasistitlesection}
content.tex +2 -0
index d989d98..7710f8c 100644
@@ -5641,6 +5641,8 @@ descriptor for the \field{sense_len}, \field{residual},
 \field{status_qualifier}, \field{status}, \field{response} and
 \field{sense} fields.
 
+\input{virtio-crypto.tex}
+
 \chapter{Reserved Feature Bits}\label{sec:Reserved Feature Bits}
 
 Currently there are three device-independent feature bits defined:
virtio-crypto.tex new file +1479 -0

1,479 lines not on this page · raw message

Signature · 1 line
2.7.4
#2 lore raw

PATCH v19 2/2 virtio-crypto: Add conformance clauses

In reply to Longpeng(Mike)

From: Gonglei <[email protected]>

Add the conformance targets and clauses for
virtio-crypto device.

---
 conformance.tex | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
conformance.tex +29 -0
index 7b7df32..266a22f 100644
@@ -145,6 +145,21 @@ An SCSI host driver MUST conform to the following normative statements:
 \item \ref{drivernormative:Device Types / SCSI Host Device / Device Operation / Device Operation: eventq}
 \end{itemize}
 
+\subsection{Crypto Driver Conformance}\label{sec:Conformance / Driver Conformance / Crypto Driver Conformance}
+
+A Crypto driver MUST conform to the following normative statements:
+
+\begin{itemize}
+\item \ref{drivernormative:Device Types / Crypto Device / Device configuration layout}
+\item \ref{drivernormative:Device Types / Crypto Device / Device Initialization}
+\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Control Virtqueue / Session operation / Session operation: create session}
+\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Control Virtqueue / Session operation / Session operation: destroy session}
+\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / HASH Service operation}
+\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / MAC Service operation}
+\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Symmetric algorithms Operation}
+\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / AEAD Service operation}
+\end{itemize}
+
 \section{Device Conformance}\label{sec:Conformance / Device Conformance}
 
 A device MUST conform to the following normative statements:
@@ -265,6 +280,20 @@ An SCSI host device MUST conform to the following normative statements:
 \item \ref{devicenormative:Device Types / SCSI Host Device / Device Operation / Device Operation: eventq}
 \end{itemize}
 
+\subsection{Crypto Device Conformance}\label{sec:Conformance / Device Conformance / Crypto Device Conformance}
+
+A Crypto device MUST conform to the following normative statements:
+
+\begin{itemize}
+\item \ref{devicenormative:Device Types / Crypto Device / Device configuration layout}
+\item \ref{devicenormative:Device Types / Crypto Device / Device Operation / Control Virtqueue / Session operation / Session operation: create session}
+\item \ref{devicenormative:Device Types / Crypto Device / Device Operation / Control Virtqueue / Session operation / Session operation: destroy session}
+\item \ref{devicenormative:Device Types / Crypto Device / Device Operation / HASH Service operation}
+\item \ref{devicenormative:Device Types / Crypto Device / Device Operation / MAC Service operation}
+\item \ref{devicenormative:Device Types / Crypto Device / Device Operation / Symmetric algorithms Operation}
+\item \ref{devicenormative:Device Types / Crypto Device / Device Operation / AEAD Service operation}
+\end{itemize}
+
 \section{Legacy Interface: Transitional Device and
 Transitional Driver Conformance}\label{sec:Conformance / Legacy
 Interface: Transitional Device and 
Signature · 1 line
2.7.4
#3 lore raw
In reply to Longpeng(Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

Signature · 2 lines
Regards,
Longpeng(Mike)
Quoted 73 lines · Longpeng(Mike)

Hi guys,

I'll work on the virtio-crypto spec with Gonglei together, Because He is so busy on the inner production project.

---
v19 -> v18:
- fix some typos and grammar fixes [Stefan, Halil]
- rename VIRTIO_CRYPTO_F_STATELESS_MODE to VIRTIO_CRYPTO_F_MUX_MODE
- describe the VIRTIO_CRYPTO_STATUS in detial. [Halil]
- refactor and redescribe the controlq/dataq request's format of mux mode. [Halil]
- other small fixes. [Halil]

v18 -> v17:
- fix many English grammar problems suggested by Stefan, Thanks a lot!

v17 -> v16:
- Some grammar fixes [Stefan, Halil, Michael]
- add a section named "Supported crypto services" in order to explain bit numbers and valuse clearly. [Halil, Cornelia]
- avoid word reptition [Halil]
- rename non-session mode to stateless mode [Halil]
- change descriptions for all elements in struct virtio_crypto_config [Halil]
- add Halil as a reviewer in the ackonwledgement part, thanks for his work.
- other fixes here and there.

Changes since v15:
- use feature bits for non-session mode in order to keep compatibility with pre-existing code. [Halil & Michael]
- introduce VIRTIO_CRYPTO_F_ NON_SESSION_MODE feature bit to control all other non-session mode feature bits.
- fix some typos. [Stefan]
- introduce struct virtio_crypto_op_data_req_mux to support both session and non-session based crypto operations and keep compatibility with pre-existing code.

Changes since v14:
- drop VIRTIO_CRYPTO_S_STARTED status [Halil & Cornelia]
- correct a sentence about dataqueue and controlq in the first paragraph.
[Halil]
- change a MAY to MUST about max_dataqueues. [Halil]
- add non-session mode support
a) add four features for different crypto services to identify wheather
support session mode.
b) rewrite some

For pervious versions of virtio crypto spec, Pls see:

[v18]:
https://www.mail-archive.com/[email protected]/msg444897.html

[v14]:
https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg02212.html

[v13]:
https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg07348.html

For more information, please see:
http://qemu-project.org/Features/VirtioCrypto

---
Gonglei (2):
virtio-crypto: Add virtio crypto device specification
virtio-crypto: Add conformance clauses

 acknowledgements.tex |    3 +
 conformance.tex      |   29 +
 content.tex          |    2 +
 virtio-crypto.tex    | 1470 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 1504 insertions(+)
 create mode 100644 virtio-crypto.tex
Signature · 2 lines
Regards,
Longpeng(Mike)
#4 lore raw
Quoted 4 lines · Longpeng (Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

Hi Longpeng,

I've ran trough your patch, and it reads much better that what I recall v18 used to read like. Because it's been a while since v18 doing a conscious review on this will take a considerable amount of time (my memories of the issues identified back then are very sketchy/vague now). It's on my todo list, but it ain't the only item there.

Btw. I like to have a reference implementation at hand when reviewing a spec. What is the status of the (reference) implementation (I mean the new stuff like stateless/mux)? I think it would be nice to provide this info in the cover letter (e.g. next time, should we need another iteration).

Regards,
Halil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

#5 lore raw

Hi Halil,

Quoted 8 lines · Halil Pasic
Quoted 4 lines · Longpeng (Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

Quoted 9 lines

Hi Longpeng,

I've ran trough your patch, and it reads much better that what I recall v18 used to read like. Because it's been a while since v18 doing a conscious review on this will take a considerable amount of time (my memories of the issues identified back then are very sketchy/vague now). It's on my todo list, but it ain't the only item there.

That's great, thanks :)

Quoted 6 lines

Btw. I like to have a reference implementation at hand when reviewing a spec. What is the status of the (reference) implementation (I mean the new stuff like stateless/mux)? I think it would be nice to provide this info in the cover letter (e.g. next time, should we need another iteration).

OK, I'll send a reference implementation based on the v19 spec next week.

Quoted 6 lines

Regards,
Halil

.

Signature · 2 lines
Regards,
Longpeng(Mike)
#6 lore raw
In reply to Halil Pasic
Quoted 8 lines · Halil Pasic
Quoted 4 lines · Longpeng (Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

Quoted 8 lines

Hi Longpeng,

I've ran trough your patch, and it reads much better that what I recall v18 used to read like. Because it's been a while since v18 doing a conscious review on this will take a considerable amount of time (my memories of the issues identified back then are very sketchy/vague now). It's on my todo list, but it ain't the only item there.

I don't think it's a fair reason to delay the merging though. No comments in a while says time to merge to me. There's always a public review period during which more comments can be addressed.

So I think we should start a ballot on this one. Mike - if you agree please open an issue in TC issue tracker. As a reminder here are the guidelines:

--

When you open an issue (can be fixed afterwards as well):

1. Fill in the reporter in the Environment: field.
2. Shortly describe the issue in the description field Preferably add a URL to discussion here or
in the comments.
If the mail was copied to virtio-comment or virtio-dev, you can use
mid.gmane.org/<message-id>
to quickly locate a mail in the archives.
2. Preferably, fill in all affected versions: in
"Affects Version/s:".
This might not apply to e.g. improvement requests.

---

When you propose the issue before the TC meeting:

1. Mark issue as Open
2. Fill in a summary of the final proposed change and link to full proposal in "Proposal"
field.
[any historical abandoned proposals and extra info can go
into comments field]
---

Then mail me and the TC and I will start a ballot.

Thanks!

Quoted 6 lines

Btw. I like to have a reference implementation at hand when reviewing a spec. What is the status of the (reference) implementation (I mean the new stuff like stateless/mux)? I think it would be nice to provide this info in the cover letter (e.g. next time, should we need another iteration).

Quoted 7 lines

Regards,
Halil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

#7 lore raw
Quoted 18 lines · Michael S. Tsirkin
Quoted 8 lines · Halil Pasic
Quoted 4 lines · Longpeng (Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

Quoted 8 lines

Hi Longpeng,

I've ran trough your patch, and it reads much better that what I recall v18 used to read like. Because it's been a while since v18 doing a conscious review on this will take a considerable amount of time (my memories of the issues identified back then are very sketchy/vague now). It's on my todo list, but it ain't the only item there.

Quoted 5 lines

I don't think it's a fair reason to delay the merging though. No comments in a while says time to merge to me. There's always a public review period during which more comments can be addressed.

Well, the problem is that there was no new version for a couple of months. That's why there were no comments.

Quoted 4 lines

So I think we should start a ballot on this one. Mike - if you agree please open an issue in TC issue tracker. As a reminder here are the guidelines:

I think, starting a now ballot is a bit rushed: this version is out for less than two weeks, and there was no substantial feedback. That could be OK if we had only minor changes in this version, but I don't think that's the case.

Nevertheless, I'm fine with balloting. Will just have to re-prioritize myself, have a thorough look, and if in doubt abstain.

Regards,
Halil

Quoted 42 lines

--

When you open an issue (can be fixed afterwards as well):

1. Fill in the reporter in the Environment: field.
2. Shortly describe the issue in the description field Preferably add a URL to discussion here or
in the comments.
If the mail was copied to virtio-comment or virtio-dev, you can use
mid.gmane.org/<message-id>
to quickly locate a mail in the archives.
2. Preferably, fill in all affected versions: in
"Affects Version/s:".
This might not apply to e.g. improvement requests.

---

When you propose the issue before the TC meeting:

1. Mark issue as Open
2. Fill in a summary of the final proposed change and link to full proposal in "Proposal"
field.
[any historical abandoned proposals and extra info can go
into comments field]
---

Then mail me and the TC and I will start a ballot.

Thanks!

Quoted 10 lines

Btw. I like to have a reference implementation at hand when reviewing a spec. What is the status of the (reference) implementation (I mean the new stuff like stateless/mux)? I think it would be nice to provide this info in the cover letter (e.g. next time, should we need another iteration).

Regards,
Halil

Quoted 8 lines
Quoted 3 lines

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

#9 lore raw
In reply to Longpeng (Mike)
Quoted 3 lines · Longpeng (Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

I do not see this patchset in the virtio list archives. It could be that youa re posting from an email that is not a subscriber.

Please subscribe and repost.

We'll then have to allow up to 2 weeks for comments.

Halil, I hope this timing works for you.

Quoted 84 lines
Signature · 2 lines
Regards,
Longpeng(Mike)
Quoted 73 lines · Longpeng(Mike)

Hi guys,

I'll work on the virtio-crypto spec with Gonglei together, Because He is so busy on the inner production project.

---
v19 -> v18:
- fix some typos and grammar fixes [Stefan, Halil]
- rename VIRTIO_CRYPTO_F_STATELESS_MODE to VIRTIO_CRYPTO_F_MUX_MODE
- describe the VIRTIO_CRYPTO_STATUS in detial. [Halil]
- refactor and redescribe the controlq/dataq request's format of mux mode. [Halil]
- other small fixes. [Halil]

v18 -> v17:
- fix many English grammar problems suggested by Stefan, Thanks a lot!

v17 -> v16:
- Some grammar fixes [Stefan, Halil, Michael]
- add a section named "Supported crypto services" in order to explain bit numbers and valuse clearly. [Halil, Cornelia]
- avoid word reptition [Halil]
- rename non-session mode to stateless mode [Halil]
- change descriptions for all elements in struct virtio_crypto_config [Halil]
- add Halil as a reviewer in the ackonwledgement part, thanks for his work.
- other fixes here and there.

Changes since v15:
- use feature bits for non-session mode in order to keep compatibility with pre-existing code. [Halil & Michael]
- introduce VIRTIO_CRYPTO_F_ NON_SESSION_MODE feature bit to control all other non-session mode feature bits.
- fix some typos. [Stefan]
- introduce struct virtio_crypto_op_data_req_mux to support both session and non-session based crypto operations and keep compatibility with pre-existing code.

Changes since v14:
- drop VIRTIO_CRYPTO_S_STARTED status [Halil & Cornelia]
- correct a sentence about dataqueue and controlq in the first paragraph.
[Halil]
- change a MAY to MUST about max_dataqueues. [Halil]
- add non-session mode support
a) add four features for different crypto services to identify wheather
support session mode.
b) rewrite some

For pervious versions of virtio crypto spec, Pls see:

[v18]:
https://www.mail-archive.com/[email protected]/msg444897.html

[v14]:
https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg02212.html

[v13]:
https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg07348.html

For more information, please see:
http://qemu-project.org/Features/VirtioCrypto

---
Gonglei (2):
virtio-crypto: Add virtio crypto device specification
virtio-crypto: Add conformance clauses

 acknowledgements.tex |    3 +
 conformance.tex      |   29 +
 content.tex          |    2 +
 virtio-crypto.tex    | 1470 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 1504 insertions(+)
 create mode 100644 virtio-crypto.tex
Signature · 2 lines
Regards,
Longpeng(Mike)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

#8 lore raw
In reply to Michael S. Tsirkin
Quoted 19 lines · Michael S. Tsirkin
Quoted 8 lines · Halil Pasic
Quoted 4 lines · Longpeng (Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

Quoted 8 lines

Hi Longpeng,

I've ran trough your patch, and it reads much better that what I recall v18 used to read like. Because it's been a while since v18 doing a conscious review on this will take a considerable amount of time (my memories of the issues identified back then are very sketchy/vague now). It's on my todo list, but it ain't the only item there.

Quoted 9 lines

I don't think it's a fair reason to delay the merging though. No comments in a while says time to merge to me. There's always a public review period during which more comments can be addressed.

So I think we should start a ballot on this one. Mike - if you agree please open an issue in TC issue tracker. As a reminder here are the guidelines:

Hi Michael,

I've promised Halil to send an implementation based on the v19 this week and I can complete it in this two days, OTOH, Halil had give some very useful suggestions on the v18 and we also hope him could closely review the v19 spec.

So I suggest to give Halil enough time(one more week?) to review the v19 if he will.

If everything is ok, we could start a ballot on this one(if no other suggestions) or the v20(update according with the new suggestions).

Signature · 2 lines
Regards,
Longpeng(Mike)
Quoted 48 lines

--

When you open an issue (can be fixed afterwards as well):

1. Fill in the reporter in the Environment: field.
2. Shortly describe the issue in the description field Preferably add a URL to discussion here or
in the comments.
If the mail was copied to virtio-comment or virtio-dev, you can use
mid.gmane.org/<message-id>
to quickly locate a mail in the archives.
2. Preferably, fill in all affected versions: in
"Affects Version/s:".
This might not apply to e.g. improvement requests.

---

When you propose the issue before the TC meeting:

1. Mark issue as Open
2. Fill in a summary of the final proposed change and link to full proposal in "Proposal"
field.
[any historical abandoned proposals and extra info can go
into comments field]
---

Then mail me and the TC and I will start a ballot.

Thanks!

Quoted 6 lines

Btw. I like to have a reference implementation at hand when reviewing a spec. What is the status of the (reference) implementation (I mean the new stuff like stateless/mux)? I think it would be nice to provide this info in the cover letter (e.g. next time, should we need another iteration).

Quoted 7 lines

Regards,
Halil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

.

Signature · 2 lines
Regards,
Longpeng(Mike)
#10 lore raw
In reply to Michael S. Tsirkin
Quoted 11 lines · Michael S. Tsirkin
Quoted 3 lines · Longpeng (Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

I do not see this patchset in the virtio list archives. It could be that youa re posting from an email that is not a subscriber.

Please subscribe and repost.

OK, I'll subscribe and repost after I complete the implementation based on the v19 :)

Quoted 91 lines

We'll then have to allow up to 2 weeks for comments.

Halil, I hope this timing works for you.

Quoted 84 lines
Signature · 2 lines
Regards,
Longpeng(Mike)
Quoted 73 lines · Longpeng(Mike)

Hi guys,

I'll work on the virtio-crypto spec with Gonglei together, Because He is so busy on the inner production project.

---
v19 -> v18:
- fix some typos and grammar fixes [Stefan, Halil]
- rename VIRTIO_CRYPTO_F_STATELESS_MODE to VIRTIO_CRYPTO_F_MUX_MODE
- describe the VIRTIO_CRYPTO_STATUS in detial. [Halil]
- refactor and redescribe the controlq/dataq request's format of mux mode. [Halil]
- other small fixes. [Halil]

v18 -> v17:
- fix many English grammar problems suggested by Stefan, Thanks a lot!

v17 -> v16:
- Some grammar fixes [Stefan, Halil, Michael]
- add a section named "Supported crypto services" in order to explain bit numbers and valuse clearly. [Halil, Cornelia]
- avoid word reptition [Halil]
- rename non-session mode to stateless mode [Halil]
- change descriptions for all elements in struct virtio_crypto_config [Halil]
- add Halil as a reviewer in the ackonwledgement part, thanks for his work.
- other fixes here and there.

Changes since v15:
- use feature bits for non-session mode in order to keep compatibility with pre-existing code. [Halil & Michael]
- introduce VIRTIO_CRYPTO_F_ NON_SESSION_MODE feature bit to control all other non-session mode feature bits.
- fix some typos. [Stefan]
- introduce struct virtio_crypto_op_data_req_mux to support both session and non-session based crypto operations and keep compatibility with pre-existing code.

Changes since v14:
- drop VIRTIO_CRYPTO_S_STARTED status [Halil & Cornelia]
- correct a sentence about dataqueue and controlq in the first paragraph.
[Halil]
- change a MAY to MUST about max_dataqueues. [Halil]
- add non-session mode support
a) add four features for different crypto services to identify wheather
support session mode.
b) rewrite some

For pervious versions of virtio crypto spec, Pls see:

[v18]:
https://www.mail-archive.com/[email protected]/msg444897.html

[v14]:
https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg02212.html

[v13]:
https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg07348.html

For more information, please see:
http://qemu-project.org/Features/VirtioCrypto

---
Gonglei (2):
virtio-crypto: Add virtio crypto device specification
virtio-crypto: Add conformance clauses

 acknowledgements.tex |    3 +
 conformance.tex      |   29 +
 content.tex          |    2 +
 virtio-crypto.tex    | 1470 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 1504 insertions(+)
 create mode 100644 virtio-crypto.tex
Signature · 2 lines
Regards,
Longpeng(Mike)

.

Signature · 2 lines
Regards,
Longpeng(Mike)
#11 lore raw
Quoted 13 lines · Longpeng (Mike)
Quoted 9 lines · Michael S. Tsirkin
Quoted 3 lines · Longpeng (Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

I do not see this patchset in the virtio list archives. It could be that youa re posting from an email that is not a subscriber.

Quoted 6 lines
Quoted 2 lines

Please subscribe and repost.

OK, I'll subscribe and repost after I complete the implementation based on the v19 :)

To clarify does not existing device in qemu work according to this spec? We need to make the spec compatible with what's out there in the field somehow (feature bit?).

Quoted 85 lines
Quoted 85 lines

We'll then have to allow up to 2 weeks for comments.

Halil, I hope this timing works for you.

Quoted 81 lines
Signature · 2 lines
Regards,
Longpeng(Mike)
Quoted 73 lines · Longpeng(Mike)

Hi guys,

I'll work on the virtio-crypto spec with Gonglei together, Because He is so busy on the inner production project.

---
v19 -> v18:
- fix some typos and grammar fixes [Stefan, Halil]
- rename VIRTIO_CRYPTO_F_STATELESS_MODE to VIRTIO_CRYPTO_F_MUX_MODE
- describe the VIRTIO_CRYPTO_STATUS in detial. [Halil]
- refactor and redescribe the controlq/dataq request's format of mux mode. [Halil]
- other small fixes. [Halil]

v18 -> v17:
- fix many English grammar problems suggested by Stefan, Thanks a lot!

v17 -> v16:
- Some grammar fixes [Stefan, Halil, Michael]
- add a section named "Supported crypto services" in order to explain bit numbers and valuse clearly. [Halil, Cornelia]
- avoid word reptition [Halil]
- rename non-session mode to stateless mode [Halil]
- change descriptions for all elements in struct virtio_crypto_config [Halil]
- add Halil as a reviewer in the ackonwledgement part, thanks for his work.
- other fixes here and there.

Changes since v15:
- use feature bits for non-session mode in order to keep compatibility with pre-existing code. [Halil & Michael]
- introduce VIRTIO_CRYPTO_F_ NON_SESSION_MODE feature bit to control all other non-session mode feature bits.
- fix some typos. [Stefan]
- introduce struct virtio_crypto_op_data_req_mux to support both session and non-session based crypto operations and keep compatibility with pre-existing code.

Changes since v14:
- drop VIRTIO_CRYPTO_S_STARTED status [Halil & Cornelia]
- correct a sentence about dataqueue and controlq in the first paragraph.
[Halil]
- change a MAY to MUST about max_dataqueues. [Halil]
- add non-session mode support
a) add four features for different crypto services to identify wheather
support session mode.
b) rewrite some

For pervious versions of virtio crypto spec, Pls see:

[v18]:
https://www.mail-archive.com/[email protected]/msg444897.html

[v14]:
https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg02212.html

[v13]:
https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg07348.html

For more information, please see:
http://qemu-project.org/Features/VirtioCrypto

---
Gonglei (2):
virtio-crypto: Add virtio crypto device specification
virtio-crypto: Add conformance clauses

 acknowledgements.tex |    3 +
 conformance.tex      |   29 +
 content.tex          |    2 +
 virtio-crypto.tex    | 1470 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 1504 insertions(+)
 create mode 100644 virtio-crypto.tex
Quoted 11 lines
Quoted 6 lines
Quoted 3 lines
Signature · 2 lines
Regards,
Longpeng(Mike)

.

Signature · 2 lines
Regards,
Longpeng(Mike)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

#12 lore raw
Quoted 18 lines · Michael S. Tsirkin
Quoted 17 lines · Longpeng (Mike)
Quoted 11 lines · Michael S. Tsirkin
Quoted 3 lines · Longpeng (Mike)

Ping...

Stefan, Halil, do you have any suggestion ?

I do not see this patchset in the virtio list archives. It could be that youa re posting from an email that is not a subscriber.

Please subscribe and repost.

Quoted 6 lines
Quoted 2 lines

OK, I'll subscribe and repost after I complete the implementation based on the v19 :)

To clarify does not existing device in qemu work according to this spec? We need to make the spec compatible with what's out there in the field somehow (feature bit?).

Yep, the spec is compatible with the existing device in QEMU by a feature bit(VIRTIO_CRYPTO_F_MUX_MODE).

Quoted 100 lines
Quoted 86 lines
Quoted 86 lines

We'll then have to allow up to 2 weeks for comments.

Halil, I hope this timing works for you.

Quoted 81 lines
Signature · 2 lines
Regards,
Longpeng(Mike)
Quoted 73 lines · Longpeng(Mike)

Hi guys,

I'll work on the virtio-crypto spec with Gonglei together, Because He is so busy on the inner production project.

---
v19 -> v18:
- fix some typos and grammar fixes [Stefan, Halil]
- rename VIRTIO_CRYPTO_F_STATELESS_MODE to VIRTIO_CRYPTO_F_MUX_MODE
- describe the VIRTIO_CRYPTO_STATUS in detial. [Halil]
- refactor and redescribe the controlq/dataq request's format of mux mode. [Halil]
- other small fixes. [Halil]

v18 -> v17:
- fix many English grammar problems suggested by Stefan, Thanks a lot!

v17 -> v16:
- Some grammar fixes [Stefan, Halil, Michael]
- add a section named "Supported crypto services" in order to explain bit numbers and valuse clearly. [Halil, Cornelia]
- avoid word reptition [Halil]
- rename non-session mode to stateless mode [Halil]
- change descriptions for all elements in struct virtio_crypto_config [Halil]
- add Halil as a reviewer in the ackonwledgement part, thanks for his work.
- other fixes here and there.

Changes since v15:
- use feature bits for non-session mode in order to keep compatibility with pre-existing code. [Halil & Michael]
- introduce VIRTIO_CRYPTO_F_ NON_SESSION_MODE feature bit to control all other non-session mode feature bits.
- fix some typos. [Stefan]
- introduce struct virtio_crypto_op_data_req_mux to support both session and non-session based crypto operations and keep compatibility with pre-existing code.

Changes since v14:
- drop VIRTIO_CRYPTO_S_STARTED status [Halil & Cornelia]
- correct a sentence about dataqueue and controlq in the first paragraph.
[Halil]
- change a MAY to MUST about max_dataqueues. [Halil]
- add non-session mode support
a) add four features for different crypto services to identify wheather
support session mode.
b) rewrite some

For pervious versions of virtio crypto spec, Pls see:

[v18]:
https://www.mail-archive.com/[email protected]/msg444897.html

[v14]:
https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg02212.html

[v13]:
https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg07348.html

For more information, please see:
http://qemu-project.org/Features/VirtioCrypto

---
Gonglei (2):
virtio-crypto: Add virtio crypto device specification
virtio-crypto: Add conformance clauses

 acknowledgements.tex |    3 +
 conformance.tex      |   29 +
 content.tex          |    2 +
 virtio-crypto.tex    | 1470 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 1504 insertions(+)
 create mode 100644 virtio-crypto.tex
Quoted 11 lines
Quoted 6 lines
Quoted 3 lines
Signature · 2 lines
Regards,
Longpeng(Mike)

.

Signature · 2 lines
Regards,
Longpeng(Mike)

.

Signature · 2 lines
Regards,
Longpeng(Mike)