Searched refs:xUyUZAZB (Results 1 – 2 of 2) sorted by relevance
/optee_os/core/lib/libtomcrypt/ |
A D | sm2-kep.c | 212 uint8_t xUyUZAZB[2 * SM2_INT_SIZE_BYTES + 2 * TEE_SM3_HASH_SIZE] = { }; in sm2_kep_derive() local 330 mp_to_unsigned_bin2(U->x, xUyUZAZB, SM2_INT_SIZE_BYTES); in sm2_kep_derive() 333 mp_to_unsigned_bin2(U->y, xUyUZAZB + SM2_INT_SIZE_BYTES, in sm2_kep_derive() 337 res = sm2_kep_compute_Z(xUyUZAZB + 2 * SM2_INT_SIZE_BYTES, in sm2_kep_derive() 344 res = sm2_kep_compute_Z(xUyUZAZB + 2 * SM2_INT_SIZE_BYTES + in sm2_kep_derive() 351 res = sm2_kdf(xUyUZAZB, sizeof(xUyUZAZB), p->out, p->out_len); in sm2_kep_derive() 366 xUyUZAZB + 2 * SM2_INT_SIZE_BYTES, in sm2_kep_derive() 390 xUyUZAZB + 2 * SM2_INT_SIZE_BYTES, in sm2_kep_derive()
|
/optee_os/lib/libmbedtls/core/ |
A D | sm2-kep.c | 285 uint8_t xUyUZAZB[2 * SM2_INT_SIZE_BYTES + 2 * TEE_SM3_HASH_SIZE] = { }; in crypto_acipher_sm2_kep_derive() local 419 mres = mbedtls_mpi_write_binary(&U.X, xUyUZAZB, SM2_INT_SIZE_BYTES); in crypto_acipher_sm2_kep_derive() 424 mres = mbedtls_mpi_write_binary(&U.Y, xUyUZAZB + SM2_INT_SIZE_BYTES, in crypto_acipher_sm2_kep_derive() 430 res = sm2_kep_compute_Z(&grp, xUyUZAZB + 2 * SM2_INT_SIZE_BYTES, in crypto_acipher_sm2_kep_derive() 437 res = sm2_kep_compute_Z(&grp, xUyUZAZB + 2 * SM2_INT_SIZE_BYTES + in crypto_acipher_sm2_kep_derive() 444 res = sm2_kdf(xUyUZAZB, sizeof(xUyUZAZB), p->out, p->out_len); in crypto_acipher_sm2_kep_derive() 459 xUyUZAZB + 2 * SM2_INT_SIZE_BYTES, in crypto_acipher_sm2_kep_derive() 483 &U, xUyUZAZB + 2 * SM2_INT_SIZE_BYTES, in crypto_acipher_sm2_kep_derive()
|
Completed in 4 milliseconds