summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_add.c
diff options
context:
space:
mode:
authorbeck <>2023-07-08 12:21:58 +0000
committerbeck <>2023-07-08 12:21:58 +0000
commit4fff81a3a2e2fb3d68e73e2fcc951cee3548c554 (patch)
tree789e1276988198ecf8411c8f5bb376e2ea404f91 /src/lib/libcrypto/bn/bn_add.c
parentde1ea0d71a59536dfa9a5b0b755c13d3d6eddbeb (diff)
downloadopenbsd-4fff81a3a2e2fb3d68e73e2fcc951cee3548c554.tar.gz
openbsd-4fff81a3a2e2fb3d68e73e2fcc951cee3548c554.tar.bz2
openbsd-4fff81a3a2e2fb3d68e73e2fcc951cee3548c554.zip
Hide symbols in bn
ok tb@
Diffstat (limited to 'src/lib/libcrypto/bn/bn_add.c')
-rw-r--r--src/lib/libcrypto/bn/bn_add.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/bn_add.c b/src/lib/libcrypto/bn/bn_add.c
index 36f160ab5f..86768a312a 100644
--- a/src/lib/libcrypto/bn/bn_add.c
+++ b/src/lib/libcrypto/bn/bn_add.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_add.c,v 1.25 2023/06/12 16:17:24 jsing Exp $ */ 1/* $OpenBSD: bn_add.c,v 1.26 2023/07/08 12:21:58 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -248,6 +248,7 @@ BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
248 248
249 return 1; 249 return 1;
250} 250}
251LCRYPTO_ALIAS(BN_uadd);
251 252
252int 253int
253BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) 254BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
@@ -277,6 +278,7 @@ BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
277 278
278 return 1; 279 return 1;
279} 280}
281LCRYPTO_ALIAS(BN_usub);
280 282
281int 283int
282BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) 284BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
@@ -306,6 +308,7 @@ BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
306 308
307 return ret; 309 return ret;
308} 310}
311LCRYPTO_ALIAS(BN_add);
309 312
310int 313int
311BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) 314BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
@@ -335,3 +338,4 @@ BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
335 338
336 return ret; 339 return ret;
337} 340}
341LCRYPTO_ALIAS(BN_sub);