Home
last modified time | relevance | path

Searched refs:hmac (Results 1 – 7 of 7) sorted by relevance

/webrtc/turn/src/auth/
H A Dmod.rs10 use ring::hmac;
28 let mac = hmac::Key::new( in long_term_credentials()
29 hmac::HMAC_SHA1_FOR_LEGACY_USE_ONLY, in long_term_credentials()
32 let password = hmac::sign(&mac, username.as_bytes()).as_ref().to_vec(); in long_term_credentials()
/webrtc/stun/src/
H A Dintegrity.rs10 use ring::hmac;
26 let mac = hmac::Key::new(hmac::HMAC_SHA1_FOR_LEGACY_USE_ONLY, key); in new_hmac()
27 hmac::sign(&mac, message).as_ref().to_vec() in new_hmac()
/webrtc/dtls/src/prf/
H A Dmod.rs7 use hmac::{Hmac, Mac};
301 let mut hmac = HmacSha1::new_from_slice(key).map_err(|e| Error::Other(e.to_string()))?; in prf_mac() localVariable
311 hmac.update(&msg); in prf_mac()
312 hmac.update(payload); in prf_mac()
313 let result = hmac.finalize(); in prf_mac()
/webrtc/srtp/
H A DCargo.toml25 hmac = { version = "0.12.1", features = ["std", "reset"] }
/webrtc/dtls/
H A DCargo.toml24 hmac = "0.12.1"
/webrtc/srtp/src/cipher/
H A Dcipher_aes_cm_hmac_sha1.rs10 use hmac::{Hmac, Mac};
/webrtc/
H A DCargo.lock1157 "hmac",
1161 name = "hmac"
1869 "hmac",
2710 "hmac",
2823 "hmac",