Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/core/
A Dsm2-pke.c115 uint8_t x2y2[64] = { }; in sm2_mbedtls_pke_decrypt() local
173 mres = mbedtls_mpi_write_binary(&x2y2p.X, x2y2, SM2_INT_SIZE_BYTES); in sm2_mbedtls_pke_decrypt()
178 mres = mbedtls_mpi_write_binary(&x2y2p.Y, x2y2 + SM2_INT_SIZE_BYTES, in sm2_mbedtls_pke_decrypt()
201 res = sm2_kdf(x2y2, sizeof(x2y2), t, C2_len); in sm2_mbedtls_pke_decrypt()
234 res = crypto_hash_update(ctx, x2y2, SM2_INT_SIZE_BYTES); in sm2_mbedtls_pke_decrypt()
245 res = crypto_hash_update(ctx, x2y2 + SM2_INT_SIZE_BYTES, in sm2_mbedtls_pke_decrypt()
311 uint8_t x2y2[64] = { }; in sm2_mbedtls_pke_encrypt() local
369 mres = mbedtls_mpi_write_binary(&x2y2p.X, x2y2, SM2_INT_SIZE_BYTES); in sm2_mbedtls_pke_encrypt()
389 res = sm2_kdf(x2y2, sizeof(x2y2), t, src_len); in sm2_mbedtls_pke_encrypt()
428 res = crypto_hash_update(ctx, x2y2, SM2_INT_SIZE_BYTES); in sm2_mbedtls_pke_encrypt()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dsm2-pke.c113 uint8_t x2y2[64] = { }; in sm2_ltc_pke_decrypt() local
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()
234 res = sm2_kdf(x2y2, sizeof(x2y2), t, C2_len); in sm2_ltc_pke_decrypt()
267 res = crypto_hash_update(ctx, x2y2, SM2_INT_SIZE_BYTES); in sm2_ltc_pke_decrypt()
278 res = crypto_hash_update(ctx, x2y2 + SM2_INT_SIZE_BYTES, in sm2_ltc_pke_decrypt()
340 uint8_t x2y2[64] = { }; in sm2_ltc_pke_encrypt() local
440 mp_to_unsigned_bin2(x2y2p->x, x2y2, SM2_INT_SIZE_BYTES); in sm2_ltc_pke_encrypt()
441 mp_to_unsigned_bin2(x2y2p->y, x2y2 + SM2_INT_SIZE_BYTES, in sm2_ltc_pke_encrypt()
452 res = sm2_kdf(x2y2, sizeof(x2y2), t, src_len); in sm2_ltc_pke_encrypt()
[all …]

Completed in 4 milliseconds