summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/asm/ecp_nistz256-armv4.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/asm/ecp_nistz256-armv4.pl')
-rw-r--r--src/lib/libcrypto/ec/asm/ecp_nistz256-armv4.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/asm/ecp_nistz256-armv4.pl b/src/lib/libcrypto/ec/asm/ecp_nistz256-armv4.pl
index f3205d673a..9e6c65905f 100644
--- a/src/lib/libcrypto/ec/asm/ecp_nistz256-armv4.pl
+++ b/src/lib/libcrypto/ec/asm/ecp_nistz256-armv4.pl
@@ -1,5 +1,5 @@
1#! /usr/bin/env perl 1#! /usr/bin/env perl
2# $OpenBSD: ecp_nistz256-armv4.pl,v 1.1 2016/11/04 17:33:19 miod Exp $ 2# $OpenBSD: ecp_nistz256-armv4.pl,v 1.2 2022/12/26 07:18:51 jmc Exp $
3# 3#
4# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. 4# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
5# 5#
@@ -179,7 +179,7 @@ __ecp_nistz256_add:
179 @ if a+b >= modulus, subtract modulus. 179 @ if a+b >= modulus, subtract modulus.
180 @ 180 @
181 @ But since comparison implies subtraction, we subtract 181 @ But since comparison implies subtraction, we subtract
182 @ modulus and then add it back if subraction borrowed. 182 @ modulus and then add it back if subtraction borrowed.
183 183
184 subs $a0,$a0,#-1 184 subs $a0,$a0,#-1
185 sbcs $a1,$a1,#-1 185 sbcs $a1,$a1,#-1
@@ -1090,7 +1090,7 @@ __ecp_nistz256_add_self:
1090 @ if a+b >= modulus, subtract modulus. 1090 @ if a+b >= modulus, subtract modulus.
1091 @ 1091 @
1092 @ But since comparison implies subtraction, we subtract 1092 @ But since comparison implies subtraction, we subtract
1093 @ modulus and then add it back if subraction borrowed. 1093 @ modulus and then add it back if subtraction borrowed.
1094 1094
1095 subs $a0,$a0,#-1 1095 subs $a0,$a0,#-1
1096 sbcs $a1,$a1,#-1 1096 sbcs $a1,$a1,#-1