[openssl/openssl] 7a5392: Fix register usage comment in ARMv8 Montgomery sqr...

0 views
Skip to first unread message

fengpengboa

unread,
Dec 24, 2025, 6:38:36 PM (20 hours ago) Dec 24
to openssl...@openssl.org
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 7a53925198d2741a619a635048dce0095935168f
https://github.com/openssl/openssl/commit/7a53925198d2741a619a635048dce0095935168f
Author: fengpengbo <feng....@zte.com.cn>
Date: 2025-12-24 (Wed, 24 Dec 2025)

Changed paths:
M crypto/bn/asm/armv8-mont.pl

Log Message:
-----------
Fix register usage comment in ARMv8 Montgomery sqr asm.
In the bn_sqr8x_mont function, a comment describing the accumulation step for the partial product a[1]*a[0] incorrectly referenced the low part ('lo') of the product. The value being added to the temporary register t[2] is actually the high part ('hi') of that multiplication.
Correct the comment from "t[2]+lo(a[1]*a[0])" to "t[2]+hi(a[1]*a[0])".

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Paul Dale <paul...@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/29436)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages