Searched refs:read_seq_num (Results 1 – 6 of 6) sorted by relevance
/external/scapy/scapy/layers/tls/ |
D | tools.py | 71 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)
|
D | record.py | 309 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)
|
D | record_tls13.py | 113 read_seq_num = struct.pack("!Q", rcs.seq_num) 116 return rcs.cipher.auth_decrypt(b"", s, read_seq_num)
|
D | record_sslv2.py | 96 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/ |
D | tlsv1_record.c | 114 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()
|
D | tlsv1_record.h | 49 u8 read_seq_num[TLS_SEQ_NUM_LEN]; member
|