Home | History | Annotate | Download | only in common

Lines Matching full:frame_id

18 std::string GetAesNonce(uint32 frame_id, const std::string& iv_mask) {
21 // Serializing frame_id in big-endian order (aes_nonce[8] is the most
22 // significant byte of frame_id).
23 aes_nonce[11] = frame_id & 0xff;
24 aes_nonce[10] = (frame_id >> 8) & 0xff;
25 aes_nonce[9] = (frame_id >> 16) & 0xff;
26 aes_nonce[8] = (frame_id >> 24) & 0xff;
64 bool TransportEncryptionHandler::Encrypt(uint32 frame_id,
69 if (!encryptor_->SetCounter(GetAesNonce(frame_id, iv_mask_))) {
80 bool TransportEncryptionHandler::Decrypt(uint32 frame_id,
86 if (!encryptor_->SetCounter(GetAesNonce(frame_id, iv_mask_))) {