summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bn/bn.h')
-rw-r--r--src/lib/libcrypto/bn/bn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h
index fd9a62fe3f..5d5de7e43a 100644
--- a/src/lib/libcrypto/bn/bn.h
+++ b/src/lib/libcrypto/bn/bn.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn.h,v 1.34 2017/01/21 10:38:29 beck Exp $ */ 1/* $OpenBSD: bn.h,v 1.35 2017/01/21 11:00:46 beck Exp $ */
2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -454,8 +454,10 @@ int BN_dec2bn(BIGNUM **a, const char *str);
454int BN_asc2bn(BIGNUM **a, const char *str); 454int BN_asc2bn(BIGNUM **a, const char *str);
455int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 455int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
456int BN_kronecker(const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); /* returns -2 for error */ 456int BN_kronecker(const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); /* returns -2 for error */
457#ifndef LIBRESSL_INTERNAL
457BIGNUM *BN_mod_inverse(BIGNUM *ret, 458BIGNUM *BN_mod_inverse(BIGNUM *ret,
458 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx); 459 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
460#endif
459BIGNUM *BN_mod_sqrt(BIGNUM *ret, 461BIGNUM *BN_mod_sqrt(BIGNUM *ret,
460 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx); 462 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
461 463