Searched refs:ltc_private_key (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | x25519.c | 74 curve25519_key ltc_private_key = { in crypto_acipher_x25519_shared_secret() local 90 memcpy(ltc_private_key.priv, private_key->priv, X25519_KEY_SIZE_BYTES); in crypto_acipher_x25519_shared_secret() 92 if (x25519_shared_secret(<c_private_key, <c_public_key, in crypto_acipher_x25519_shared_secret() 97 memzero_explicit(<c_private_key, sizeof(ltc_private_key)); in crypto_acipher_x25519_shared_secret() 104 !consttime_memcmp(secret, ltc_private_key.pub, in crypto_acipher_x25519_shared_secret()
|
A D | ecc.c | 327 ecc_key ltc_private_key = { }; in _ltc_ecc_shared_secret() local 335 res = ecc_populate_ltc_private_key(<c_private_key, private_key, in _ltc_ecc_shared_secret() 344 ltc_res = ecc_shared_secret(<c_private_key, <c_public_key, in _ltc_ecc_shared_secret() 352 ecc_free(<c_private_key); in _ltc_ecc_shared_secret()
|
Completed in 3 milliseconds