#include <openssl/bn.h>
#include <limits.h>
#include <string.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include "internal.h"
#include "../delocate.h"
Go to the source code of this file.
|
void | BN_clear (BIGNUM *bn) |
|
void | BN_clear_free (BIGNUM *bn) |
|
BIGNUM * | BN_copy (BIGNUM *dest, const BIGNUM *src) |
|
int | bn_copy_words (BN_ULONG *out, size_t num, const BIGNUM *bn) |
|
BIGNUM * | BN_dup (const BIGNUM *src) |
|
int | bn_expand (BIGNUM *bn, size_t bits) |
|
int | bn_fits_in_words (const BIGNUM *bn, size_t num) |
|
void | BN_free (BIGNUM *bn) |
|
void | BN_init (BIGNUM *bn) |
|
int | BN_is_negative (const BIGNUM *bn) |
|
int | bn_minimal_width (const BIGNUM *bn) |
|
BIGNUM * | BN_new (void) |
|
unsigned | BN_num_bits (const BIGNUM *bn) |
|
unsigned | BN_num_bits_word (BN_ULONG l) |
|
unsigned | BN_num_bytes (const BIGNUM *bn) |
|
int | BN_one (BIGNUM *bn) |
|
int | bn_resize_words (BIGNUM *bn, size_t words) |
|
void | bn_select_words (BN_ULONG *r, BN_ULONG mask, const BN_ULONG *a, const BN_ULONG *b, size_t num) |
|
void | bn_set_minimal_width (BIGNUM *bn) |
|
void | BN_set_negative (BIGNUM *bn, int sign) |
|
void | bn_set_static_words (BIGNUM *bn, const BN_ULONG *words, size_t num) |
|
int | BN_set_u64 (BIGNUM *bn, uint64_t value) |
|
int | BN_set_word (BIGNUM *bn, BN_ULONG value) |
|
int | bn_set_words (BIGNUM *bn, const BN_ULONG *words, size_t num) |
|
int | bn_wexpand (BIGNUM *bn, size_t words) |
|
void | BN_zero (BIGNUM *bn) |
|
| DEFINE_METHOD_FUNCTION (BIGNUM, BN_value_one) |
|
◆ BN_clear()
Definition at line 143 of file bn.c.
◆ BN_clear_free()
void BN_clear_free |
( |
BIGNUM * |
bn | ) |
|
Definition at line 103 of file bn.c.
◆ BN_copy()
Definition at line 127 of file bn.c.
◆ bn_copy_words()
Definition at line 307 of file bn.c.
◆ BN_dup()
Definition at line 107 of file bn.c.
◆ bn_expand()
Definition at line 371 of file bn.c.
◆ bn_fits_in_words()
Definition at line 298 of file bn.c.
◆ BN_free()
Definition at line 87 of file bn.c.
◆ BN_init()
Definition at line 83 of file bn.c.
◆ BN_is_negative()
Definition at line 327 of file bn.c.
◆ bn_minimal_width()
Definition at line 425 of file bn.c.
◆ BN_new()
Definition at line 69 of file bn.c.
◆ BN_num_bits()
Definition at line 216 of file bn.c.
◆ BN_num_bits_word()
unsigned BN_num_bits_word |
( |
BN_ULONG |
l | ) |
|
Definition at line 163 of file bn.c.
◆ BN_num_bytes()
Definition at line 225 of file bn.c.
◆ BN_one()
Definition at line 233 of file bn.c.
◆ bn_resize_words()
int bn_resize_words |
( |
BIGNUM * |
bn, |
|
|
size_t |
words |
|
) |
| |
Definition at line 379 of file bn.c.
◆ bn_select_words()
void bn_select_words |
( |
BN_ULONG * |
r, |
|
|
BN_ULONG |
mask, |
|
|
const BN_ULONG * |
a, |
|
|
const BN_ULONG * |
b, |
|
|
size_t |
num |
|
) |
| |
Definition at line 416 of file bn.c.
◆ bn_set_minimal_width()
void bn_set_minimal_width |
( |
BIGNUM * |
bn | ) |
|
Definition at line 433 of file bn.c.
◆ BN_set_negative()
void BN_set_negative |
( |
BIGNUM * |
bn, |
|
|
int |
sign |
|
) |
| |
Definition at line 331 of file bn.c.
◆ bn_set_static_words()
void bn_set_static_words |
( |
BIGNUM * |
bn, |
|
|
const BN_ULONG * |
words, |
|
|
size_t |
num |
|
) |
| |
Definition at line 286 of file bn.c.
◆ BN_set_u64()
Definition at line 253 of file bn.c.
◆ BN_set_word()
int BN_set_word |
( |
BIGNUM * |
bn, |
|
|
BN_ULONG |
value |
|
) |
| |
Definition at line 237 of file bn.c.
◆ bn_set_words()
Definition at line 275 of file bn.c.
◆ bn_wexpand()
Definition at line 339 of file bn.c.
◆ BN_zero()
Definition at line 229 of file bn.c.
◆ DEFINE_METHOD_FUNCTION()
Definition at line 152 of file bn.c.