Home
last modified time | relevance | path

Searched refs:x2y2p (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/core/
A Dsm2-pke.c118 mbedtls_ecp_point x2y2p = { }; in sm2_mbedtls_pke_decrypt() local
137 mbedtls_ecp_point_init(&x2y2p); in sm2_mbedtls_pke_decrypt()
167 if (mbedtls_mpi_size(&x2y2p.X) > SM2_INT_SIZE_BYTES || in sm2_mbedtls_pke_decrypt()
168 mbedtls_mpi_size(&x2y2p.Y) > SM2_INT_SIZE_BYTES) { in sm2_mbedtls_pke_decrypt()
262 mbedtls_ecp_point_free(&x2y2p); in sm2_mbedtls_pke_decrypt()
308 mbedtls_ecp_point x2y2p = { }; in sm2_mbedtls_pke_encrypt() local
321 mbedtls_ecp_point_init(&x2y2p); in sm2_mbedtls_pke_encrypt()
357 mres = mbedtls_ecp_mul(&grp, &x2y2p, &k, &PB, mbd_rand, NULL); in sm2_mbedtls_pke_encrypt()
363 if (mbedtls_mpi_size(&x2y2p.X) > SM2_INT_SIZE_BYTES || in sm2_mbedtls_pke_encrypt()
364 mbedtls_mpi_size(&x2y2p.Y) > SM2_INT_SIZE_BYTES) { in sm2_mbedtls_pke_encrypt()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dsm2-pke.c118 ecc_point *x2y2p = NULL; in sm2_ltc_pke_decrypt() local
195 x2y2p = ltc_ecc_new_point(); in sm2_ltc_pke_decrypt()
196 if (!x2y2p) { in sm2_ltc_pke_decrypt()
214 mp_to_unsigned_bin2(x2y2p->x, x2y2, SM2_INT_SIZE_BYTES); in sm2_ltc_pke_decrypt()
215 mp_to_unsigned_bin2(x2y2p->y, x2y2 + SM2_INT_SIZE_BYTES, in sm2_ltc_pke_decrypt()
294 ltc_ecc_del_point(x2y2p); in sm2_ltc_pke_decrypt()
337 ecc_point *x2y2p = NULL; in sm2_ltc_pke_encrypt() local
421 x2y2p = ltc_ecc_new_point(); in sm2_ltc_pke_encrypt()
422 if (!x2y2p) { in sm2_ltc_pke_encrypt()
440 mp_to_unsigned_bin2(x2y2p->x, x2y2, SM2_INT_SIZE_BYTES); in sm2_ltc_pke_encrypt()
[all …]

Completed in 4 milliseconds