/external/dropbear/libtommath/etc/ |
2kprime.c | 27 mp_sub_d(&q, 4, &q); 48 mp_sub_d(&q, 1, &p);
|
mersenne.c | 28 if ((res = mp_sub_d (&n, 1, &n)) != MP_OKAY) { 41 if ((res = mp_sub_d (&u, 2, &u)) != MP_OKAY) {
|
drprime.c | 37 mp_sub_d(&a, 1, &b);
|
pprime.c | 342 mp_sub_d (&n, 1, q);
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_make_key.c | 59 if ((err = mp_sub_d( p, 1, tmp1)) != CRYPT_OK) { goto errkey; } /* tmp1 = p-1 */ 66 if ((err = mp_sub_d( q, 1, tmp1)) != CRYPT_OK) { goto errkey; } /* tmp1 = q-1 */ 71 if ((err = mp_sub_d( p, 1, tmp2)) != CRYPT_OK) { goto errkey; } /* tmp2 = p-1 */ 86 if ((err = mp_sub_d( p, 1, tmp1)) != CRYPT_OK) { goto errkey; } /* tmp1 = q-1 */ 87 if ((err = mp_sub_d( q, 1, tmp2)) != CRYPT_OK) { goto errkey; } /* tmp2 = p-1 */
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_make_key.c | 53 if ((err = mp_sub_d(q, 1, tmp1)) != CRYPT_OK) { goto done; } 72 if ((err = mp_sub_d( p, 1, tmp1)) != CRYPT_OK) { goto error2; } /* tmp1 = q-1 */ 73 if ((err = mp_sub_d( q, 1, tmp2)) != CRYPT_OK) { goto error2; } /* tmp2 = p-1 */
|
/external/dropbear/libtommath/ |
bn_mp_prime_next_prime.c | 84 if ((err = mp_sub_d(a, (a->dp[0] & 3) + 1, a)) != MP_OKAY) { return err; }; 89 if ((err = mp_sub_d(a, 1, a)) != MP_OKAY) {
|
bn_mp_add_d.c | 38 res = mp_sub_d(a, b, c);
|
bn_mp_prime_miller_rabin.c | 42 if ((err = mp_sub_d (&n1, 1, &n1)) != MP_OKAY) {
|
bn_mp_sub_d.c | 20 mp_sub_d (mp_int * a, mp_digit b, mp_int * c) function
|
bn_mp_n_root.c | 104 if ((res = mp_sub_d (&t1, 1, &t1)) != MP_OKAY) {
|
bn_mp_prime_random_ex.c | 100 if ((err = mp_sub_d(a, 1, a)) != MP_OKAY) { goto error; }
|
tommath.h | 337 int mp_sub_d(mp_int *a, mp_digit b, mp_int *c);
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_verify_key.c | 57 if ((err = mp_sub_d(key->p, 1, tmp)) != CRYPT_OK) { goto error; }
|
/external/dropbear/ |
genrsa.c | 120 if (mp_sub_d(prime, 1, primeminus) != MP_OKAY) {
|
gendss.c | 157 if (mp_sub_d(key->p, 1, &val) != MP_OKAY) {
|
common-kex.c | 493 if (mp_sub_d(&dh_p, 1, dh_priv) != MP_OKAY) {
|
keyimport.c | 780 if (mp_sub_d(key->rsakey->p, 1, &tmpval) != MP_OKAY) { 790 if (mp_sub_d(key->rsakey->q, 1, &tmpval) != MP_OKAY) { [all...] |
/external/dropbear/libtommath/demo/ |
timing.c | 251 mp_sub_d(&a, 1, &c); 263 mp_sub_d(&a, 1, &e);
|
demo.c | 211 mp_sub_d(&a, 1, &a); 258 mp_sub_d(&a, 2, &a); /* a = 2**cnt - 2 */ 724 mp_sub_d(&a, ix, &c);
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_math.h | 473 #define mp_sub_d(a, b, c) ltc_mp.subi(a, b, c) macro
|
/external/dropbear/libtommath/mtest/ |
mpi.h | 108 mp_err mp_sub_d(mp_int *a, mp_digit d, mp_int *b);
|
mtest.c | 97 mp_sub_d(&a, 1, &a); 294 mp_sub_d(&a, tmp, &b);
|
/external/dropbear/libtomcrypt/src/math/ |
ltm_desc.c | 235 return mpi_to_ltc_error(mp_sub_d(a, b, c));
|
/external/dropbear/libtommath/pre_gen/ |
mpi.c | 905 res = mp_sub_d(a, b, c); 7538 mp_sub_d (mp_int * a, mp_digit b, mp_int * c) function [all...] |