Skip to content

Commit

Permalink
poly1305.c: fix typo on POLY1305_BLOCK_SIZE
Browse files Browse the repository at this point in the history
no code change

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #24136)
  • Loading branch information
cyyself authored and t8m committed Apr 17, 2024
1 parent 25391ac commit 96939f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/poly1305/poly1305.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 96939f1

Please sign in to comment.