We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dac8275 commit 6d84f15Copy full SHA for 6d84f15
bn_deprecated.c
@@ -2,14 +2,8 @@
2
#ifdef BN_DEPRECATED_C
3
/* LibTomMath, multiple-precision integer library -- Tom St Denis */
4
/* SPDX-License-Identifier: Unlicense */
5
-/* LibTomMath, multiple-precision integer library -- Tom St Denis */
6
7
-/* SPDX-License-Identifier: Unlicense */
8
-#include <tommath_private.h>
9
#ifdef BN_MP_GET_BIT_C
10
-/* Checks the bit at position b and returns MP_YES
11
- if the bit is 1, MP_NO if it is 0 and MP_VAL
12
- in case of error */
13
int mp_get_bit(const mp_int *a, int b)
14
{
15
if (b < 0) {
0 commit comments