Home
last modified time | relevance | path

Searched refs:rrec (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/lib/libssl/
Dd1_pkt.c201 memcpy(&(s->s3->rrec), &(rdata->rrec), sizeof(SSL3_RECORD_INTERNAL)); in dtls1_copy_record()
224 memcpy(&(rdata->rrec), &(s->s3->rrec), sizeof(SSL3_RECORD_INTERNAL)); in dtls1_buffer_record()
231 memset(&(s->s3->rrec), 0, sizeof(SSL3_RECORD_INTERNAL)); in dtls1_buffer_record()
321 s->s3->rrec.epoch = tls_content_epoch(s->s3->rcontent); in dtls1_retrieve_buffered_rcontent()
359 SSL3_RECORD_INTERNAL *rr = &(s->s3->rrec); in dtls1_process_record()
410 SSL3_RECORD_INTERNAL *rr = &(s->s3->rrec); in dtls1_get_record()
564 s->s3->rrec.length = 0; in dtls1_read_handshake_unexpected()
593 s->s3->rrec.length = 0; in dtls1_read_handshake_unexpected()
683 s->s3->rrec.length = 0; in dtls1_read_handshake_unexpected()
821 s->s3->rrec.length = 0; in dtls1_read_bytes()
[all …]
Dtls12_record_layer.c928 SSL3_RECORD_INTERNAL rrec; in tls12_record_layer_open_record_protected_cipher() local
941 memset(&rrec, 0, sizeof(rrec)); in tls12_record_layer_open_record_protected_cipher()
984 rrec.data = content; in tls12_record_layer_open_record_protected_cipher()
985 rrec.input = content; in tls12_record_layer_open_record_protected_cipher()
986 rrec.length = content_len; in tls12_record_layer_open_record_protected_cipher()
993 ssl3_cbc_remove_padding(&rrec, eiv_len, mac_len); in tls12_record_layer_open_record_protected_cipher()
1001 ssl3_cbc_copy_mac(mac, &rrec, mac_len, rrec.length + in tls12_record_layer_open_record_protected_cipher()
1002 rrec.padding_length); in tls12_record_layer_open_record_protected_cipher()
1003 rrec.length -= mac_len; in tls12_record_layer_open_record_protected_cipher()
1005 seq_num, rrec.input, rrec.length, mac_len, in tls12_record_layer_open_record_protected_cipher()
[all …]
Dtls13_record_layer.c82 struct tls13_record *rrec; member
120 tls13_record_free(rl->rrec); in tls13_record_layer_rrec_free()
121 rl->rrec = NULL; in tls13_record_layer_rrec_free()
539 if (!tls13_record_content(rl->rrec, &cbs)) in tls13_record_layer_open_record_plaintext()
548 tls13_record_content_type(rl->rrec), CBS_data(&cbs), CBS_len(&cbs))) in tls13_record_layer_open_record_plaintext()
566 if (!tls13_record_header(rl->rrec, &header)) in tls13_record_layer_open_record_protected()
568 if (!tls13_record_content(rl->rrec, &enc_record)) in tls13_record_layer_open_record_protected()
818 if (rl->rrec == NULL) { in tls13_record_layer_read_record()
819 if ((rl->rrec = tls13_record_new()) == NULL) in tls13_record_layer_read_record()
823 if ((ret = tls13_record_recv(rl->rrec, rl->cb.wire_read, rl->cb_arg)) <= 0) { in tls13_record_layer_read_record()
[all …]
Ddtls_local.h128 SSL3_RECORD_INTERNAL rrec; member
Dtls13_legacy.c351 s->s3->rrec.type = SSL3_RT_HANDSHAKE; in tls13_use_legacy_stack()
352 s->s3->rrec.length = CBS_len(&cbs); in tls13_use_legacy_stack()
Dssl_pkt.c336 SSL3_RECORD_INTERNAL *rr = &(s->s3->rrec); in ssl3_get_record()
1122 s->s3->rrec.length = 0; in ssl3_read_bytes()
1173 s->s3->rrec.length = 0; in ssl3_read_bytes()
Dssl_local.h1096 SSL3_RECORD_INTERNAL rrec; /* each decoded record goes in here */ member
/openbsd/src/usr.sbin/tcpdump/
Dnameser.h234 struct rrec { struct