Lines Matching refs:x2y2
115 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()
374 mres = mbedtls_mpi_write_binary(&x2y2p.Y, 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()
434 res = crypto_hash_update(ctx, x2y2 + SM2_INT_SIZE_BYTES, in sm2_mbedtls_pke_encrypt()