Home
last modified time | relevance | path

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

/system/security/keystore2/src/crypto/
Dlib.rs276 pub struct ECKey(*mut EC_KEY); struct
278 impl Drop for ECKey { implementation
325 pub fn ecdh_compute_key(pub_key: &EC_POINT, priv_key: &ECKey) -> Result<ZVec, Error> { in ecdh_compute_key()
347 pub fn ec_key_generate_key() -> Result<ECKey, Error> { in ec_key_generate_key()
353 Ok(ECKey(key)) in ec_key_generate_key()
357 pub fn ec_key_marshal_private_key(key: &ECKey) -> Result<ZVec, Error> { in ec_key_marshal_private_key()
372 pub fn ec_key_parse_private_key(buf: &[u8]) -> Result<ECKey, Error> { in ec_key_parse_private_key() argument
379 Ok(ECKey(key)) in ec_key_parse_private_key()
384 pub fn ec_key_get0_public_key(key: &ECKey) -> BorrowedECPoint { in ec_key_get0_public_key()
/system/security/keystore2/src/
Dec_crypto.rs22 ec_point_point_to_oct, ecdh_compute_key, generate_salt, hkdf_expand, hkdf_extract, ECKey, ZVec,
27 pub struct ECDHPrivateKey(ECKey);