Lines Matching refs:BIGNUM
177 int BN_num_bits(const BIGNUM *a)
191 void BN_clear_free(BIGNUM *a)
203 memset(a,0,sizeof(BIGNUM));
208 void BN_free(BIGNUM *a)
218 void BN_init(BIGNUM *a)
220 memset(a,0,sizeof(BIGNUM));
223 BIGNUM *BN_new(void)
225 BIGNUM *ret;
227 if ((ret=(BIGNUM *)malloc(sizeof(BIGNUM))) == NULL)
241 * It is mostly used by the various BIGNUM routines. If there is an error,
244 BIGNUM *bn_expand2(BIGNUM *b, int words)
386 BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
425 int BN_set_word(BIGNUM *a, BN_ULONG w)
453 BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
490 int BN_bn2bin(const BIGNUM *a, unsigned char *to)
504 int BN_ucmp(const BIGNUM *a, const BIGNUM *b)
526 int BN_cmp(const BIGNUM *a, const BIGNUM *b)
567 int BN_is_bit_set(const BIGNUM *a, int n)