Searched refs:new_from (Results 1 – 4 of 4) sorted by relevance
48 pub fn new_from(data: &[u8]) -> Result<Key, Error> { in new_from() method
37 pub fn new_from(data: &[u8]) -> Result<Key, Error> { in new_from() method
116 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()
44 pub fn new_from(data: &[u8]) -> Result<Self, Error> { in new_from() method