diff options
author | miod <> | 2014-04-17 20:29:19 +0000 |
---|---|---|
committer | miod <> | 2014-04-17 20:29:19 +0000 |
commit | 71bc3c585e96f98f95885647157dc960afea043e (patch) | |
tree | 8bd19d57718f089c0a7938eaf50f582dfabcd631 /src | |
parent | a886610fe2a112a35a4ce4dec9e6f9cff3682029 (diff) | |
download | openbsd-71bc3c585e96f98f95885647157dc960afea043e.tar.gz openbsd-71bc3c585e96f98f95885647157dc960afea043e.tar.bz2 openbsd-71bc3c585e96f98f95885647157dc960afea043e.zip |
Nuke BN_DEBUG_LEVITTE
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/bn/bn_div.c | 10 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/bn/bn_div.c | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/libcrypto/bn/bn_div.c b/src/lib/libcrypto/bn/bn_div.c index 7b2403185e..7817c345f0 100644 --- a/src/lib/libcrypto/bn/bn_div.c +++ b/src/lib/libcrypto/bn/bn_div.c | |||
@@ -337,11 +337,6 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, | |||
337 | q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0); | 337 | q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0); |
338 | #else | 338 | #else |
339 | q=bn_div_words(n0,n1,d0); | 339 | q=bn_div_words(n0,n1,d0); |
340 | #ifdef BN_DEBUG_LEVITTE | ||
341 | fprintf(stderr,"DEBUG: bn_div_words(0x%08X,0x%08X,0x%08\ | ||
342 | X) -> 0x%08X\n", | ||
343 | n0, n1, d0, q); | ||
344 | #endif | ||
345 | #endif | 340 | #endif |
346 | 341 | ||
347 | #ifndef REMAINDER_IS_ALREADY_CALCULATED | 342 | #ifndef REMAINDER_IS_ALREADY_CALCULATED |
@@ -366,11 +361,6 @@ X) -> 0x%08X\n", | |||
366 | BN_ULONG t2l,t2h; | 361 | BN_ULONG t2l,t2h; |
367 | 362 | ||
368 | q=bn_div_words(n0,n1,d0); | 363 | q=bn_div_words(n0,n1,d0); |
369 | #ifdef BN_DEBUG_LEVITTE | ||
370 | fprintf(stderr,"DEBUG: bn_div_words(0x%08X,0x%08X,0x%08\ | ||
371 | X) -> 0x%08X\n", | ||
372 | n0, n1, d0, q); | ||
373 | #endif | ||
374 | #ifndef REMAINDER_IS_ALREADY_CALCULATED | 364 | #ifndef REMAINDER_IS_ALREADY_CALCULATED |
375 | rem=(n1-q*d0)&BN_MASK2; | 365 | rem=(n1-q*d0)&BN_MASK2; |
376 | #endif | 366 | #endif |
diff --git a/src/lib/libssl/src/crypto/bn/bn_div.c b/src/lib/libssl/src/crypto/bn/bn_div.c index 7b2403185e..7817c345f0 100644 --- a/src/lib/libssl/src/crypto/bn/bn_div.c +++ b/src/lib/libssl/src/crypto/bn/bn_div.c | |||
@@ -337,11 +337,6 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, | |||
337 | q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0); | 337 | q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0); |
338 | #else | 338 | #else |
339 | q=bn_div_words(n0,n1,d0); | 339 | q=bn_div_words(n0,n1,d0); |
340 | #ifdef BN_DEBUG_LEVITTE | ||
341 | fprintf(stderr,"DEBUG: bn_div_words(0x%08X,0x%08X,0x%08\ | ||
342 | X) -> 0x%08X\n", | ||
343 | n0, n1, d0, q); | ||
344 | #endif | ||
345 | #endif | 340 | #endif |
346 | 341 | ||
347 | #ifndef REMAINDER_IS_ALREADY_CALCULATED | 342 | #ifndef REMAINDER_IS_ALREADY_CALCULATED |
@@ -366,11 +361,6 @@ X) -> 0x%08X\n", | |||
366 | BN_ULONG t2l,t2h; | 361 | BN_ULONG t2l,t2h; |
367 | 362 | ||
368 | q=bn_div_words(n0,n1,d0); | 363 | q=bn_div_words(n0,n1,d0); |
369 | #ifdef BN_DEBUG_LEVITTE | ||
370 | fprintf(stderr,"DEBUG: bn_div_words(0x%08X,0x%08X,0x%08\ | ||
371 | X) -> 0x%08X\n", | ||
372 | n0, n1, d0, q); | ||
373 | #endif | ||
374 | #ifndef REMAINDER_IS_ALREADY_CALCULATED | 364 | #ifndef REMAINDER_IS_ALREADY_CALCULATED |
375 | rem=(n1-q*d0)&BN_MASK2; | 365 | rem=(n1-q*d0)&BN_MASK2; |
376 | #endif | 366 | #endif |