Searched refs:x1bar (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sm2-kep.c | 223 void *x1bar = NULL; in sm2_kep_derive() local 235 ltc_res = mp_init_multi(&x1bar, &x2bar, &tA, &h, &htA, &mu, &ma, &one, in sm2_kep_derive() 256 mp_read_unsigned_bin(x1bar, tmp + SM2_INT_SIZE_BYTES / 2, in sm2_kep_derive() 261 ltc_res = mp_mulmod(x1bar, my_eph_key->k, n, tA); in sm2_kep_derive() 399 mp_clear_multi(x1bar, x2bar, tA, h, htA, mu, ma, one, NULL); in sm2_kep_derive()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | sm2-kep.c | 296 mbedtls_mpi x1bar = { }; in crypto_acipher_sm2_kep_derive() local 316 mbedtls_mpi_init(&x1bar); in crypto_acipher_sm2_kep_derive() 343 mres = mbedtls_mpi_read_binary(&x1bar, tmp + SM2_INT_SIZE_BYTES / 2, in crypto_acipher_sm2_kep_derive() 350 mres = mbedtls_mpi_mul_mpi(&tA, &x1bar, (mbedtls_mpi *)my_eph_key->d); in crypto_acipher_sm2_kep_derive() 488 mbedtls_mpi_free(&x1bar); in crypto_acipher_sm2_kep_derive()
|
Completed in 3 milliseconds