From: Yangyu Chen Date: Sun, 14 Apr 2024 15:33:58 +0000 (+0800) Subject: poly1305.c: fix typo on POLY1305_BLOCK_SIZE X-Git-Tag: openssl-3.4.0-alpha1~682 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96939f1e2c6ac1264142ef62c9925786f5723649;p=thirdparty%2Fopenssl.git poly1305.c: fix typo on POLY1305_BLOCK_SIZE no code change Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24136) --- diff --git a/crypto/poly1305/poly1305.c b/crypto/poly1305/poly1305.c index b3bf2b117bb..3d8f32ebae3 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;