Home
last modified time | relevance | path

Searched refs:mp_montgomery_reduce (Results 1 – 16 of 16) sorted by relevance

/external/dropbear/libtomcrypt/src/pk/ecc/
Dltc_ecc_projective_add_point.c68 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
71 if ((err = mp_montgomery_reduce(x, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
74 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
77 if ((err = mp_montgomery_reduce(y, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
82 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
85 if ((err = mp_montgomery_reduce(t2, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
88 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
91 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
128 if ((err = mp_montgomery_reduce(z, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
133 if ((err = mp_montgomery_reduce(z, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
[all …]
Dltc_ecc_projective_dbl_point.c56 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
59 if ((err = mp_montgomery_reduce(R->z, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
78 if ((err = mp_montgomery_reduce(t2, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
97 if ((err = mp_montgomery_reduce(R->y, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
100 if ((err = mp_montgomery_reduce(t2, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
108 if ((err = mp_montgomery_reduce(R->y, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
112 if ((err = mp_montgomery_reduce(R->x, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
131 if ((err = mp_montgomery_reduce(R->y, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
Dltc_ecc_map.c47 if ((err = mp_montgomery_reduce(P->z, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
60 if ((err = mp_montgomery_reduce(P->x, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
62 if ((err = mp_montgomery_reduce(P->y, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
/external/dropbear/libtommath/etc/
Dmont.c29 mp_montgomery_reduce(&pp, &modulus, mp); in main()
/external/dropbear/libtommath/
Dbn_mp_montgomery_reduce.c20 mp_montgomery_reduce (mp_int * x, mp_int * n, mp_digit rho) in mp_montgomery_reduce() function
Dbn_mp_exptmod_fast.c107 redux = mp_montgomery_reduce; in mp_exptmod_fast()
Dtommath.h414 int mp_montgomery_reduce(mp_int *a, mp_int *m, mp_digit mp);
Dbn.tex1390 int mp_montgomery_reduce(mp_int *a, mp_int *m, mp_digit mp);
1454 if ((result = mp_montgomery_reduce(&c, &b, mp)) != MP_OKAY) \{
1468 if ((result = mp_montgomery_reduce(&c, &b, mp)) != MP_OKAY) \{
1475 if ((result = mp_montgomery_reduce(&c, &b, mp)) != MP_OKAY) \{
Dchanges.txt220 v0.19 -- Fixed a bug in mp_montgomery_reduce() which was introduced when I tweaked mp_rshd() in th…
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h490 #define mp_montgomery_reduce(a, b, c) ltc_mp.montgomery_reduce(a, b, c) macro
/external/dropbear/libtomcrypt/src/math/
Dltm_desc.c367 return mpi_to_ltc_error(mp_montgomery_reduce(a, b, *((mp_digit *)c))); in montgomery_reduce()
/external/dropbear/libtommath/demo/
Ddemo.c91 mp_montgomery_reduce(&c, &a, mp); in main()
/external/dropbear/libtomcrypt/src/math/fp/
Dltc_ecc_fp_mulmod.c734 …if ((err = mp_montgomery_reduce(fp_cache[idx].LUT[x]->z, modulus, mp)) != CRYPT_OK) … in build_lut()
/external/dropbear/libtommath/pre_gen/
Dmpi.c2724 redux = mp_montgomery_reduce; in mp_exptmod_fast()
4750 mp_montgomery_reduce (mp_int * x, mp_int * n, mp_digit rho) in mp_montgomery_reduce() function
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c3015 redux = mp_montgomery_reduce; in mp_exptmod_fast()
/external/wpa_supplicant_8/src/tls/
Dlibtommath.c3015 redux = mp_montgomery_reduce; in mp_exptmod_fast()