Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_projective_dbl_point.c66 if ((err = mp_sqr(R->z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
104 if ((err = mp_sqr(t1, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
110 if ((err = mp_sqr(R->x, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
135 if ((err = mp_sqr(R->y, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
138 if ((err = mp_sqr(R->y, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
150 if ((err = mp_sqr(t1, R->x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
A Dltc_ecc_is_point.c27 if ((err = mp_sqr(y, t1)) != CRYPT_OK) goto cleanup; in ltc_ecc_is_point()
30 if ((err = mp_sqr(x, t2)) != CRYPT_OK) goto cleanup; in ltc_ecc_is_point()
A Dltc_ecc_projective_add_point.c73 if ((err = mp_sqr(Q->z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
87 if ((err = mp_sqr(z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
145 if ((err = mp_sqr(x, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
155 if ((err = mp_sqr(y, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
A Dltc_ecc_map.c44 if ((err = mp_sqr(t1, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
A Dltc_ecc_import_point.c33 …if ((err = mp_sqr(x, t1)) != CRYPT_OK) { goto cleanup;… in ltc_ecc_import_point()
A Decc_recover_key.c174 …if ((err = mp_sqr(x, t1)) != CRYPT_OK) … in ecc_recover_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dltm_desc.c291 return mpi_to_ltc_error(mp_sqr(a, b)); in sqr()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h201 #define mp_sqr(a, b) ltc_mp.sqr(a, b) macro

Completed in 8 milliseconds