From 0faffc7a30eeb195248ea43056f4848e2a9b1c6d Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Fri, 11 Nov 2022 14:12:37 +0000 Subject: [PATCH] Fix the comment in ecp_nistz256_ord_sqr_mont to match code and prototype. The counter is accessed as x2, not w2, so this is a uint64_t parameter. Change-Id: I97a5dabc521fc00fc366a67712bc4932b256532f Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/55145 Auto-Submit: David Benjamin Commit-Queue: Bob Beck Reviewed-by: Bob Beck --- crypto/fipsmodule/ec/asm/p256-armv8-asm.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/fipsmodule/ec/asm/p256-armv8-asm.pl b/crypto/fipsmodule/ec/asm/p256-armv8-asm.pl index 0d628e73c..d4e3a7ce9 100644 --- a/crypto/fipsmodule/ec/asm/p256-armv8-asm.pl +++ b/crypto/fipsmodule/ec/asm/p256-armv8-asm.pl @@ -1365,7 +1365,7 @@ $code.=<<___; //////////////////////////////////////////////////////////////////////// // void ecp_nistz256_ord_sqr_mont(uint64_t res[4], uint64_t a[4], -// int rep); +// uint64_t rep); .globl ecp_nistz256_ord_sqr_mont .type ecp_nistz256_ord_sqr_mont,%function .align 4