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