diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/bn/bn_sqr.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libcrypto/bn/bn_sqr.c b/src/lib/libcrypto/bn/bn_sqr.c index 1104c0f2c2..e150191fa1 100644 --- a/src/lib/libcrypto/bn/bn_sqr.c +++ b/src/lib/libcrypto/bn/bn_sqr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_sqr.c,v 1.16 2022/11/26 16:08:51 tb Exp $ */ | 1 | /* $OpenBSD: bn_sqr.c,v 1.17 2023/01/16 16:53:19 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -69,9 +69,6 @@ BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) | |||
69 | int ret = 0; | 69 | int ret = 0; |
70 | BIGNUM *tmp, *rr; | 70 | BIGNUM *tmp, *rr; |
71 | 71 | ||
72 | #ifdef BN_COUNT | ||
73 | fprintf(stderr, "BN_sqr %d * %d\n", a->top, a->top); | ||
74 | #endif | ||
75 | 72 | ||
76 | al = a->top; | 73 | al = a->top; |
77 | if (al <= 0) { | 74 | if (al <= 0) { |
@@ -203,9 +200,6 @@ bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t) | |||
203 | int zero, c1; | 200 | int zero, c1; |
204 | BN_ULONG ln, lo, *p; | 201 | BN_ULONG ln, lo, *p; |
205 | 202 | ||
206 | #ifdef BN_COUNT | ||
207 | fprintf(stderr, " bn_sqr_recursive %d * %d\n", n2, n2); | ||
208 | #endif | ||
209 | if (n2 == 4) { | 203 | if (n2 == 4) { |
210 | #ifndef BN_SQR_COMBA | 204 | #ifndef BN_SQR_COMBA |
211 | bn_sqr_normal(r, a, 4, t); | 205 | bn_sqr_normal(r, a, 4, t); |