Home
last modified time | relevance | path

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

/external/scapy/scapy/layers/tls/
Dtools.py58 def _tls_mac_add(alg, c, write_seq_num): argument
66 write_seq_num = struct.pack("!Q", write_seq_num)
67 h = alg.digest(write_seq_num + str(c))
165 def _tls_aead_auth_encrypt(alg, p, write_seq_num): argument
176 write_seq_num = struct.pack("!Q", write_seq_num)
177 A = write_seq_num + P[:5]
Drecord.py544 write_seq_num = struct.pack("!Q", self.tls_session.wcs.seq_num)
546 add_data = (write_seq_num +
551 write_seq_num)
563 write_seq_num = struct.pack("!Q", self.tls_session.wcs.seq_num)
569 h = alg.digest(write_seq_num + hdr + msg)
571 h = alg.digest_sslv3(write_seq_num + hdr[:1] + hdr[3:5] + msg)
Drecord_tls13.py178 write_seq_num = struct.pack("!Q", wcs.seq_num)
180 return wcs.cipher.auth_encrypt(s, b"", write_seq_num)
Drecord_sslv2.py189 write_seq_num = struct.pack("!I", self.tls_session.wcs.seq_num)
191 h = alg.digest(secret + msg + write_seq_num)
/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c80 os_memset(rl->write_seq_num, 0, TLS_SEQ_NUM_LEN); in tlsv1_record_change_write_cipher()
214 crypto_hash_update(hmac, rl->write_seq_num, TLS_SEQ_NUM_LEN); in tlsv1_record_send()
255 inc_byte_array(rl->write_seq_num, TLS_SEQ_NUM_LEN); in tlsv1_record_send()
Dtlsv1_record.h48 u8 write_seq_num[TLS_SEQ_NUM_LEN]; member