Home
last modified time | relevance | path

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

/openbsd/lib/libssl/
H A 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()
359 SSL3_RECORD_INTERNAL *rr = &(s->s3->rrec); in dtls1_process_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()
836 s->s3->rrec.seq_num) < 0) { in dtls1_read_bytes()
841 s->s3->rrec.length = 0; in dtls1_read_bytes()
852 s->s3->rrec.length = 0; in dtls1_read_bytes()
[all …]
H A 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()
1001 ssl3_cbc_copy_mac(mac, &rrec, mac_len, rrec.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()
1009 rrec.length -= mac_len; in tls12_record_layer_open_record_protected_cipher()
1010 memcpy(mac, rrec.data + rrec.length, mac_len); in tls12_record_layer_open_record_protected_cipher()
[all …]
H A 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()
532 if (!tls13_record_content(rl->rrec, &cbs)) in tls13_record_layer_open_record_plaintext()
559 if (!tls13_record_header(rl->rrec, &header)) in tls13_record_layer_open_record_protected()
561 if (!tls13_record_content(rl->rrec, &enc_record)) in tls13_record_layer_open_record_protected()
811 if (rl->rrec == NULL) { in tls13_record_layer_read_record()
812 if ((rl->rrec = tls13_record_new()) == NULL) in tls13_record_layer_read_record()
826 content_type = tls13_record_content_type(rl->rrec); in tls13_record_layer_read_record()
834 tls13_record_version(rl->rrec) != TLS1_2_VERSION && in tls13_record_layer_read_record()
[all …]
H A Ddtls_local.h128 SSL3_RECORD_INTERNAL rrec; member
H A 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()
H A 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()
H A Dssl_local.h1118 SSL3_RECORD_INTERNAL rrec; /* each decoded record goes in here */ member
/openbsd/usr.sbin/tcpdump/
H A Dnameser.h234 struct rrec { struct