Searched refs:hmac (Results 1 – 7 of 7) sorted by relevance
| /webrtc/turn/src/auth/ |
| H A D | mod.rs | 10 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 D | integrity.rs | 10 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 D | mod.rs | 7 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 D | Cargo.toml | 25 hmac = { version = "0.12.1", features = ["std", "reset"] }
|
| /webrtc/dtls/ |
| H A D | Cargo.toml | 24 hmac = "0.12.1"
|
| /webrtc/srtp/src/cipher/ |
| H A D | cipher_aes_cm_hmac_sha1.rs | 10 use hmac::{Hmac, Mac};
|
| /webrtc/ |
| H A D | Cargo.lock | 1157 "hmac", 1161 name = "hmac" 1869 "hmac", 2710 "hmac", 2823 "hmac",
|