Lines Matching refs: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,
823 static int tls_process_certificate_status(struct tlsv1_client *conn, u8 ct,
833 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
836 ct);
1021 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct,
1029 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
1031 "received content type 0x%x", ct);
1064 return tls_process_certificate_status(conn, ct, in_data,
1067 return tls_process_certificate_request(conn, ct, in_data,
1070 return tls_process_server_hello_done(conn, ct, in_data,
1118 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct,
1125 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
1127 "received content type 0x%x", ct);
1159 return tls_process_server_hello_done(conn, ct, in_data,
1182 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct,
1189 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
1191 "received content type 0x%x", ct);
1249 u8 ct, const u8 *in_data,
1255 if (ct != TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC) {
1257 "received content type 0x%x", ct);
1277 return tls_process_certificate(conn, ct, in_data,
1319 static int tls_process_server_finished(struct tlsv1_client *conn, u8 ct,
1327 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) {
1329 "received content type 0x%x", ct);
1452 static int tls_process_application_data(struct tlsv1_client *conn, u8 ct,
1459 if (ct != TLS_CONTENT_TYPE_APPLICATION_DATA) {
1461 "received content type 0x%x", ct);
1483 int tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct,
1487 if (ct == TLS_CONTENT_TYPE_ALERT) {
1501 if (ct == TLS_CONTENT_TYPE_HANDSHAKE && *len >= 4 &&
1517 if (tls_process_server_hello(conn, ct, buf, len))
1521 if (tls_process_certificate(conn, ct, buf, len))
1525 if (tls_process_server_key_exchange(conn, ct, buf, len))
1529 if (tls_process_certificate_request(conn, ct, buf, len))
1533 if (tls_process_server_hello_done(conn, ct, buf, len))
1537 if (tls_process_server_change_cipher_spec(conn, ct, buf, len))
1541 if (tls_process_server_finished(conn, ct, buf, len))
1546 tls_process_application_data(conn, ct, buf, len, out_data,
1557 if (ct == TLS_CONTENT_TYPE_HANDSHAKE)