X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/98da614204552e2342214d28cd0839869aa13668..799e63b486e5d3d473de8032261b35f80707cd54:/symm/ccm-def.h 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); \ \