Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Dec_crypto.rs21 ec_point_point_to_oct, ecdh_compute_key, generate_salt, hkdf_expand, hkdf_extract, ECKey, ZVec,
72 let secret = ecdh_compute_key(other_public_key.get_point(), &self.0) in agree_key()
/system/security/keystore2/src/crypto/
Dlib.rs316 pub fn ecdh_compute_key(pub_key: &EC_POINT, priv_key: &ECKey) -> Result<ZVec, Error> { in ecdh_compute_key() function
562 let left_key = ecdh_compute_key(pub0.get_point(), &priv1)?; in test_ec()
563 let right_key = ecdh_compute_key(pub1.get_point(), &priv0)?; in test_ec()