Home
last modified time | relevance | path

Searched refs:alert_level (Results 1 – 5 of 5) sorted by relevance

/openbsd/lib/libssl/
H A Dtls13_record_layer.c95 uint8_t alert_level; member
283 uint8_t alert_level, alert_desc; in tls13_record_layer_process_alert() local
318 } else if (alert_level == TLS13_ALERT_LEVEL_FATAL) { in tls13_record_layer_process_alert()
323 alert_level == TLS13_ALERT_LEVEL_WARNING) { in tls13_record_layer_process_alert()
330 rl->cb.alert_recv(alert_level, alert_desc, rl->cb_arg); in tls13_record_layer_process_alert()
337 uint8_t alert_level, uint8_t alert_desc) in tls13_record_layer_alert_sent() argument
424 uint8_t alert_level, uint8_t alert_desc) in tls13_record_layer_enqueue_alert() argument
434 if (!CBB_add_u8(&cbb, alert_level)) in tls13_record_layer_enqueue_alert()
441 rl->alert_level = alert_level; in tls13_record_layer_enqueue_alert()
1213 uint8_t alert_level = TLS13_ALERT_LEVEL_FATAL; in tls13_send_alert() local
[all …]
H A Dtls13_lib.c114 tls13_legacy_alert_cb(int sent, uint8_t alert_level, uint8_t alert_desc, in tls13_legacy_alert_cb() argument
117 uint8_t alert[] = {alert_level, alert_desc}; in tls13_legacy_alert_cb()
130 tls13_legacy_alert_recv_cb(uint8_t alert_level, uint8_t alert_desc, void *arg) in tls13_legacy_alert_recv_cb() argument
132 tls13_legacy_alert_cb(0, alert_level, alert_desc, arg); in tls13_legacy_alert_recv_cb()
136 tls13_legacy_alert_sent_cb(uint8_t alert_level, uint8_t alert_desc, void *arg) in tls13_legacy_alert_sent_cb() argument
138 tls13_legacy_alert_cb(1, alert_level, alert_desc, arg); in tls13_legacy_alert_sent_cb()
142 tls13_alert_received_cb(uint8_t alert_level, uint8_t alert_desc, void *arg) in tls13_alert_received_cb() argument
147 ctx->alert_recv_cb(alert_level, alert_desc, arg); in tls13_alert_received_cb()
174 tls13_alert_sent_cb(uint8_t alert_level, uint8_t alert_desc, void *arg) in tls13_alert_sent_cb() argument
179 ctx->alert_sent_cb(alert_level, alert_desc, arg); in tls13_alert_sent_cb()
H A Dtls13_quic.c134 uint8_t alert_level = TLS13_ALERT_LEVEL_FATAL; in tls13_quic_alert_send_cb() local
145 alert_level = TLS13_ALERT_LEVEL_WARNING; in tls13_quic_alert_send_cb()
149 tls13_record_layer_alert_sent(ctx->rl, alert_level, alert_desc); in tls13_quic_alert_send_cb()
H A Dssl_pkt.c691 uint8_t alert_level, alert_descr; in ssl3_read_alert() local
726 if (!CBS_get_u8(&cbs, &alert_level)) in ssl3_read_alert()
735 (alert_level << 8) | alert_descr); in ssl3_read_alert()
737 if (alert_level == SSL3_AL_WARNING) { in ssl3_read_alert()
750 } else if (alert_level == SSL3_AL_FATAL) { in ssl3_read_alert()
H A Dtls13_internal.h214 uint8_t alert_level, uint8_t alert_desc);
317 void tls13_alert_received_cb(uint8_t alert_level, uint8_t alert_desc, void *arg);
318 void tls13_alert_sent_cb(uint8_t alert_level, uint8_t alert_desc, void *arg);