Home
last modified time | relevance | path

Searched refs:new_from (Results 1 – 4 of 4) sorted by relevance

/system/keymint/common/src/crypto/
Dhmac.rs48 pub fn new_from(data: &[u8]) -> Result<Key, Error> { in new_from() method
Ddes.rs37 pub fn new_from(data: &[u8]) -> Result<Key, Error> { in new_from() method
Dtraits.rs116 let aes_key = aes::Key::new_from(data)?; in import_key()
159 let des_key = des::Key::new_from(data)?; in import_key()
200 let hmac_key = hmac::Key::new_from(data)?; in import_key()
Daes.rs44 pub fn new_from(data: &[u8]) -> Result<Self, Error> { in new_from() method