diff options
author | Yangyu Chen <cyy@cyyself.name> | 2024-04-14 23:33:58 +0800 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-04-17 09:41:14 +0200 |
commit | 96939f1e2c6ac1264142ef62c9925786f5723649 (patch) | |
tree | ab664d7b6d4416c52a53187facefceb090f7c58b | |
parent | 25391acc140e215774242bf3b0a51d59754a23f4 (diff) |
poly1305.c: fix typo on POLY1305_BLOCK_SIZE
no code change
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24136)
-rw-r--r-- | crypto/poly1305/poly1305.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/poly1305/poly1305.c b/crypto/poly1305/poly1305.c index b3bf2b117b..3d8f32ebae 100644 --- a/crypto/poly1305/poly1305.c +++ b/crypto/poly1305/poly1305.c @@ -168,7 +168,7 @@ poly1305_blocks(void *ctx, const unsigned char *inp, size_t len, u32 padbit) h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); /* * padbit can be zero only when original len was - * POLY1306_BLOCK_SIZE, but we don't check + * POLY1305_BLOCK_SIZE, but we don't check */ h2 += (u64)(d1 >> 64) + padbit; |