Searched refs:mp_sqr (Results 1 – 8 of 8) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_projective_dbl_point.c | 73 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 D | ltc_ecc_is_point.c | 34 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 D | ltc_ecc_projective_add_point.c | 80 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 D | ltc_ecc_map.c | 51 if ((err = mp_sqr(t1, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
|
A D | ltc_ecc_import_point.c | 40 …if ((err = mp_sqr(x, t1)) != CRYPT_OK) { goto cleanup;… in ltc_ecc_import_point()
|
A D | ecc_recover_key.c | 180 …if ((err = mp_sqr(x, t1)) != CRYPT_OK) … in ecc_recover_key()
|
/optee_os/core/lib/libtomcrypt/src/math/ |
A D | ltm_desc.c | 267 return mpi_to_ltc_error(mp_sqr(a, b)); in sqr()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 188 #define mp_sqr(a, b) ltc_mp.sqr(a, b) macro
|
Completed in 8 milliseconds