Home
last modified time | relevance | path

Searched refs:ltc_private_key (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/
A Dx25519.c74 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(&ltc_private_key, &ltc_public_key, in crypto_acipher_x25519_shared_secret()
97 memzero_explicit(&ltc_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 Decc.c327 ecc_key ltc_private_key = { }; in _ltc_ecc_shared_secret() local
335 res = ecc_populate_ltc_private_key(&ltc_private_key, private_key, in _ltc_ecc_shared_secret()
344 ltc_res = ecc_shared_secret(&ltc_private_key, &ltc_public_key, in _ltc_ecc_shared_secret()
352 ecc_free(&ltc_private_key); in _ltc_ecc_shared_secret()

Completed in 3 milliseconds