symm/*-def.h: Fix repeated garbled commentary by adding the missing word.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 12 Mar 2021 22:26:07 +0000 (22:26 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 12 Mar 2021 22:33:23 +0000 (22:33 +0000)
This is a bit embarrassing.  I should have read this text more carefully
before copying it everywhere.

symm/ccm-def.h
symm/eax-def.h
symm/gcm-def.h

index fda5179..7002aba 100644 (file)
@@ -338,9 +338,9 @@ int pre##_ccmencrypt(pre##_ccmctx *ctx,                                     \
   /* Determine the buffering plan.  Our buffer is going to do double-  \
    * duty here.  The end portion is going to contain mask from the     \
    * encrypted counter which we mix into the plaintext to encrypt it;  \
-   * the start portion, which originally mask bytes we've already used,        \
-   * will hold the input plaintext, which will eventually be           \
-   * collected into the CBC-MAC state.                                 \
+   * the start portion, which originally contained mask bytes we've    \
+   * already used, will hold the input plaintext, which will           \
+   * eventually be collected into the CBC-MAC state.                   \
    */                                                                  \
   rsvr_mkplan(&plan, &pre##_ccmpolicy, ctx->off, sz);                  \
                                                                        \
@@ -427,9 +427,9 @@ int pre##_ccmdecrypt(pre##_ccmctx *ctx,                                     \
   /* Determine the buffering plan.  Our buffer is going to do double-  \
    * duty here.  The end portion is going to contain mask from the     \
    * encrypted counter which we mix into the plaintext to encrypt it;  \
-   * the start portion, which originally mask bytes we've already used,        \
-   * will hold the recovered plaintext, which will eventually be       \
-   * collected into the CBC-MAC state.                                 \
+   * the start portion, which originally mask contained bytes we've    \
+   * already used, will hold the recovered plaintext, which will       \
+   * eventually be collected into the CBC-MAC state.                   \
    */                                                                  \
   rsvr_mkplan(&plan, &pre##_ccmpolicy, ctx->off, sz);                  \
                                                                        \
index bc5c7b9..3154ac0 100644 (file)
@@ -275,9 +275,9 @@ int pre##_eaxencrypt(pre##_eaxctx *ctx,                                     \
   /* Determine the buffering plan.  Our buffer is going to do double-  \
    * duty here.  The end portion is going to contain mask from the     \
    * encrypted counter which we mix into the plaintext to encrypt it;  \
-   * the start portion, which originally mask bytes we've already used,        \
-   * will hold the output ciphertext, which will eventually be         \
-   * collected into the OMAC state.                                    \
+   * the start portion, which originally contained mask bytes we've    \
+   * already used, will hold the output ciphertext, which will         \
+   * eventually be collected into the OMAC state.                      \
    */                                                                  \
   rsvr_mkplan(&plan, &pre##_omacpolicy, ctx->off, sz);                 \
                                                                        \
@@ -362,9 +362,9 @@ int pre##_eaxdecrypt(pre##_eaxctx *ctx,                                     \
   /* Determine the buffering plan.  Our buffer is going to do double-  \
    * duty here.  The end portion is going to contain mask from the     \
    * encrypted counter which we mix into the plaintext to encrypt it;  \
-   * the start portion, which originally mask bytes we've already used,        \
-   * will hold the input ciphertext, which will eventually be          \
-   * collected into the OMAC state.                                    \
+   * the start portion, which originally contained mask bytes we've    \
+   * already used, will hold the input ciphertext, which will          \
+   * eventually be collected into the OMAC state.                      \
    */                                                                  \
   rsvr_mkplan(&plan, &pre##_omacpolicy, ctx->off, sz);                 \
                                                                        \
index 6ca5895..53784f1 100644 (file)
@@ -392,9 +392,9 @@ int pre##_gcmencrypt(pre##_gcmctx *ctx,                                     \
   /* Determine the buffering plan.  Our buffer is going to do double-  \
    * duty here.  The end portion is going to contain mask from the     \
    * encrypted counter which we mix into the plaintext to encrypt it;  \
-   * the start portion, which originally mask bytes we've already used,        \
-   * will hold the output ciphertext, which will eventually be         \
-   * collected into the GHASH state.                                   \
+   * the start portion, which originally contained mask bytes we've    \
+   * already used, will hold the output ciphertext, which will         \
+   * eventually be collected into the GHASH state.                     \
    */                                                                  \
   rsvr_mkplan(&plan, &pre##_gcmpolicy, ctx->off, sz);                  \
                                                                        \
@@ -477,9 +477,9 @@ int pre##_gcmdecrypt(pre##_gcmctx *ctx,                                     \
   /* Determine the buffering plan.  Our buffer is going to do double-  \
    * duty here.  The end portion is going to contain mask from the     \
    * encrypted counter which we mix into the plaintext to encrypt it;  \
-   * the start portion, which originally mask bytes we've already used,        \
-   * will hold the input ciphertext, which will eventually be          \
-   * collected into the GHASH state.                                   \
+   * the start portion, which originally contained mask bytes we've    \
+   * already used, will hold the input ciphertext, which will          \
+   * eventually be collected into the GHASH state.                     \
    */                                                                  \
   rsvr_mkplan(&plan, &pre##_gcmpolicy, ctx->off, sz);                  \
                                                                        \