summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/bn/bn.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h
index c421e2751a..16751116a1 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.42 2021/09/10 14:32:05 tb Exp $ */ 1/* $OpenBSD: bn.h,v 1.43 2021/09/10 14:33:44 tb 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 *
@@ -437,11 +437,9 @@ BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
437void BN_swap(BIGNUM *a, BIGNUM *b); 437void BN_swap(BIGNUM *a, BIGNUM *b);
438BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret); 438BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
439int BN_bn2bin(const BIGNUM *a, unsigned char *to); 439int BN_bn2bin(const BIGNUM *a, unsigned char *to);
440#if defined(LIBRESSL_INTERNAL)
441int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen); 440int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
442BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret); 441BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
443int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen); 442int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
444#endif
445BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); 443BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
446int BN_bn2mpi(const BIGNUM *a, unsigned char *to); 444int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
447int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); 445int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);