Searched refs:ECKey (Results 1 – 2 of 2) sorted by relevance
/system/security/keystore2/src/crypto/ |
D | lib.rs | 267 pub struct ECKey(*mut EC_KEY); struct 269 impl Drop for ECKey { implementation 316 pub fn ecdh_compute_key(pub_key: &EC_POINT, priv_key: &ECKey) -> Result<ZVec, Error> { in ecdh_compute_key() 338 pub fn ec_key_generate_key() -> Result<ECKey, Error> { in ec_key_generate_key() 344 Ok(ECKey(key)) in ec_key_generate_key() 348 pub fn ec_key_marshal_private_key(key: &ECKey) -> Result<ZVec, Error> { in ec_key_marshal_private_key() 364 pub fn ec_key_parse_private_key(buf: &[u8]) -> Result<ECKey, Error> { in ec_key_parse_private_key() argument 371 Ok(ECKey(key)) in ec_key_parse_private_key() 376 pub fn ec_key_get0_public_key(key: &ECKey) -> BorrowedECPoint { in ec_key_get0_public_key()
|
/system/security/keystore2/src/ |
D | ec_crypto.rs | 21 ec_point_point_to_oct, ecdh_compute_key, generate_salt, hkdf_expand, hkdf_extract, ECKey, ZVec, 26 pub struct ECDHPrivateKey(ECKey);
|