Lines Matching refs:x2y2
113 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()
491 res = crypto_hash_update(ctx, x2y2, SM2_INT_SIZE_BYTES); in sm2_ltc_pke_encrypt()
497 res = crypto_hash_update(ctx, x2y2 + SM2_INT_SIZE_BYTES, in sm2_ltc_pke_encrypt()