From 799e63b486e5d3d473de8032261b35f80707cd54 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 12 Mar 2021 22:26:07 +0000 Subject: [PATCH] symm/*-def.h: Fix repeated garbled commentary by adding the missing word. This is a bit embarrassing. I should have read this text more carefully before copying it everywhere. --- symm/ccm-def.h | 12 ++++++------ symm/eax-def.h | 12 ++++++------ symm/gcm-def.h | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/symm/ccm-def.h b/symm/ccm-def.h index fda51795..7002aba1 100644 --- a/symm/ccm-def.h +++ b/symm/ccm-def.h @@ -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); \ \ diff --git a/symm/eax-def.h b/symm/eax-def.h index bc5c7b90..3154ac07 100644 --- a/symm/eax-def.h +++ b/symm/eax-def.h @@ -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); \ \ diff --git a/symm/gcm-def.h b/symm/gcm-def.h index 6ca58953..53784f13 100644 --- a/symm/gcm-def.h +++ b/symm/gcm-def.h @@ -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); \ \ -- 2.11.0