/external/dropbear/libtommath/ |
bn_mp_cmp_mag.c | 22 mp_digit *tmpa, *tmpb; local 37 tmpb = b->dp + (a->used - 1); 40 for (n = 0; n < a->used; ++n, --tmpa, --tmpb) { 41 if (*tmpa > *tmpb) { 45 if (*tmpa < *tmpb) {
|
bn_mp_mul_2.c | 34 register mp_digit r, rr, *tmpa, *tmpb; local 40 tmpb = b->dp; 52 *tmpb++ = ((*tmpa++ << ((mp_digit)1)) | r) & MP_MASK; 63 *tmpb = 1; 70 tmpb = b->dp + b->used; 72 *tmpb++ = 0;
|
bn_mp_copy.c | 38 register mp_digit *tmpa, *tmpb; local 46 tmpb = b->dp; 50 *tmpb++ = *tmpa++; 55 *tmpb++ = 0;
|
bn_mp_div_2.c | 33 register mp_digit r, rr, *tmpa, *tmpb; local 39 tmpb = b->dp + b->used - 1; 48 *tmpb-- = (*tmpa-- >> 1) | (r << (DIGIT_BIT - 1)); 55 tmpb = b->dp + b->used; 57 *tmpb++ = 0;
|
bn_fast_s_mp_sqr.c | 96 mp_digit *tmpb; local 97 tmpb = b->dp; 99 *tmpb++ = W[ix] & MP_MASK; 104 *tmpb++ = 0;
|
bn_s_mp_add.c | 50 register mp_digit u, *tmpa, *tmpb, *tmpc; local 59 tmpb = b->dp; 68 *tmpc = *tmpa++ + *tmpb++ + u;
|
bn_s_mp_sub.c | 38 register mp_digit u, *tmpa, *tmpb, *tmpc; local 43 tmpb = b->dp; 50 *tmpc = *tmpa++ - *tmpb++ - u;
|
bn_mp_karatsuba_mul.c | 86 register mp_digit *tmpa, *tmpb, *tmpx, *tmpy; local 92 tmpb = b->dp; 98 *tmpy++ = *tmpb++; 108 *tmpy++ = *tmpb++;
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_exptmod.c | 34 void *tmp, *tmpa, *tmpb; local 54 if ((err = mp_init_multi(&tmp, &tmpa, &tmpb, NULL)) != CRYPT_OK) { return err; } 68 /* tmpb = tmp^dQ mod q */ 69 if ((err = mp_exptmod(tmp, key->dQ, key->q, tmpb)) != CRYPT_OK) { goto error; } 71 /* tmp = (tmpa - tmpb) * qInv (mod p) */ 72 if ((err = mp_sub(tmpa, tmpb, tmp)) != CRYPT_OK) { goto error; } 75 /* tmp = tmpb + q * tmp */ 77 if ((err = mp_add(tmp, tmpb, tmp)) != CRYPT_OK) { goto error; } 105 mp_clear_multi(tmp, tmpa, tmpb, NULL);
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_exptmod.c | 34 void *tmp, *tmpa, *tmpb; local 54 if ((err = mp_init_multi(&tmp, &tmpa, &tmpb, NULL)) != CRYPT_OK) { return err; } 68 /* tmpb = tmp^dQ mod q */ 69 if ((err = mp_exptmod(tmp, key->dQ, key->q, tmpb)) != CRYPT_OK) { goto error; } 71 /* tmp = (tmpa - tmpb) * qInv (mod p) */ 72 if ((err = mp_sub(tmpa, tmpb, tmp)) != CRYPT_OK) { goto error; } 75 /* tmp = tmpb + q * tmp */ 77 if ((err = mp_add(tmp, tmpb, tmp)) != CRYPT_OK) { goto error; } 107 mp_clear_multi(tmp, tmpa, tmpb, NULL);
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
libtommath.c | 237 register mp_digit u, *tmpa, *tmpb, *tmpc; local 246 tmpb = b->dp; 255 *tmpc = *tmpa++ + *tmpb++ + u; 313 register mp_digit u, *tmpa, *tmpb, *tmpc; local 318 tmpb = b->dp; 325 *tmpc = *tmpa++ - *tmpb++ - u; 914 mp_digit *tmpa, *tmpb; local 929 tmpb = b->dp + (a->used - 1); 932 for (n = 0; n < a->used; ++n, --tmpa, --tmpb) { 933 if (*tmpa > *tmpb) { 1131 register mp_digit *tmpa, *tmpb; local 1333 register mp_digit r, rr, *tmpa, *tmpb; local 2843 register mp_digit r, rr, *tmpa, *tmpb; local 3306 mp_digit *tmpb; local [all...] |
/external/wpa_supplicant/ |
libtommath.c | 197 register mp_digit u, *tmpa, *tmpb, *tmpc; local 206 tmpb = b->dp; 215 *tmpc = *tmpa++ + *tmpb++ + u; 273 register mp_digit u, *tmpa, *tmpb, *tmpc; local 278 tmpb = b->dp; 285 *tmpc = *tmpa++ - *tmpb++ - u; 866 mp_digit *tmpa, *tmpb; local 881 tmpb = b->dp + (a->used - 1); 884 for (n = 0; n < a->used; ++n, --tmpa, --tmpb) { 885 if (*tmpa > *tmpb) { 1083 register mp_digit *tmpa, *tmpb; local 1282 register mp_digit r, rr, *tmpa, *tmpb; local [all...] |
/external/dropbear/libtommath/pre_gen/ |
mpi.c | 689 mp_digit *tmpb; local 690 tmpb = b->dp; 692 *tmpb++ = W[ix] & MP_MASK; 697 *tmpb++ = 0; 1340 mp_digit *tmpa, *tmpb; local 1472 register mp_digit *tmpa, *tmpb; local 1884 register mp_digit r, rr, *tmpa, *tmpb; local 4180 register mp_digit *tmpa, *tmpb, *tmpx, *tmpy; local 5019 register mp_digit r, rr, *tmpa, *tmpb; local 8794 register mp_digit u, *tmpa, *tmpb, *tmpc; local 9418 register mp_digit u, *tmpa, *tmpb, *tmpc; local [all...] |