summaryrefslogtreecommitdiff
path: root/Cryptlib/Include/openssl/bn.h
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2015-05-06 09:49:30 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2015-05-06 09:49:30 -0400
commit2283f5e85dbc78dd10810cb6ebfa39e61ab6759e (patch)
tree88017c6acfa326ebaab2d7a4935534f65a36db9b /Cryptlib/Include/openssl/bn.h
parent3967dc652453e47ecd5f21a55bb687be15c59e9c (diff)
downloadefi-boot-shim-2283f5e85dbc78dd10810cb6ebfa39e61ab6759e.tar.gz
efi-boot-shim-2283f5e85dbc78dd10810cb6ebfa39e61ab6759e.zip
Unapplying patches to prevent spurious conflicts.
Diffstat (limited to 'Cryptlib/Include/openssl/bn.h')
-rw-r--r--Cryptlib/Include/openssl/bn.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/Cryptlib/Include/openssl/bn.h b/Cryptlib/Include/openssl/bn.h
index 688a4e7e..f1719a58 100644
--- a/Cryptlib/Include/openssl/bn.h
+++ b/Cryptlib/Include/openssl/bn.h
@@ -511,8 +511,6 @@ BIGNUM *BN_mod_inverse(BIGNUM *ret,
BIGNUM *BN_mod_sqrt(BIGNUM *ret,
const BIGNUM *a, const BIGNUM *n,BN_CTX *ctx);
-void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
-
/* Deprecated versions */
#ifndef OPENSSL_NO_DEPRECATED
BIGNUM *BN_generate_prime(BIGNUM *ret,int bits,int safe,
@@ -742,20 +740,11 @@ int RAND_pseudo_bytes(unsigned char *buf,int num);
#define bn_fix_top(a) bn_check_top(a)
-#define bn_check_size(bn, bits) bn_wcheck_size(bn, ((bits+BN_BITS2-1))/BN_BITS2)
-#define bn_wcheck_size(bn, words) \
- do { \
- const BIGNUM *_bnum2 = (bn); \
- assert(words <= (_bnum2)->dmax && words >= (_bnum2)->top); \
- } while(0)
-
#else /* !BN_DEBUG */
#define bn_pollute(a)
#define bn_check_top(a)
#define bn_fix_top(a) bn_correct_top(a)
-#define bn_check_size(bn, bits)
-#define bn_wcheck_size(bn, words)
#endif