Searched defs:new_from_slice (Results 1 – 7 of 7) sorted by relevance
81 pub fn new_from_slice(key: &[u8]) -> Self { in new_from_slice() method148 pub fn new_from_slice(key: &[u8]) -> Self { in new_from_slice() method252 fn new_from_slice(key: &[u8]) -> Self { in new_from_slice() method
25 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength> { in new_from_slice() method58 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength> { in new_from_slice() method
21 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>; in new_from_slice() method
243 pub fn new_from_slice(actions: &[actions::ActionType]) -> Result<Self, InvalidLength> { in new_from_slice() method
116 fn new_from_slice(_key: &[u8]) -> Result<Self, crypto_provider::hmac::InvalidLength> { in new_from_slice() method146 fn new_from_slice(_key: &[u8]) -> Result<Self, crypto_provider::hmac::InvalidLength> { in new_from_slice() method
120 pub(crate) fn new_from_slice(buffer: &'a mut [u8]) -> Self { in new_from_slice() method