/external/boringssl/src/rust/bssl-crypto/src/ |
D | hmac.rs | 54 pub fn new_from_slice(key: &[u8]) -> Self { in new_from_slice() method 55 Self(Hmac::new_from_slice(key)) in new_from_slice() 100 pub fn new_from_slice(key: &[u8]) -> Self { in new_from_slice() method 101 Self(Hmac::new_from_slice(key)) in new_from_slice() 182 Self::new_from_slice(&key) 186 fn new_from_slice(key: &[u8]) -> Self { in new_from_slice() method 325 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256_test() 344 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256_reset_test() 381 let mut hmac: HmacSha256 = HmacSha256::new_from_slice(&key); in hmac_sha256_update_test() 409 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256_update_chunks_test() [all …]
|
/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/ |
D | hmac.rs | 54 pub fn new_from_slice(key: &[u8]) -> Self { in new_from_slice() method 55 Self(Hmac::new_from_slice(key)) in new_from_slice() 100 pub fn new_from_slice(key: &[u8]) -> Self { in new_from_slice() method 101 Self(Hmac::new_from_slice(key)) in new_from_slice() 182 Self::new_from_slice(&key) 186 fn new_from_slice(key: &[u8]) -> Self { in new_from_slice() method 325 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256_test() 344 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256_reset_test() 381 let mut hmac: HmacSha256 = HmacSha256::new_from_slice(&key); in hmac_sha256_update_test() 409 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256_update_chunks_test() [all …]
|
/external/rust/beto-rust/nearby/crypto/crypto_provider_rustcrypto/src/ |
D | hmac_rc.rs | 45 hmac::Hmac::new_from_slice(&key) 50 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength> { 51 hmac::Hmac::new_from_slice(key) 82 hmac::Hmac::new_from_slice(&key) 87 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength> { 88 hmac::Hmac::new_from_slice(key)
|
/external/rust/beto-rust/nearby/crypto/crypto_provider_boringssl/src/ |
D | hmac.rs | 25 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength> { in new_from_slice() method 26 Ok(Self(bssl_crypto::hmac::HmacSha256::new_from_slice(key))) in new_from_slice() 58 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength> { in new_from_slice() method 59 Ok(Self(bssl_crypto::hmac::HmacSha512::new_from_slice(key))) in new_from_slice()
|
/external/rust/beto-rust/nearby/crypto/crypto_provider_openssl/src/ |
D | hmac_openssl.rs | 39 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength> { in new_from_slice() method 40 new_from_slice(key) in new_from_slice() 69 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength> { in new_from_slice() method 70 new_from_slice(key) in new_from_slice() 112 fn new_from_slice<H: OpenSslHash>(key: &[u8]) -> Result<Hmac<H>, InvalidLength> { in new_from_slice() function
|
D | hmac_boringssl.rs | 46 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength> { in new_from_slice() method
|
/external/rust/beto-rust/nearby/crypto/crypto_provider/src/ |
D | hmac.rs | 21 fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>; in new_from_slice() method 136 let mut mac = H::new_from_slice(key).unwrap(); in run_test() 156 let mut mac = H::new_from_slice(key).unwrap(); in run_test()
|
/external/rust/beto-rust/nearby/crypto/crypto_provider_stubs/src/ |
D | lib.rs | 103 fn new_from_slice(_key: &[u8]) -> Result<Self, crypto_provider::hmac::InvalidLength> { in new_from_slice() method 133 fn new_from_slice(_key: &[u8]) -> Result<Self, crypto_provider::hmac::InvalidLength> { in new_from_slice() method
|
/external/rust/beto-rust/nearby/connections/ukey2/ukey2_connections/src/ |
D | d2d_connection_context_v1.rs | 339 let mut hmac = C::HmacSha256::new_from_slice(&self.signing_key).unwrap(); in encode_message_to_peer() 373 let mut hmac = C::HmacSha256::new_from_slice(&self.verify_key).unwrap(); in decode_message_from_peer()
|
/external/rust/crates/zip/src/ |
D | aes.rs | 99 let hmac = Hmac::<Sha1>::new_from_slice(hmac_key).unwrap(); in validate()
|
/external/crosvm/media/cros-codecs/src/decoders/h264/ |
D | picture.rs | 118 pub fn new_from_slice(slice: &Slice<&[u8]>, sps: &Sps, timestamp: u64) -> Self { in new_from_slice() method
|
D | decoder.rs | 1690 let mut pic = PictureData::new_from_slice(slice, sps, timestamp); in init_current_pic()
|