Home
last modified time | relevance | path

Searched refs:cipher_text (Results 1 – 2 of 2) sorted by relevance

/webrtc/dtls/src/crypto/
H A Dcrypto_test.rs133 let cipher_text = ccm.encrypt(&rlh, &raw)?; in test_ccm_encryption_and_decryption() localVariable
136 &cipher_text[RECORD_LAYER_HEADER_SIZE - 2..RECORD_LAYER_HEADER_SIZE], in test_ccm_encryption_and_decryption()
140 &cipher_text[RECORD_LAYER_HEADER_SIZE - 2..RECORD_LAYER_HEADER_SIZE] in test_ccm_encryption_and_decryption()
143 let plain_text = ccm.decrypt(&cipher_text)?; in test_ccm_encryption_and_decryption()
/webrtc/srtp/src/cipher/
H A Dcipher_aes_cm_hmac_sha1.rs217 let cipher_text = &encrypted[..encrypted.len() - self.auth_tag_len()]; in decrypt_rtp() localVariable
220 let expected_tag = self.generate_srtp_auth_tag(cipher_text, roc)?; in decrypt_rtp()
229 writer.extend_from_slice(cipher_text); in decrypt_rtp()
303 let cipher_text = &encrypted[..encrypted.len() - self.auth_tag_len()]; in decrypt_rtcp() localVariable
306 let expected_tag = self.generate_srtcp_auth_tag(cipher_text); in decrypt_rtcp()