/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_make_key.c | 75 …if ((err = mp_invmod( key->N, key->d, key->d)) != CRYPT_OK) { goto error2; } /* key->d = 1… in katja_make_key() 81 …if ((err = mp_invmod( q, p, key->qP)) != CRYPT_OK) { goto error2; } /* qP = 1/q m… in katja_make_key()
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_make_key.c | 81 …if ((err = mp_invmod( key->e, tmp1, key->d)) != CRYPT_OK) { goto errkey; } /* key->d = 1… in rsa_make_key() 90 …if ((err = mp_invmod( q, p, key->qP)) != CRYPT_OK) { goto errkey; } /* qP = 1/q m… in rsa_make_key()
|
/external/dropbear/libtommath/ |
D | bn_mp_invmod.c | 19 int mp_invmod (mp_int * a, mp_int * b, mp_int * c) in mp_invmod() function
|
D | bn_mp_exptmod.c | 43 if ((err = mp_invmod(G, P, &tmpG)) != MP_OKAY) { in mp_exptmod()
|
D | changes.txt | 201 v0.22 -- Fixed up mp_invmod so the result is properly in range now [was always congruent to the in… 208 -- Fixed a bug in both mp_invmod() and fast_mp_invmod() which tested for odd 304 to other functions like mp_invmod, mp_div, etc... 348 v0.06 -- Sped up the s_mp_add, s_mp_sub which inturn sped up mp_invmod, mp_exptmod, etc... 353 -- Fixed a bug in mp_invmod w.r.t. even moduli
|
D | tommath.h | 369 int mp_invmod(mp_int *a, mp_int *b, mp_int *c);
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ltc_ecc_map.c | 50 if ((err = mp_invmod(P->z, modulus, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
|
D | ecc_sign_hash.c | 85 … if ((err = mp_invmod(pubkey.k, p, pubkey.k)) != CRYPT_OK) { goto error; } /* k = 1/k */ in ecc_sign_hash()
|
D | ecc_verify_hash.c | 106 …if ((err = mp_invmod(s, p, w)) != CRYPT_OK) … in ecc_verify_hash()
|
/external/dropbear/ |
D | genrsa.c | 85 if (mp_invmod(key->e, &lcm, key->d) != MP_OKAY) { in gen_rsa_priv_key()
|
D | dss.c | 203 if (mp_invmod(&val1, key->q, &val2) != MP_OKAY) { in buf_dss_verify() 375 if (mp_invmod(&dss_k, key->q, &dss_temp1) != MP_OKAY) { in buf_put_dss_sign()
|
D | rsa.c | 307 if (mp_invmod(&rsa_tmp2, key->n, &rsa_tmp3) != MP_OKAY) { in buf_put_rsa_sign()
|
D | keyimport.c | 800 if (mp_invmod(key->rsakey->q, key->rsakey->p, &iqmp) != MP_OKAY) { in openssh_write()
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
D | dsa_verify_hash.c | 58 …if ((err = mp_invmod(s, key->q, w)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
|
D | dsa_sign_hash.c | 84 …if ((err = mp_invmod(k, key->q, kinv)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
|
/external/dropbear/libtommath/demo/ |
D | timing.c | 298 DO(mp_invmod(&b, &a, &c)); in main()
|
D | demo.c | 658 mp_invmod(&a, &b, &d); in main()
|
/external/dropbear/libtommath/mtest/ |
D | mtest.c | 257 mp_invmod(&a, &b, &c); in main()
|
D | mpi.h | 175 mp_err mp_invmod(mp_int *a, mp_int *m, mp_int *c);
|
D | mpi.c | 2183 mp_err mp_invmod(mp_int *a, mp_int *m, mp_int *c) in mp_invmod() function
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_math.h | 486 #define mp_invmod(a, b, c) ltc_mp.invmod(a, b, c) macro
|
/external/wpa_supplicant/ |
D | libtommath.c | 132 static int mp_invmod(mp_int * a, mp_int * b, mp_int * c); 557 if ((err = mp_invmod(G, P, &tmpG)) != MP_OKAY) { in mp_exptmod() 672 static int mp_invmod (mp_int * a, mp_int * b, mp_int * c) in mp_invmod() function 692 #error mp_invmod would always fail in mp_invmod()
|
/external/dropbear/libtomcrypt/src/math/ |
D | ltm_desc.c | 334 return mpi_to_ltc_error(mp_invmod(a, b, c)); in invmod()
|
/external/dropbear/libtomcrypt/src/math/fp/ |
D | ltc_ecc_fp_mulmod.c | 737 …if ((err = mp_invmod(fp_cache[idx].LUT[x]->z, modulus, fp_cache[idx].LUT[x]->z)) != CRYPT_OK) … in build_lut()
|
/external/dropbear/libtommath/pre_gen/ |
D | mpi.c | 2544 if ((err = mp_invmod(G, P, &tmpG)) != MP_OKAY) { in mp_exptmod() 3665 int mp_invmod (mp_int * a, mp_int * b, mp_int * c) in mp_invmod() function
|