Lines Matching refs:assert
908 assert(config); in dtls_update_parameters()
909 assert(data_length > DTLS_HS_LENGTH + DTLS_CH_LENGTH); in dtls_update_parameters()
1088 assert(peer); in clear_hs_hash()
1560 assert(len == DTLS_COOKIE_LENGTH); in dtls_verify_peer()
1592 assert(p == mycookie); in dtls_verify_peer()
1702 assert(is_tls_ecdhe_ecdsa_with_aes_128_ccm_8(config->cipher)); in check_client_certificate_verify()
1824 assert(p - buf <= sizeof(buf)); in dtls_send_server_hello()
1860 assert(p - buf <= sizeof(buf)); in dtls_send_certificate_ecdsa()
1980 assert(p - buf <= sizeof(buf)); in dtls_send_server_key_exchange_ecdh()
1997 assert(len <= DTLS_PSK_MAX_CLIENT_IDENTITY_LEN); in dtls_send_server_key_exchange_psk()
2010 assert(p - buf <= sizeof(buf)); in dtls_send_server_key_exchange_psk()
2053 assert(p - buf <= sizeof(buf)); in dtls_send_server_certificate_request()
2233 assert(p - buf <= sizeof(buf)); in dtls_send_client_key_exchange()
2269 assert(p - buf <= sizeof(buf)); in dtls_send_certificate_verify_ecdh()
2301 assert(p - buf <= sizeof(buf)); in dtls_send_finished()
2449 assert(p - buf <= sizeof(buf)); in dtls_send_client_hello()
2561 assert(is_tls_ecdhe_ecdsa_with_aes_128_ccm_8(config->cipher)); in check_server_certificate()
2616 assert(is_tls_ecdhe_ecdsa_with_aes_128_ccm_8(config->cipher)); in check_server_key_exchange_ecdsa()
2696 assert(is_tls_psk_with_aes_128_ccm_8(config->cipher)); in check_server_key_exchange_psk()
2737 assert(is_tls_ecdhe_ecdsa_with_aes_128_ccm_8(peer->handshake_params->cipher)); in check_certificate_request()
3452 assert(0); in handle_handshake()
3829 assert(peer); in dtls_connect_peer()