summaryrefslogtreecommitdiffstats
path: root/crypto/bn_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn_int.h')
-rw-r--r--crypto/bn_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/bn_int.h b/crypto/bn_int.h
index a552cc20be..6791154818 100644
--- a/crypto/bn_int.h
+++ b/crypto/bn_int.h
@@ -19,3 +19,6 @@ int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
int bn_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
+
+BIGNUM *bn_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
+int bn_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);