Searched refs:BIGNUM (Results 1 - 12 of 12) sorted by relevance
/openwrt/package/network/services/ead/src/tinysrp/ |
H A D | bn.h | 218 #ifdef BIGNUM 219 #undef BIGNUM macro 236 } BIGNUM; typedef in typeref:struct:bignum_st 244 BIGNUM bn[BN_CTX_NUM]; 255 BIGNUM RR; /* used to convert to montgomery form */ 256 BIGNUM N; /* The modulus */ 257 BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1 268 BIGNUM N; /* the divisor */ 269 BIGNUM Nr; /* the reciprocal */ 307 BIGNUM *BN_value_on [all...] |
H A D | bn_exp.c | 119 int BN_mod_mul(BIGNUM *ret, BIGNUM *a, BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) 121 BIGNUM *t; 141 int BN_mod_exp(BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, 180 int BN_mod_exp_recp(BIGNUM * [all...] |
H A D | t_math.c | 48 typedef BIGNUM * BigInteger; 60 BIGNUM * a = BN_new(); 70 BIGNUM * a = BN_new(); 95 BIGNUM * a = BN_new(); 115 BIGNUM * a = BN_new(); 134 BIGNUM * m = BN_new(); 165 BIGNUM * p = BN_new();
|
H A D | bn_add.c | 63 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) 65 const BIGNUM *tmp; 106 int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) 111 const BIGNUM *tmp; 166 int BN_usub(BIGNUM *r, const BIGNUM * [all...] |
H A D | bn_lib.c | 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))) [all...] |
H A D | t_conf.c | 53 static int witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1, 54 const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont); 366 int BN_is_prime(const BIGNUM *a, int checks, void (*callback)(int,int,void *), 372 int BN_is_prime_fasttest(const BIGNUM *a, int checks, 380 BIGNUM *A1, *A1_odd, *check; /* taken from ctx */ 382 const BIGNUM *A = NULL; 408 BIGNUM *t; 480 static int witness(BIGNUM * [all...] |
H A D | bn_div.c | 66 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 71 BIGNUM *D; 154 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, 158 BIGNUM *tm [all...] |
H A D | bn_mul.c | 63 int BN_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) 66 BIGNUM *rr;
|
H A D | bn_shift.c | 63 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n) 95 int BN_rshift(BIGNUM *r, BIGNUM *a, int n)
|
H A D | bn_word.c | 62 int BN_add_word(BIGNUM *a, BN_ULONG w) 93 int BN_sub_word(BIGNUM *a, BN_ULONG w)
|
H A D | bn_sqr.c | 65 int BN_sqr(BIGNUM *r, BIGNUM *a, BN_CTX *ctx) 69 BIGNUM *tmp,*rr;
|
H A D | bn_ctx.c | 114 BIGNUM *BN_CTX_get(BN_CTX *ctx)
|
Completed in 103 milliseconds