Home
last modified time | relevance | path

Searched refs:read_seq_num (Results 1 – 6 of 6) sorted by relevance

/external/scapy/scapy/layers/tls/
Dtools.py71 def _tls_mac_verify(alg, p, read_seq_num): argument
94 read_seq_num = struct.pack("!Q", read_seq_num)
95 h = alg.digest(read_seq_num + str(p))
186 def _tls_aead_auth_decrypt(alg, c, read_seq_num): argument
199 read_seq_num = struct.pack("!Q", read_seq_num)
200 A = read_seq_num + struct.pack('!BHH', p.type, p.version, l)
Drecord.py309 read_seq_num = struct.pack("!Q", self.tls_session.rcs.seq_num)
313 add_data = read_seq_num + chb(hdr[0]) + hdr[1:3]
316 read_seq_num)
345 read_seq_num = struct.pack("!Q", self.tls_session.rcs.seq_num)
358 h = alg.digest(read_seq_num + hdr + msg)
360 h = alg.digest_sslv3(read_seq_num + hdr[:1] + hdr[3:5] + msg)
Drecord_tls13.py113 read_seq_num = struct.pack("!Q", rcs.seq_num)
116 return rcs.cipher.auth_decrypt(b"", s, read_seq_num)
Drecord_sslv2.py96 read_seq_num = struct.pack("!I", self.tls_session.rcs.seq_num)
98 h = alg.digest(secret + msg + read_seq_num)
/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c114 os_memset(rl->read_seq_num, 0, TLS_SEQ_NUM_LEN); in tlsv1_record_change_read_cipher()
445 crypto_hash_update(hmac, rl->read_seq_num, TLS_SEQ_NUM_LEN); in tlsv1_record_receive()
482 inc_byte_array(rl->read_seq_num, TLS_SEQ_NUM_LEN); in tlsv1_record_receive()
Dtlsv1_record.h49 u8 read_seq_num[TLS_SEQ_NUM_LEN]; member