Lines Matching refs:BIGNUM

82 const BIGNUM *BN_value_one(void)  in BN_value_one()
85 static const BIGNUM const_one = { in BN_value_one()
154 int bn_num_bits_consttime(const BIGNUM *a) in bn_num_bits_consttime()
179 int BN_num_bits(const BIGNUM *a) in BN_num_bits()
203 static void bn_free_d(BIGNUM *a, int clear) in bn_free_d()
214 void BN_clear_free(BIGNUM *a) in BN_clear_free()
226 void BN_free(BIGNUM *a) in BN_free()
236 void bn_init(BIGNUM *a) in bn_init()
238 static BIGNUM nilbn; in bn_init()
244 BIGNUM *BN_new(void) in BN_new()
246 BIGNUM *ret; in BN_new()
255 BIGNUM *BN_secure_new(void) in BN_secure_new()
257 BIGNUM *ret = BN_new(); in BN_secure_new()
265 static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words) in bn_expand_internal()
299 BIGNUM *bn_expand2(BIGNUM *b, int words) in bn_expand2()
314 BIGNUM *BN_dup(const BIGNUM *a) in BN_dup()
316 BIGNUM *t; in BN_dup()
333 BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b) in BN_copy()
362 void BN_swap(BIGNUM *a, BIGNUM *b) in BN_swap()
395 void BN_clear(BIGNUM *a) in BN_clear()
407 BN_ULONG BN_get_word(const BIGNUM *a) in BN_get_word()
417 int BN_set_word(BIGNUM *a, BN_ULONG w) in BN_set_word()
433 static BIGNUM *bin2bn(const unsigned char *s, int len, BIGNUM *ret, in bin2bn()
442 BIGNUM *bn = NULL; in bin2bn()
535 BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret) in BN_bin2bn()
540 BIGNUM *BN_signed_bin2bn(const unsigned char *s, int len, BIGNUM *ret) in BN_signed_bin2bn()
545 static int bn2binpad(const BIGNUM *a, unsigned char *to, int tolen, in bn2binpad()
581 BIGNUM temp = *a; in bn2binpad()
628 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) in BN_bn2binpad()
635 int BN_signed_bn2bin(const BIGNUM *a, unsigned char *to, int tolen) in BN_signed_bn2bin()
642 int BN_bn2bin(const BIGNUM *a, unsigned char *to) in BN_bn2bin()
647 BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret) in BN_lebin2bn()
652 BIGNUM *BN_signed_lebin2bn(const unsigned char *s, int len, BIGNUM *ret) in BN_signed_lebin2bn()
657 int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen) in BN_bn2lebinpad()
664 int BN_signed_bn2lebin(const BIGNUM *a, unsigned char *to, int tolen) in BN_signed_bn2lebin()
671 BIGNUM *BN_native2bn(const unsigned char *s, int len, BIGNUM *ret) in BN_native2bn()
680 BIGNUM *BN_signed_native2bn(const unsigned char *s, int len, BIGNUM *ret) in BN_signed_native2bn()
689 int BN_bn2nativepad(const BIGNUM *a, unsigned char *to, int tolen) in BN_bn2nativepad()
698 int BN_signed_bn2native(const BIGNUM *a, unsigned char *to, int tolen) in BN_signed_bn2native()
707 int BN_ucmp(const BIGNUM *a, const BIGNUM *b) in BN_ucmp()
744 int BN_cmp(const BIGNUM *a, const BIGNUM *b) in BN_cmp()
791 int BN_set_bit(BIGNUM *a, int n) in BN_set_bit()
814 int BN_clear_bit(BIGNUM *a, int n) in BN_clear_bit()
832 int BN_is_bit_set(const BIGNUM *a, int n) in BN_is_bit_set()
846 int ossl_bn_mask_bits_fixed_top(BIGNUM *a, int n) in ossl_bn_mask_bits_fixed_top()
867 int BN_mask_bits(BIGNUM *a, int n) in BN_mask_bits()
878 void BN_set_negative(BIGNUM *a, int b) in BN_set_negative()
943 void BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords) in BN_consttime_swap()
1024 void BN_zero_ex(BIGNUM *a) in BN_zero_ex()
1031 int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w) in BN_abs_is_word()
1036 int BN_is_zero(const BIGNUM *a) in BN_is_zero()
1041 int BN_is_one(const BIGNUM *a) in BN_is_one()
1046 int BN_is_word(const BIGNUM *a, const BN_ULONG w) in BN_is_word()
1051 int ossl_bn_is_word_fixed_top(const BIGNUM *a, const BN_ULONG w) in ossl_bn_is_word_fixed_top()
1067 int BN_is_odd(const BIGNUM *a) in BN_is_odd()
1072 int BN_is_negative(const BIGNUM *a) in BN_is_negative()
1077 int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, in BN_to_montgomery()
1083 void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags) in BN_with_flags()
1111 void BN_set_flags(BIGNUM *b, int n) in BN_set_flags()
1116 int BN_get_flags(const BIGNUM *b, int n) in BN_get_flags()
1146 BIGNUM *bn_wexpand(BIGNUM *a, int words) in bn_wexpand()
1151 void bn_correct_top_consttime(BIGNUM *a) in bn_correct_top_consttime()
1173 void bn_correct_top(BIGNUM *a) in bn_correct_top()