Home
last modified time | relevance | path

Searched refs:CryptoCcm (Results 1 – 3 of 3) sorted by relevance

/webrtc/dtls/src/crypto/
H A Dcrypto_ccm.rs42 CryptoCcm(AesCcm), enumerator
46 pub struct CryptoCcm { struct
56 impl Clone for CryptoCcm { argument
59 CryptoCcmType::CryptoCcm(_) => Self::new( in clone()
77 impl CryptoCcm { implementation
87 CryptoCcmTagLen::CryptoCcmTagLength => CryptoCcmType::CryptoCcm(AesCcm::new(key)), in new()
93 CryptoCcmTagLen::CryptoCcmTagLength => CryptoCcmType::CryptoCcm(AesCcm::new(key)), in new()
97 CryptoCcm { in new()
122 CryptoCcmType::CryptoCcm(ccm) => { in encrypt()
169 CryptoCcmType::CryptoCcm(ccm) => { in decrypt()
H A Dcrypto_test.rs115 let ccm = CryptoCcm::new(&CryptoCcmTagLen::CryptoCcmTagLength, &key, &iv, &key, &iv); in test_ccm_encryption_and_decryption()
/webrtc/dtls/src/cipher_suite/
H A Dcipher_suite_aes_128_ccm.rs3 use crate::crypto::crypto_ccm::{CryptoCcm, CryptoCcmTagLen};
8 ccm: Option<CryptoCcm>,
79 self.ccm = Some(CryptoCcm::new( in init()
87 self.ccm = Some(CryptoCcm::new( in init()