Searched refs:mp_digit (Results 51 - 72 of 72) sorted by relevance

123

/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dbn_mp_reduce_2k_setup.c21 int mp_reduce_2k_setup(mp_int *a, mp_digit *d)
H A Dbn_mp_add_d.c22 mp_add_d (mp_int * a, mp_digit b, mp_int * c)
25 mp_digit *tmpa, *tmpc, mu;
H A Dbn_mp_prime_next_prime.c28 mp_digit res_tab[PRIME_SIZE], step, kstep;
134 } while (y == 1 && step < ((((mp_digit)1)<<DIGIT_BIT) - kstep));
142 if (y == 1 && step >= ((((mp_digit)1)<<DIGIT_BIT) - kstep)) {
H A Dbn_mp_div_2.c35 register mp_digit r, rr, *tmpa, *tmpb;
H A Dbn_mp_lshd.c38 register mp_digit *top, *bottom;
H A Dbn_mp_reduce_2k.c21 int mp_reduce_2k(mp_int *a, mp_int *n, mp_digit d)
H A Dbn_s_mp_exptmod.c28 mp_digit buf;
161 y = (buf >> (mp_digit)(DIGIT_BIT - 1)) & 1;
162 buf <<= (mp_digit)1;
H A Dbn_mp_exptmod_fast.c37 mp_digit buf, mp;
44 int (*redux)(mp_int*,mp_int*,mp_digit);
216 y = (mp_digit)(buf >> (DIGIT_BIT - 1)) & 1;
217 buf <<= (mp_digit)1;
H A Dbn_mp_is_square.c46 mp_digit c;
H A Dbn_mp_jacobi.c27 mp_digit residue;
H A Dbn_mp_reduce.c38 if (((unsigned long) um) > (((mp_digit)1) << (DIGIT_BIT - 1))) {
H A Dbn_mp_isprime.c15 static const mp_digit primes[256] = {
56 mp_digit d;
H A Dbn_mp_n_root.c30 int mp_n_root (mp_int * a, mp_digit b, mp_int * c)
H A Dbn_mp_karatsuba_mul.c88 register mp_digit *tmpa, *tmpb, *tmpx, *tmpy;
H A Dbn_mp_karatsuba_sqr.c58 register mp_digit *dst, *src;
H A Dbn_prime_tab.c19 const mp_digit ltm_prime_tab[] = {
H A Dbn_mp_div.c195 q.dp[i - t - 1] = ((((mp_digit)1) << DIGIT_BIT) - 1);
203 q.dp[i - t - 1] = (mp_digit) (tmp & (mp_word) (MP_MASK));
H A Dbn.tex342 mp_digit *dp;
652 void mp_set (mp_int * a, mp_digit b);
742 int mp_init_set (mp_int * a, mp_digit b);
927 int mp_cmp_d(mp_int * a, mp_digit b);
1382 int mp_montgomery_setup(mp_int *a, mp_digit *mp);
1390 int mp_montgomery_reduce(mp_int *a, mp_int *m, mp_digit mp);
1418 mp_digit mp;
1503 void mp_dr_setup(mp_int *a, mp_digit *d);
1512 int mp_dr_reduce(mp_int *a, mp_int *b, mp_digit mp);
1534 int mp_reduce_2k_setup(mp_int *a, mp_digit *
[all...]
H A Dtommath.tex1213 mp_digit *tmpa;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/etc/
H A Dmont.c9 mp_digit mp;
H A D2kprime.c16 mp_digit z;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/demo/
H A Ddemo.c61 mp_digit mp;
257 mp_digit tmp;
287 mp_digit r1, r2;
327 mp_dr_reduce(&c, &a, (((mp_digit) 1) << DIGIT_BIT) - a.dp[0]);

Completed in 195 milliseconds

123