From: Cornelia Huck <cohuck@redhat.com>
To: Gaetan Harter <gaetan.harter@opensynergy.com>,
virtio-comment@lists.oasis-open.org
Cc: Gaetan Harter <gaetan.harter@opensynergy.com>
Subject: Re: [virtio-comment] [PATCH 3/3] virtio-crypto: fix missing verb
Date: Tue, 27 Jul 2021 15:49:38 +0200 [thread overview]
Message-ID: <87o8an50jx.fsf@redhat.com> (raw)
In-Reply-To: <20210726163850.201851-4-gaetan.harter@opensynergy.com>
On Mon, Jul 26 2021, Gaetan Harter <gaetan.harter@opensynergy.com> wrote:
> The condition was incomplete "guarantee the size IS within the max_len".
>
> Signed-off-by: Gaetan Harter <gaetan.harter@opensynergy.com>
> ---
> virtio-crypto.tex | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/virtio-crypto.tex b/virtio-crypto.tex
> index 4a15e14..0d1d832 100644
> --- a/virtio-crypto.tex
> +++ b/virtio-crypto.tex
> @@ -275,13 +275,13 @@ \subsection{Device configuration layout}\label{sec:Device Types / Crypto Device
> \item The driver MUST read the detailed algorithms fields based on \field{crypto_services} field.
> \item The driver SHOULD read \field{max_size} to discover the maximum size of the variable-length
> parameters of data operation of the crypto request's content the device supports and MUST
> - guarantee the size of each crypto request's content within the \field{max_size}, otherwise
> + guarantee the size of each crypto request's content is within the \field{max_size}, otherwise
> the request will fail and the driver MUST reset the device.
> \item The driver SHOULD read \field{max_cipher_key_len} to discover the maximum length of cipher key
> - the device supports and MUST guarantee the \field{key_len} (CIPHER service or AEAD service) within
> + the device supports and MUST guarantee the \field{key_len} (CIPHER service or AEAD service) is within
> the \field{max_cipher_key_len} of the device configuration, otherwise the request will fail.
> \item The driver SHOULD read \field{max_auth_key_len} to discover the maximum length of authenticated
> - key the device supports and MUST guarantee the \field{auth_key_len} (MAC service) within the
> + key the device supports and MUST guarantee the \field{auth_key_len} (MAC service) is within the
> \field{max_auth_key_len} of the device configuration, otherwise the request will fail.
> \end{itemize*}
This still seems a bit awkward. I'd make that either "MUST guarantee
(...) to be within (...)", or "MUST guarantee that (...) is within
(...)". What do you think?
This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.
In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.
Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/
next prev parent reply other threads:[~2021-07-27 13:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-26 16:38 [virtio-comment] [PATCH 0/3] Fix missing verb and typos Gaetan Harter
2021-07-26 16:38 ` [virtio-comment] [PATCH 1/3] content: fix a typo Gaetan Harter
2021-07-26 16:38 ` [virtio-comment] [PATCH 2/3] virtio-gpu: " Gaetan Harter
2021-07-26 16:38 ` [virtio-comment] [PATCH 3/3] virtio-crypto: fix missing verb Gaetan Harter
2021-07-27 13:49 ` Cornelia Huck [this message]
2021-07-27 14:41 ` Gaëtan Harter
2021-07-27 10:18 ` [virtio-comment] [PATCH 0/3] Fix missing verb and typos Stefan Hajnoczi
2021-07-27 13:51 ` Cornelia Huck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8an50jx.fsf@redhat.com \
--to=cohuck@redhat.com \
--cc=gaetan.harter@opensynergy.com \
--cc=virtio-comment@lists.oasis-open.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox