/external/dropbear/libtommath/ |
D | bn_mp_toom_sqr.c | 50 if ((res = mp_sqr(&a0, &w0)) != MP_OKAY) { in mp_toom_sqr() 55 if ((res = mp_sqr(&a2, &w4)) != MP_OKAY) { in mp_toom_sqr() 73 if ((res = mp_sqr(&tmp1, &w1)) != MP_OKAY) { in mp_toom_sqr() 91 if ((res = mp_sqr(&tmp1, &w3)) != MP_OKAY) { in mp_toom_sqr() 103 if ((res = mp_sqr(&tmp1, &w2)) != MP_OKAY) { in mp_toom_sqr()
|
D | bn_s_mp_exptmod.c | 109 if ((err = mp_sqr (&M[1 << (winsize - 1)], in s_mp_exptmod() 173 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod() 190 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod() 217 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod()
|
D | bn_mp_karatsuba_sqr.c | 78 if (mp_sqr (&x0, &x0x0) != MP_OKAY) in mp_karatsuba_sqr() 80 if (mp_sqr (&x1, &x1x1) != MP_OKAY) in mp_karatsuba_sqr() 86 if (mp_sqr (&t1, &t1) != MP_OKAY) in mp_karatsuba_sqr()
|
D | bn_mp_exptmod_fast.c | 175 if ((err = mp_sqr (&M[1 << (winsize - 1)], &M[1 << (winsize - 1)])) != MP_OKAY) { in mp_exptmod_fast() 228 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast() 245 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast() 272 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast()
|
D | bn_mp_sqrmod.c | 29 if ((res = mp_sqr (a, &t)) != MP_OKAY) { in mp_sqrmod()
|
D | bn_mp_sqr.c | 20 mp_sqr (mp_int * a, mp_int * b) in mp_sqr() function
|
D | bn_mp_expt_d.c | 33 if ((res = mp_sqr (c, c)) != MP_OKAY) { in mp_expt_d()
|
D | bn_mp_is_square.c | 97 if ((res = mp_sqr(&t,&t)) != MP_OKAY) { in mp_is_square()
|
D | tommath.h | 320 int mp_sqr(mp_int *a, mp_int *b);
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ltc_ecc_projective_dbl_point.c | 55 if ((err = mp_sqr(R->z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 96 if ((err = mp_sqr(R->y, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 99 if ((err = mp_sqr(R->y, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 111 if ((err = mp_sqr(t1, R->x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
|
D | ltc_ecc_projective_add_point.c | 67 if ((err = mp_sqr(Q->z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 81 if ((err = mp_sqr(z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 139 if ((err = mp_sqr(x, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 149 if ((err = mp_sqr(y, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
|
D | ecc_import.c | 40 …if ((err = mp_sqr(key->pubkey.y, t1)) != CRYPT_OK) { goto … in is_point() 43 …if ((err = mp_sqr(key->pubkey.x, t2)) != CRYPT_OK) { goto … in is_point()
|
D | ltc_ecc_map.c | 53 if ((err = mp_sqr(t1, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
|
/external/dropbear/libtommath/demo/ |
D | demo.c | 152 mp_sqr(&a, &a); in main() 320 mp_sqr(&b, &b); in main() 369 mp_sqr(&b, &b); in main() 372 mp_sqr(&c, &c); in main() 583 mp_sqr(&c, &c); in main()
|
D | timing.c | 190 DO(mp_sqr(&a, &b)); in main()
|
/external/dropbear/libtommath/etc/ |
D | mersenne.c | 38 if ((res = mp_sqr (&u, &u)) != MP_OKAY) { in is_mersenne()
|
D | tune.c | 106 mp_sqr(&a,&b); in time_sqr()
|
/external/dropbear/libtommath/mtest/ |
D | mpi.h | 129 mp_err mp_sqr(mp_int *a, mp_int *b); 131 #define mp_sqr(a, b) mp_mul(a, a, b) macro
|
D | mtest.c | 173 mp_sqr(&a, &b); in main()
|
D | mpi.c | 1110 mp_err mp_sqr(mp_int *a, mp_int *b) in mp_sqr() function 1484 if((res = mp_sqr(&t, &t)) != MP_OKAY || in mp_sqrt() 1609 if((res = mp_sqr(a, c)) != MP_OKAY) in mp_sqrmod()
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
D | libtommath.c | 166 static int mp_sqr(mp_int * a, mp_int * b); 1954 if ((err = mp_sqr (&M[1 << (winsize - 1)], in s_mp_exptmod() 2018 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod() 2035 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod() 2062 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod() 2096 static int mp_sqr (mp_int * a, mp_int * b) in mp_sqr() function 2124 #error mp_sqr could fail in mp_sqr() 3083 if ((err = mp_sqr (&M[1 << (winsize - 1)], &M[1 << (winsize - 1)])) != MP_OKAY) { in mp_exptmod_fast() 3136 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast() 3153 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | libtommath.c | 166 static int mp_sqr(mp_int * a, mp_int * b); 1954 if ((err = mp_sqr (&M[1 << (winsize - 1)], in s_mp_exptmod() 2018 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod() 2035 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod() 2062 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod() 2096 static int mp_sqr (mp_int * a, mp_int * b) in mp_sqr() function 2124 #error mp_sqr could fail in mp_sqr() 3083 if ((err = mp_sqr (&M[1 << (winsize - 1)], &M[1 << (winsize - 1)])) != MP_OKAY) { in mp_exptmod_fast() 3136 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast() 3153 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast() [all …]
|
/external/dropbear/libtommath/pre_gen/ |
D | mpi.c | 2473 if ((res = mp_sqr (c, c)) != MP_OKAY) { in mp_expt_d() 2792 if ((err = mp_sqr (&M[1 << (winsize - 1)], &M[1 << (winsize - 1)])) != MP_OKAY) { in mp_exptmod_fast() 2845 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast() 2862 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast() 2889 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast() 3969 if ((res = mp_sqr(&t,&t)) != MP_OKAY) { in mp_is_square() 4343 if (mp_sqr (&x0, &x0x0) != MP_OKAY) in mp_karatsuba_sqr() 4345 if (mp_sqr (&x1, &x1x1) != MP_OKAY) in mp_karatsuba_sqr() 4351 if (mp_sqr (&t1, &t1) != MP_OKAY) in mp_karatsuba_sqr() 7283 mp_sqr (mp_int * a, mp_int * b) in mp_sqr() function [all …]
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_math.h | 476 #define mp_sqr(a, b) ltc_mp.sqr(a, b) macro
|
/external/dropbear/libtomcrypt/src/math/ |
D | ltm_desc.c | 259 return mpi_to_ltc_error(mp_sqr(a, b)); in sqr()
|