Lines Matching refs:MBEDTLS_SSL_DEBUG_MSG

82     MBEDTLS_SSL_DEBUG_MSG( 3, ( "set_timer to %d ms", (int) millisecs ) );  in ssl_set_timer()
96 MBEDTLS_SSL_DEBUG_MSG( 3, ( "timer expired" ) ); in ssl_check_timer()
125 MBEDTLS_SSL_DEBUG_MSG( 3, ( "update timeout value to %d millisecs", in ssl_double_retransmit_timeout()
134 MBEDTLS_SSL_DEBUG_MSG( 3, ( "update timeout value to %d millisecs", in ssl_reset_retransmit_timeout()
501 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> derive keys" ) ); in mbedtls_ssl_derive_keys()
506 MBEDTLS_SSL_DEBUG_MSG( 1, ( "cipher info for %d not found", in mbedtls_ssl_derive_keys()
514 MBEDTLS_SSL_DEBUG_MSG( 1, ( "mbedtls_md info for %d not found", in mbedtls_ssl_derive_keys()
562 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_derive_keys()
587 MBEDTLS_SSL_DEBUG_MSG( 3, ( "using extended master secret" ) ); in mbedtls_ssl_derive_keys()
636 MBEDTLS_SSL_DEBUG_MSG( 3, ( "no premaster (session resumed)" ) ); in mbedtls_ssl_derive_keys()
666 MBEDTLS_SSL_DEBUG_MSG( 3, ( "ciphersuite = %s", in mbedtls_ssl_derive_keys()
759 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_derive_keys()
765 MBEDTLS_SSL_DEBUG_MSG( 3, ( "keylen: %d, minlen: %d, ivlen: %d, maclen: %d", in mbedtls_ssl_derive_keys()
813 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_derive_keys()
822 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_derive_keys()
841 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_derive_keys()
850 MBEDTLS_SSL_DEBUG_MSG( 2, ( "going for mbedtls_ssl_hw_record_init()" ) ); in mbedtls_ssl_derive_keys()
932 MBEDTLS_SSL_DEBUG_MSG( 3, ( "Allocating compression buffer" ) ); in mbedtls_ssl_derive_keys()
936 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc(%d bytes) failed", in mbedtls_ssl_derive_keys()
942 MBEDTLS_SSL_DEBUG_MSG( 3, ( "Initializing zlib states" ) ); in mbedtls_ssl_derive_keys()
951 MBEDTLS_SSL_DEBUG_MSG( 1, ( "Failed to initialize compression" ) ); in mbedtls_ssl_derive_keys()
957 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= derive keys" ) ); in mbedtls_ssl_derive_keys()
970 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc verify ssl" ) ); in ssl_calc_verify_ssl()
1002 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= calc verify" ) ); in ssl_calc_verify_ssl()
1017 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc verify tls" ) ); in ssl_calc_verify_tls()
1029 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= calc verify" ) ); in ssl_calc_verify_tls()
1046 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc verify sha256" ) ); in ssl_calc_verify_tls_sha256()
1052 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= calc verify" ) ); in ssl_calc_verify_tls_sha256()
1067 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc verify sha384" ) ); in ssl_calc_verify_tls_sha384()
1073 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= calc verify" ) ); in ssl_calc_verify_tls_sha384()
1179 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_psk_derive_premaster()
1258 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> encrypt buf" ) ); in ssl_encrypt_buf()
1262 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_encrypt_buf()
1308 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_encrypt_buf()
1330 MBEDTLS_SSL_DEBUG_MSG( 3, ( "before encrypt: msglen = %d, " in ssl_encrypt_buf()
1346 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_encrypt_buf()
1379 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_encrypt_buf()
1398 MBEDTLS_SSL_DEBUG_MSG( 3, ( "before encrypt: msglen = %d, " in ssl_encrypt_buf()
1419 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_encrypt_buf()
1478 MBEDTLS_SSL_DEBUG_MSG( 3, ( "before encrypt: msglen = %d, " in ssl_encrypt_buf()
1495 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_encrypt_buf()
1524 MBEDTLS_SSL_DEBUG_MSG( 3, ( "using encrypt then mac" ) ); in ssl_encrypt_buf()
1549 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_encrypt_buf()
1556 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_encrypt_buf()
1560 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= encrypt buf" ) ); in ssl_encrypt_buf()
1576 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> decrypt buf" ) ); in ssl_decrypt_buf()
1580 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_decrypt_buf()
1588 MBEDTLS_SSL_DEBUG_MSG( 1, ( "in_msglen (%d) < minlen (%d)", in ssl_decrypt_buf()
1613 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_decrypt_buf()
1635 MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) < explicit_iv_len (%d) " in ssl_decrypt_buf()
1686 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_decrypt_buf()
1717 MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) < max( ivlen(%d), maclen (%d) " in ssl_decrypt_buf()
1737 MBEDTLS_SSL_DEBUG_MSG( 3, ( "using encrypt then mac" ) ); in ssl_decrypt_buf()
1763 MBEDTLS_SSL_DEBUG_MSG( 1, ( "message mac does not match" ) ); in ssl_decrypt_buf()
1776 MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) %% ivlen (%d) != 0", in ssl_decrypt_buf()
1807 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_decrypt_buf()
1829 MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) < maclen (%d) + padlen (%d)", in ssl_decrypt_buf()
1842 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad padding length: is %d, " in ssl_decrypt_buf()
1889 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad padding byte detected" ) ); in ssl_decrypt_buf()
1897 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_decrypt_buf()
1907 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_decrypt_buf()
1980 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_decrypt_buf()
1992 MBEDTLS_SSL_DEBUG_MSG( 1, ( "message mac does not match" ) ); in ssl_decrypt_buf()
2009 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in ssl_decrypt_buf()
2023 MBEDTLS_SSL_DEBUG_MSG( 1, ( "received four consecutive empty " in ssl_decrypt_buf()
2046 MBEDTLS_SSL_DEBUG_MSG( 1, ( "incoming message counter would wrap" ) ); in ssl_decrypt_buf()
2051 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= decrypt buf" ) ); in ssl_decrypt_buf()
2071 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> compress buf" ) ); in ssl_compress_buf()
2078 MBEDTLS_SSL_DEBUG_MSG( 3, ( "before compression: msglen = %d, ", in ssl_compress_buf()
2092 MBEDTLS_SSL_DEBUG_MSG( 1, ( "failed to perform compression (%d)", ret ) ); in ssl_compress_buf()
2099 MBEDTLS_SSL_DEBUG_MSG( 3, ( "after compression: msglen = %d, ", in ssl_compress_buf()
2105 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= compress buf" ) ); in ssl_compress_buf()
2117 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> decompress buf" ) ); in ssl_decompress_buf()
2124 MBEDTLS_SSL_DEBUG_MSG( 3, ( "before decompression: msglen = %d, ", in ssl_decompress_buf()
2138 MBEDTLS_SSL_DEBUG_MSG( 1, ( "failed to perform decompression (%d)", ret ) ); in ssl_decompress_buf()
2145 MBEDTLS_SSL_DEBUG_MSG( 3, ( "after decompression: msglen = %d, ", in ssl_decompress_buf()
2151 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= decompress buf" ) ); in ssl_decompress_buf()
2178 MBEDTLS_SSL_DEBUG_MSG( 2, ( "no longer retransmitting hello request" ) ); in ssl_resend_hello_request()
2208 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> fetch input" ) ); in mbedtls_ssl_fetch_input()
2212 MBEDTLS_SSL_DEBUG_MSG( 1, ( "Bad usage of mbedtls_ssl_set_bio() " in mbedtls_ssl_fetch_input()
2219 MBEDTLS_SSL_DEBUG_MSG( 1, ( "requesting more data than fits" ) ); in mbedtls_ssl_fetch_input()
2231 MBEDTLS_SSL_DEBUG_MSG( 1, ( "You must use " in mbedtls_ssl_fetch_input()
2250 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_fetch_input()
2258 MBEDTLS_SSL_DEBUG_MSG( 2, ( "next record in same datagram, offset: %d", in mbedtls_ssl_fetch_input()
2268 MBEDTLS_SSL_DEBUG_MSG( 2, ( "in_left: %d, nb_want: %d", in mbedtls_ssl_fetch_input()
2276 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= fetch input" ) ); in mbedtls_ssl_fetch_input()
2287 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_fetch_input()
2307 MBEDTLS_SSL_DEBUG_MSG( 3, ( "f_recv_timeout: %u ms", timeout ) ); in mbedtls_ssl_fetch_input()
2323 MBEDTLS_SSL_DEBUG_MSG( 2, ( "timeout" ) ); in mbedtls_ssl_fetch_input()
2330 MBEDTLS_SSL_DEBUG_MSG( 1, ( "handshake timeout" ) ); in mbedtls_ssl_fetch_input()
2365 MBEDTLS_SSL_DEBUG_MSG( 2, ( "in_left: %d, nb_want: %d", in mbedtls_ssl_fetch_input()
2389 MBEDTLS_SSL_DEBUG_MSG( 2, ( "in_left: %d, nb_want: %d", in mbedtls_ssl_fetch_input()
2403 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= fetch input" ) ); in mbedtls_ssl_fetch_input()
2416 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> flush output" ) ); in mbedtls_ssl_flush_output()
2420 MBEDTLS_SSL_DEBUG_MSG( 1, ( "Bad usage of mbedtls_ssl_set_bio() " in mbedtls_ssl_flush_output()
2428 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= flush output" ) ); in mbedtls_ssl_flush_output()
2434 MBEDTLS_SSL_DEBUG_MSG( 2, ( "message length: %d, out_left: %d", in mbedtls_ssl_flush_output()
2456 MBEDTLS_SSL_DEBUG_MSG( 1, ( "outgoing message counter would wrap" ) ); in mbedtls_ssl_flush_output()
2460 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= flush output" ) ); in mbedtls_ssl_flush_output()
2479 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc %d bytes failed", in ssl_flight_append()
2486 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc %d bytes failed", ssl->out_msglen ) ); in ssl_flight_append()
2544 MBEDTLS_SSL_DEBUG_MSG( 3, ( "skip swap epochs" ) ); in ssl_swap_epochs()
2548 MBEDTLS_SSL_DEBUG_MSG( 3, ( "swap epochs" ) ); in ssl_swap_epochs()
2591 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> mbedtls_ssl_resend" ) ); in mbedtls_ssl_resend()
2595 MBEDTLS_SSL_DEBUG_MSG( 2, ( "initialise resending" ) ); in mbedtls_ssl_resend()
2640 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= mbedtls_ssl_resend" ) ); in mbedtls_ssl_resend()
2701 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write record" ) ); in mbedtls_ssl_write_record()
2719 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_write_record()
2798 MBEDTLS_SSL_DEBUG_MSG( 2, ( "going for mbedtls_ssl_hw_record_write()" ) ); in mbedtls_ssl_write_record()
2835 MBEDTLS_SSL_DEBUG_MSG( 3, ( "output record: msgtype = %d, " in mbedtls_ssl_write_record()
2850 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= write record" ) ); in mbedtls_ssl_write_record()
2933 MBEDTLS_SSL_DEBUG_MSG( 1, ( "not supported outside handshake (for now)" ) ); in ssl_reassemble_dtls_handshake()
2944 MBEDTLS_SSL_DEBUG_MSG( 2, ( "initialize reassembly, total length = %d", in ssl_reassemble_dtls_handshake()
2949 MBEDTLS_SSL_DEBUG_MSG( 1, ( "handshake message too large" ) ); in ssl_reassemble_dtls_handshake()
2959 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc failed (%d bytes)", alloc_len ) ); in ssl_reassemble_dtls_handshake()
2975 MBEDTLS_SSL_DEBUG_MSG( 1, ( "fragment header mismatch" ) ); in ssl_reassemble_dtls_handshake()
2995 MBEDTLS_SSL_DEBUG_MSG( 1, ( "invalid fragment offset/len: %d + %d > %d", in ssl_reassemble_dtls_handshake()
3002 MBEDTLS_SSL_DEBUG_MSG( 1, ( "invalid fragment length: %d + 12 > %d", in ssl_reassemble_dtls_handshake()
3007 MBEDTLS_SSL_DEBUG_MSG( 2, ( "adding fragment, offset = %d, length = %d", in ssl_reassemble_dtls_handshake()
3019 MBEDTLS_SSL_DEBUG_MSG( 2, ( "message is not complete yet" ) ); in ssl_reassemble_dtls_handshake()
3023 MBEDTLS_SSL_DEBUG_MSG( 2, ( "handshake message completed" ) ); in ssl_reassemble_dtls_handshake()
3032 MBEDTLS_SSL_DEBUG_MSG( 1, ( "last fragment not alone in its record" ) ); in ssl_reassemble_dtls_handshake()
3054 MBEDTLS_SSL_DEBUG_MSG( 1, ( "reassembled message too large for buffer" ) ); in ssl_reassemble_dtls_handshake()
3077 MBEDTLS_SSL_DEBUG_MSG( 1, ( "handshake message too short: %d", in mbedtls_ssl_prepare_handshake_record()
3087 MBEDTLS_SSL_DEBUG_MSG( 3, ( "handshake message: msglen =" in mbedtls_ssl_prepare_handshake_record()
3107 MBEDTLS_SSL_DEBUG_MSG( 2, ( "received message from last flight, " in mbedtls_ssl_prepare_handshake_record()
3120 MBEDTLS_SSL_DEBUG_MSG( 2, ( "dropping out-of-sequence message: " in mbedtls_ssl_prepare_handshake_record()
3137 MBEDTLS_SSL_DEBUG_MSG( 2, ( "found fragmented DTLS handshake message" ) ); in mbedtls_ssl_prepare_handshake_record()
3151 MBEDTLS_SSL_DEBUG_MSG( 1, ( "TLS handshake fragmentation not supported" ) ); in mbedtls_ssl_prepare_handshake_record()
3485 MBEDTLS_SSL_DEBUG_MSG( 3, ( "input record: msgtype = %d, " in ssl_parse_record_header()
3496 MBEDTLS_SSL_DEBUG_MSG( 1, ( "unknown record type" ) ); in ssl_parse_record_header()
3511 MBEDTLS_SSL_DEBUG_MSG( 1, ( "major version mismatch" ) ); in ssl_parse_record_header()
3517 MBEDTLS_SSL_DEBUG_MSG( 1, ( "minor version mismatch" ) ); in ssl_parse_record_header()
3525 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad message length" ) ); in ssl_parse_record_header()
3535 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad message length" ) ); in ssl_parse_record_header()
3543 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad message length" ) ); in ssl_parse_record_header()
3551 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad message length" ) ); in ssl_parse_record_header()
3564 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad message length" ) ); in ssl_parse_record_header()
3586 MBEDTLS_SSL_DEBUG_MSG( 1, ( "dropping unexpected ChangeCipherSpec" ) ); in ssl_parse_record_header()
3600 MBEDTLS_SSL_DEBUG_MSG( 1, ( "dropping unexpected ApplicationData" ) ); in ssl_parse_record_header()
3607 MBEDTLS_SSL_DEBUG_MSG( 1, ( "record from another epoch: " in ssl_parse_record_header()
3625 MBEDTLS_SSL_DEBUG_MSG( 1, ( "possible client reconnect " in ssl_parse_record_header()
3639 MBEDTLS_SSL_DEBUG_MSG( 1, ( "replayed record" ) ); in ssl_parse_record_header()
3662 MBEDTLS_SSL_DEBUG_MSG( 2, ( "going for mbedtls_ssl_hw_record_read()" ) ); in ssl_prepare_record_content()
3688 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad message length" ) ); in ssl_prepare_record_content()
3728 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> read record" ) ); in mbedtls_ssl_read_record()
3753 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= read record" ) ); in mbedtls_ssl_read_record()
3805 MBEDTLS_SSL_DEBUG_MSG( 1, ( "discarding unexpected record " in mbedtls_ssl_read_record_layer()
3814 MBEDTLS_SSL_DEBUG_MSG( 1, ( "discarding invalid record " in mbedtls_ssl_read_record_layer()
3873 MBEDTLS_SSL_DEBUG_MSG( 1, ( "too many records with bad MAC" ) ); in mbedtls_ssl_read_record_layer()
3878 MBEDTLS_SSL_DEBUG_MSG( 1, ( "discarding invalid record (mac)" ) ); in mbedtls_ssl_read_record_layer()
3923 MBEDTLS_SSL_DEBUG_MSG( 2, ( "received retransmit of last flight" ) ); in mbedtls_ssl_read_record_layer()
3960 MBEDTLS_SSL_DEBUG_MSG( 2, ( "got an alert message, type: [%d:%d]", in mbedtls_ssl_handle_message_type()
3968 MBEDTLS_SSL_DEBUG_MSG( 1, ( "is a fatal alert message (msg %d)", in mbedtls_ssl_handle_message_type()
3976 MBEDTLS_SSL_DEBUG_MSG( 2, ( "is a close notify message" ) ); in mbedtls_ssl_handle_message_type()
3984 MBEDTLS_SSL_DEBUG_MSG( 2, ( "is a SSLv3 no_cert" ) ); in mbedtls_ssl_handle_message_type()
3996 MBEDTLS_SSL_DEBUG_MSG( 2, ( "is a SSLv3 no_cert" ) ); in mbedtls_ssl_handle_message_type()
4032 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> send alert message" ) ); in mbedtls_ssl_send_alert_message()
4045 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= send alert message" ) ); in mbedtls_ssl_send_alert_message()
4064 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write certificate" ) ); in mbedtls_ssl_write_certificate()
4071 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= skip write certificate" ) ); in mbedtls_ssl_write_certificate()
4076 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_write_certificate()
4084 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> parse certificate" ) ); in mbedtls_ssl_parse_certificate()
4091 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= skip parse certificate" ) ); in mbedtls_ssl_parse_certificate()
4096 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_parse_certificate()
4107 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write certificate" ) ); in mbedtls_ssl_write_certificate()
4114 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= skip write certificate" ) ); in mbedtls_ssl_write_certificate()
4124 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= skip write certificate" ) ); in mbedtls_ssl_write_certificate()
4142 MBEDTLS_SSL_DEBUG_MSG( 2, ( "got no certificate to send" ) ); in mbedtls_ssl_write_certificate()
4153 MBEDTLS_SSL_DEBUG_MSG( 1, ( "got no certificate to send" ) ); in mbedtls_ssl_write_certificate()
4178 MBEDTLS_SSL_DEBUG_MSG( 1, ( "certificate too large, %d > %d", in mbedtls_ssl_write_certificate()
4211 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= write certificate" ) ); in mbedtls_ssl_write_certificate()
4223 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> parse certificate" ) ); in mbedtls_ssl_parse_certificate()
4230 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= skip parse certificate" ) ); in mbedtls_ssl_parse_certificate()
4239 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= skip parse certificate" ) ); in mbedtls_ssl_parse_certificate()
4253 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= skip parse certificate" ) ); in mbedtls_ssl_parse_certificate()
4280 MBEDTLS_SSL_DEBUG_MSG( 1, ( "SSLv3 client has no certificate" ) ); in mbedtls_ssl_parse_certificate()
4301 MBEDTLS_SSL_DEBUG_MSG( 1, ( "TLSv1 client has no certificate" ) ); in mbedtls_ssl_parse_certificate()
4316 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad certificate message" ) ); in mbedtls_ssl_parse_certificate()
4323 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad certificate message" ) ); in mbedtls_ssl_parse_certificate()
4337 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad certificate message" ) ); in mbedtls_ssl_parse_certificate()
4351 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc(%d bytes) failed", in mbedtls_ssl_parse_certificate()
4364 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad certificate message" ) ); in mbedtls_ssl_parse_certificate()
4374 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad certificate message" ) ); in mbedtls_ssl_parse_certificate()
4401 MBEDTLS_SSL_DEBUG_MSG( 1, ( "new server cert during renegotiation" ) ); in mbedtls_ssl_parse_certificate()
4411 MBEDTLS_SSL_DEBUG_MSG( 1, ( "server cert changed during renegotiation" ) ); in mbedtls_ssl_parse_certificate()
4437 MBEDTLS_SSL_DEBUG_MSG( 1, ( "got no CA chain" ) ); in mbedtls_ssl_parse_certificate()
4469 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad certificate (EC key curve)" ) ); in mbedtls_ssl_parse_certificate()
4481 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad certificate (usage extensions)" ) ); in mbedtls_ssl_parse_certificate()
4490 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse certificate" ) ); in mbedtls_ssl_parse_certificate()
4506 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write change cipher spec" ) ); in mbedtls_ssl_write_change_cipher_spec()
4520 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= write change cipher spec" ) ); in mbedtls_ssl_write_change_cipher_spec()
4529 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> parse change cipher spec" ) ); in mbedtls_ssl_parse_change_cipher_spec()
4539 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad change cipher spec message" ) ); in mbedtls_ssl_parse_change_cipher_spec()
4545 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad change cipher spec message" ) ); in mbedtls_ssl_parse_change_cipher_spec()
4553 MBEDTLS_SSL_DEBUG_MSG( 3, ( "switching to new transform spec for inbound data" ) ); in mbedtls_ssl_parse_change_cipher_spec()
4567 MBEDTLS_SSL_DEBUG_MSG( 1, ( "DTLS epoch would wrap" ) ); in mbedtls_ssl_parse_change_cipher_spec()
4599 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse change cipher spec" ) ); in mbedtls_ssl_parse_change_cipher_spec()
4628 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_optimize_checksum()
4712 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc finished ssl" ) ); in ssl_calc_finished_ssl()
4777 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= calc finished" ) ); in ssl_calc_finished_ssl()
4795 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc finished tls" ) ); in ssl_calc_finished_tls()
4836 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= calc finished" ) ); in ssl_calc_finished_tls()
4856 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc finished tls sha256" ) ); in ssl_calc_finished_tls_sha256()
4886 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= calc finished" ) ); in ssl_calc_finished_tls_sha256()
4905 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc finished tls sha384" ) ); in ssl_calc_finished_tls_sha384()
4935 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= calc finished" ) ); in ssl_calc_finished_tls_sha384()
4942 MBEDTLS_SSL_DEBUG_MSG( 3, ( "=> handshake wrapup: final free" ) ); in ssl_handshake_wrapup_free_hs_transform()
4962 MBEDTLS_SSL_DEBUG_MSG( 3, ( "<= handshake wrapup: final free" ) ); in ssl_handshake_wrapup_free_hs_transform()
4969 MBEDTLS_SSL_DEBUG_MSG( 3, ( "=> handshake wrapup" ) ); in mbedtls_ssl_handshake_wrapup()
5004 MBEDTLS_SSL_DEBUG_MSG( 1, ( "cache did not store session" ) ); in mbedtls_ssl_handshake_wrapup()
5016 MBEDTLS_SSL_DEBUG_MSG( 3, ( "skip freeing handshake and transform" ) ); in mbedtls_ssl_handshake_wrapup()
5024 MBEDTLS_SSL_DEBUG_MSG( 3, ( "<= handshake wrapup" ) ); in mbedtls_ssl_handshake_wrapup()
5031 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write finished" ) ); in mbedtls_ssl_write_finished()
5085 MBEDTLS_SSL_DEBUG_MSG( 3, ( "switching to new transform spec for outbound data" ) ); in mbedtls_ssl_write_finished()
5107 MBEDTLS_SSL_DEBUG_MSG( 1, ( "DTLS epoch would wrap" ) ); in mbedtls_ssl_write_finished()
5140 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= write finished" ) ); in mbedtls_ssl_write_finished()
5157 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> parse finished" ) ); in mbedtls_ssl_parse_finished()
5169 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad finished message" ) ); in mbedtls_ssl_parse_finished()
5184 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad finished message" ) ); in mbedtls_ssl_parse_finished()
5191 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad finished message" ) ); in mbedtls_ssl_parse_finished()
5219 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse finished" ) ); in mbedtls_ssl_parse_finished()
5318 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc() of ssl sub-contexts failed" ) ); in ssl_handshake_init()
5407 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc(%d bytes) failed", len ) ); in mbedtls_ssl_setup()
5514 MBEDTLS_SSL_DEBUG_MSG( 2, ( "going for mbedtls_ssl_hw_record_reset()" ) ); in ssl_session_reset_int()
6248 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_get_record_expansion()
6335 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> handshake" ) ); in mbedtls_ssl_handshake()
6345 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= handshake" ) ); in mbedtls_ssl_handshake()
6359 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write hello request" ) ); in ssl_write_hello_request()
6371 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= write hello request" ) ); in ssl_write_hello_request()
6390 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> renegotiate" ) ); in ssl_start_renegotiation()
6417 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= renegotiate" ) ); in ssl_start_renegotiation()
6497 MBEDTLS_SSL_DEBUG_MSG( 1, ( "record counter limit reached: renegotiate" ) ); in ssl_check_ctr_renegotiate()
6513 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> read" ) ); in mbedtls_ssl_read()
6592 MBEDTLS_SSL_DEBUG_MSG( 1, ( "received handshake message" ) ); in mbedtls_ssl_read()
6599 MBEDTLS_SSL_DEBUG_MSG( 1, ( "handshake received (not HelloRequest)" ) ); in mbedtls_ssl_read()
6612 MBEDTLS_SSL_DEBUG_MSG( 1, ( "handshake received (not ClientHello)" ) ); in mbedtls_ssl_read()
6628 MBEDTLS_SSL_DEBUG_MSG( 3, ( "refusing renegotiation, sending alert" ) ); in mbedtls_ssl_read()
6656 MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) ); in mbedtls_ssl_read()
6694 MBEDTLS_SSL_DEBUG_MSG( 1, ( "renegotiation requested, " in mbedtls_ssl_read()
6705 MBEDTLS_SSL_DEBUG_MSG( 2, ( "ignoring non-fatal non-closure alert" ) ); in mbedtls_ssl_read()
6711 MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad application data message" ) ); in mbedtls_ssl_read()
6753 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= read" ) ); in mbedtls_ssl_read()
6774 MBEDTLS_SSL_DEBUG_MSG( 1, ( "fragment larger than the (negotiated) " in ssl_write_real()
6854 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write" ) ); in mbedtls_ssl_write()
6882 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= write" ) ); in mbedtls_ssl_write()
6897 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write close notify" ) ); in mbedtls_ssl_close_notify()
6913 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= write close notify" ) ); in mbedtls_ssl_close_notify()
7055 MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> free" ) ); in mbedtls_ssl_free()
7111 MBEDTLS_SSL_DEBUG_MSG( 2, ( "going for mbedtls_ssl_hw_record_finish()" ) ); in mbedtls_ssl_free()
7120 MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= free" ) ); in mbedtls_ssl_free()