H A D | bn_lib.c | 2 * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved. 5 * this file except in compliance with the License. You can obtain a copy 20 /*- 21 * For a 32 bit machine 22 * 2 - 4 == 128 23 * 3 - 8 == 256 24 * 4 - 16 == 512 25 * 5 - 32 == 1024 26 * 6 - 64 == 2048 27 * 7 - 12 153 bn_num_bits_consttime(const BIGNUM * a) bn_num_bits_consttime() argument 178 BN_num_bits(const BIGNUM * a) BN_num_bits() argument 202 bn_free_d(BIGNUM * a,int clear) bn_free_d() argument 213 BN_clear_free(BIGNUM * a) BN_clear_free() argument 225 BN_free(BIGNUM * a) BN_free() argument 235 bn_init(BIGNUM * a) bn_init() argument 268 BN_ULONG *a = NULL; bn_expand_internal() local 305 BN_ULONG *a = bn_expand_internal(b, words); bn_expand2() local 317 BN_dup(const BIGNUM * a) BN_dup() argument 336 BN_copy(BIGNUM * a,const BIGNUM * b) BN_copy() argument 365 BN_swap(BIGNUM * a,BIGNUM * b) BN_swap() argument 398 BN_clear(BIGNUM * a) BN_clear() argument 410 BN_get_word(const BIGNUM * a) BN_get_word() argument 420 BN_set_word(BIGNUM * a,BN_ULONG w) BN_set_word() argument 482 bn2binpad(const BIGNUM * a,unsigned char * to,int tolen,endianess_t endianess) bn2binpad() argument 532 BN_bn2binpad(const BIGNUM * a,unsigned char * to,int tolen) BN_bn2binpad() argument 539 BN_bn2bin(const BIGNUM * a,unsigned char * to) BN_bn2bin() argument 591 BN_bn2lebinpad(const BIGNUM * a,unsigned char * to,int tolen) BN_bn2lebinpad() argument 607 BN_bn2nativepad(const BIGNUM * a,unsigned char * to,int tolen) BN_bn2nativepad() argument 616 BN_ucmp(const BIGNUM * a,const BIGNUM * b) BN_ucmp() argument 638 BN_cmp(const BIGNUM * a,const BIGNUM * b) BN_cmp() argument 685 BN_set_bit(BIGNUM * a,int n) BN_set_bit() argument 708 BN_clear_bit(BIGNUM * a,int n) BN_clear_bit() argument 726 BN_is_bit_set(const BIGNUM * a,int n) BN_is_bit_set() argument 740 BN_mask_bits(BIGNUM * a,int n) BN_mask_bits() argument 762 BN_set_negative(BIGNUM * a,int b) BN_set_negative() argument 770 bn_cmp_words(const BN_ULONG * a,const BN_ULONG * b,int n) bn_cmp_words() argument 800 bn_cmp_part_words(const BN_ULONG * a,const BN_ULONG * b,int cl,int dl) bn_cmp_part_words() argument 827 BN_consttime_swap(BN_ULONG condition,BIGNUM * a,BIGNUM * b,int nwords) BN_consttime_swap() argument 911 BN_zero_ex(BIGNUM * a) BN_zero_ex() argument 918 BN_abs_is_word(const BIGNUM * a,const BN_ULONG w) BN_abs_is_word() argument 923 BN_is_zero(const BIGNUM * a) BN_is_zero() argument 928 BN_is_one(const BIGNUM * a) BN_is_one() argument 933 BN_is_word(const BIGNUM * a,const BN_ULONG w) BN_is_word() argument 938 BN_is_odd(const BIGNUM * a) BN_is_odd() argument 943 BN_is_negative(const BIGNUM * a) BN_is_negative() argument 948 BN_to_montgomery(BIGNUM * r,const BIGNUM * a,BN_MONT_CTX * mont,BN_CTX * ctx) BN_to_montgomery() argument 1019 bn_wexpand(BIGNUM * a,int words) bn_wexpand() argument 1024 bn_correct_top_consttime(BIGNUM * a) bn_correct_top_consttime() argument 1046 bn_correct_top(BIGNUM * a) bn_correct_top() argument [all...] |