Home
last modified time | relevance | path

Searched refs:mp_sqr (Results 1 – 8 of 8) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_projective_dbl_point.c73 if ((err = mp_sqr(R->z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
111 if ((err = mp_sqr(t1, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
117 if ((err = mp_sqr(R->x, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
142 if ((err = mp_sqr(R->y, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
145 if ((err = mp_sqr(R->y, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
157 if ((err = mp_sqr(t1, R->x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
A Dltc_ecc_is_point.c34 if ((err = mp_sqr(y, t1)) != CRYPT_OK) goto cleanup; in ltc_ecc_is_point()
37 if ((err = mp_sqr(x, t2)) != CRYPT_OK) goto cleanup; in ltc_ecc_is_point()
A Dltc_ecc_projective_add_point.c80 if ((err = mp_sqr(Q->z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
94 if ((err = mp_sqr(z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
152 if ((err = mp_sqr(x, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
162 if ((err = mp_sqr(y, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
A Dltc_ecc_map.c51 if ((err = mp_sqr(t1, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
A Dltc_ecc_import_point.c40 …if ((err = mp_sqr(x, t1)) != CRYPT_OK) { goto cleanup;… in ltc_ecc_import_point()
A Decc_recover_key.c180 …if ((err = mp_sqr(x, t1)) != CRYPT_OK) … in ecc_recover_key()
/optee_os/core/lib/libtomcrypt/src/math/
A Dltm_desc.c267 return mpi_to_ltc_error(mp_sqr(a, b)); in sqr()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h188 #define mp_sqr(a, b) ltc_mp.sqr(a, b) macro

Completed in 8 milliseconds