Home | History | Annotate | Download | only in nvmectl

Lines Matching defs:BIGNUM

59 #define BIGNUM		mp_int
66 BIGNUM **v;
88 BIGNUM *BN_new(void);
89 BIGNUM *BN_dup(const BIGNUM */*a*/);
90 int BN_copy(BIGNUM */*b*/, const BIGNUM */*a*/);
92 void BN_init(BIGNUM */*a*/);
93 void BN_free(BIGNUM */*a*/);
94 void BN_clear(BIGNUM */*a*/);
95 void BN_clear_free(BIGNUM */*a*/);
97 int BN_cmp(BIGNUM */*a*/, BIGNUM */*b*/);
99 BIGNUM *BN_bin2bn(const uint8_t */*buf*/, int /*size*/, BIGNUM */*bn*/);
100 int BN_bn2bin(const BIGNUM */*a*/, unsigned char */*b*/);
101 char *BN_bn2hex(const BIGNUM */*a*/);
102 char *BN_bn2dec(const BIGNUM */*a*/);
103 char *BN_bn2radix(const BIGNUM */*a*/, unsigned /*radix*/);
104 int BN_hex2bn(BIGNUM **/*a*/, const char */*str*/);
105 int BN_dec2bn(BIGNUM **/*a*/, const char */*str*/);
106 int BN_radix2bn(BIGNUM **/*a*/, const char */*str*/, unsigned /*radix*/);
107 int BN_print_fp(FILE */*fp*/, const BIGNUM */*a*/);
109 int BN_add(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/);
110 int BN_sub(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/);
111 int BN_mul(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/, BN_CTX */*ctx*/);
112 int BN_div(BIGNUM */*q*/, BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/, BN_CTX */*ctx*/);
113 void BN_swap(BIGNUM */*a*/, BIGNUM */*b*/);
114 int BN_bitop(BIGNUM */*r*/, const BIGNUM */*a*/, char /*op*/, const BIGNUM */*b*/);
115 int BN_lshift(BIGNUM */*r*/, const BIGNUM */*a*/, int /*n*/);
116 int BN_lshift1(BIGNUM */*r*/, BIGNUM */*a*/);
117 int BN_rshift(BIGNUM */*r*/, const BIGNUM */*a*/, int /*n*/);
118 int BN_rshift1(BIGNUM */*r*/, BIGNUM */*a*/);
119 int BN_set_word(BIGNUM */*a*/, BN_ULONG /*w*/);
120 void BN_set_negative(BIGNUM */*a*/, int /*n*/);
122 int BN_num_bytes(const BIGNUM */*a*/);
123 int BN_num_bits(const BIGNUM */*a*/);
125 int BN_mod_exp(BIGNUM */*r*/, BIGNUM */*a*/, BIGNUM */*p*/, BIGNUM */*m*/, BN_CTX */*ctx*/);
126 BIGNUM *BN_mod_inverse(BIGNUM */*ret*/, BIGNUM */*a*/, const BIGNUM */*n*/, BN_CTX */*ctx*/);
127 int BN_mod_mul(BIGNUM */*ret*/, BIGNUM */*a*/, BIGNUM */*b*/, const BIGNUM */*m*/, BN_CTX */*ctx*/);
128 int BN_mod_sub(BIGNUM */*r*/, BIGNUM */*a*/, BIGNUM */*b*/, const BIGNUM */*m*/, BN_CTX */*ctx*/);
130 int BN_raise(BIGNUM */*res*/, BIGNUM */*a*/, BIGNUM */*b*/);
131 int BN_factorial(BIGNUM */*fact*/, BIGNUM */*f*/);
134 BIGNUM *BN_CTX_get(BN_CTX */*ctx*/);
140 int BN_rand(BIGNUM */*rnd*/, int /*bits*/, int /*top*/, int /*bottom*/);
141 int BN_rand_range(BIGNUM */*rnd*/, BIGNUM */*range*/);
143 int BN_is_prime(const BIGNUM */*a*/, int /*checks*/, void (*callback)(int, int, void *), BN_CTX */*ctx*/, void */*cb_arg*/);
145 const BIGNUM *BN_value_one(void);
146 int BN_is_bit_set(const BIGNUM */*a*/, int /*n*/);
148 int BN_gcd(BIGNUM */*r*/, BIGNUM */*a*/, BIGNUM */*b*/, BN_CTX */*ctx*/);
151 int humanize_bignum(char *, size_t, const BIGNUM *, const char *, int, int);