Lines Matching defs:ct

22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct,
24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct,
26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct,
78 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct,
86 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
88 "received content type 0x%x", ct);
354 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct,
363 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
365 "received content type 0x%x", ct);
395 return tls_process_server_key_exchange(conn, ct, in_data,
398 return tls_process_certificate_request(conn, ct, in_data,
401 return tls_process_server_hello_done(conn, ct, in_data,
824 static int tls_process_certificate_status(struct tlsv1_client *conn, u8 ct,
834 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
837 ct);
1022 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct,
1030 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
1032 "received content type 0x%x", ct);
1065 return tls_process_certificate_status(conn, ct, in_data,
1068 return tls_process_certificate_request(conn, ct, in_data,
1071 return tls_process_server_hello_done(conn, ct, in_data,
1119 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct,
1126 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
1128 "received content type 0x%x", ct);
1160 return tls_process_server_hello_done(conn, ct, in_data,
1183 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct,
1190 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
1192 "received content type 0x%x", ct);
1250 u8 ct, const u8 *in_data,
1256 if (ct != TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC) {
1258 "received content type 0x%x", ct);
1278 return tls_process_certificate(conn, ct, in_data,
1320 static int tls_process_server_finished(struct tlsv1_client *conn, u8 ct,
1328 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
1330 "received content type 0x%x", ct);
1453 static int tls_process_application_data(struct tlsv1_client *conn, u8 ct,
1460 if (ct != TLS_CONTENT_TYPE_APPLICATION_DATA) {
1462 "received content type 0x%x", ct);
1484 int tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct,
1488 if (ct == TLS_CONTENT_TYPE_ALERT) {
1502 if (ct == TLS_CONTENT_TYPE_HANDSHAKE && *len >= 4 &&
1518 if (tls_process_server_hello(conn, ct, buf, len))
1522 if (tls_process_certificate(conn, ct, buf, len))
1526 if (tls_process_server_key_exchange(conn, ct, buf, len))
1530 if (tls_process_certificate_request(conn, ct, buf, len))
1534 if (tls_process_server_hello_done(conn, ct, buf, len))
1538 if (tls_process_server_change_cipher_spec(conn, ct, buf, len))
1542 if (tls_process_server_finished(conn, ct, buf, len))
1547 tls_process_application_data(conn, ct, buf, len, out_data,
1558 if (ct == TLS_CONTENT_TYPE_HANDSHAKE)