Lines Matching refs:status

121 UINT                                  status;  in _nx_secure_tls_server_handshake()  local
147status = _nx_secure_tls_process_handshake_header(packet_buffer, &message_type, &header_bytes, &mes… in _nx_secure_tls_server_handshake()
149 if (status != NX_SECURE_TLS_SUCCESS) in _nx_secure_tls_server_handshake()
151 return(status); in _nx_secure_tls_server_handshake()
184 status = NX_SECURE_TLS_SUCCESS; in _nx_secure_tls_server_handshake()
189 status = _nx_secure_tls_process_clienthello(tls_session, packet_buffer, message_length); in _nx_secure_tls_server_handshake()
195status = _nx_secure_tls_process_remote_certificate(tls_session, packet_buffer, message_length, dat… in _nx_secure_tls_server_handshake()
200status = _nx_secure_tls_process_certificate_verify(tls_session, packet_buffer, message_length); in _nx_secure_tls_server_handshake()
202 if(status == NX_SUCCESS) in _nx_secure_tls_server_handshake()
214status = _nx_secure_tls_process_client_key_exchange(tls_session, packet_buffer, message_length, NX… in _nx_secure_tls_server_handshake()
217 if (status == NX_SECURE_TLS_SUCCESS) in _nx_secure_tls_server_handshake()
221 status = _nx_secure_tls_generate_keys(tls_session); in _nx_secure_tls_server_handshake()
226 status = _nx_secure_tls_process_finished(tls_session, packet_buffer, message_length); in _nx_secure_tls_server_handshake()
239 status = NX_SECURE_TLS_UNEXPECTED_MESSAGE; in _nx_secure_tls_server_handshake()
244 if (status != NX_SECURE_TLS_SUCCESS) in _nx_secure_tls_server_handshake()
262status = _nx_secure_tls_allocate_handshake_packet(tls_session, packet_pool, &send_packet, wait_opt… in _nx_secure_tls_server_handshake()
264 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
269 status = _nx_secure_tls_send_serverhello(tls_session, send_packet); in _nx_secure_tls_server_handshake()
271 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
276status = _nx_secure_tls_send_handshake_record(tls_session, send_packet, NX_SECURE_TLS_SERVER_HELLO… in _nx_secure_tls_server_handshake()
278 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
290status = _nx_secure_tls_allocate_handshake_packet(tls_session, packet_pool, &send_packet, wait_opt… in _nx_secure_tls_server_handshake()
292 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
298status = _nx_secure_tls_send_handshake_record(tls_session, send_packet, NX_SECURE_TLS_CERTIFICATE_… in _nx_secure_tls_server_handshake()
299 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
319status = _nx_secure_tls_allocate_handshake_packet(tls_session, packet_pool, &send_packet, wait_opt… in _nx_secure_tls_server_handshake()
321 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
327 status = _nx_secure_tls_send_server_key_exchange(tls_session, send_packet); in _nx_secure_tls_server_handshake()
328 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
333status = _nx_secure_tls_send_handshake_record(tls_session, send_packet, NX_SECURE_TLS_SERVER_KEY_E… in _nx_secure_tls_server_handshake()
334 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
346status = _nx_secure_tls_allocate_handshake_packet(tls_session, packet_pool, &send_packet, wait_opt… in _nx_secure_tls_server_handshake()
348 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
354 status = _nx_secure_tls_send_certificate_request(tls_session, send_packet); in _nx_secure_tls_server_handshake()
355 NX_ASSERT(status == NX_SUCCESS); in _nx_secure_tls_server_handshake()
357status = _nx_secure_tls_send_handshake_record(tls_session, send_packet, NX_SECURE_TLS_CERTIFICATE_… in _nx_secure_tls_server_handshake()
358 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
371status = _nx_secure_tls_allocate_handshake_packet(tls_session, packet_pool, &send_packet, wait_opt… in _nx_secure_tls_server_handshake()
373 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
379status = _nx_secure_tls_send_handshake_record(tls_session, send_packet, NX_SECURE_TLS_SERVER_HELLO… in _nx_secure_tls_server_handshake()
381 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
407status = _nx_secure_tls_packet_allocate(tls_session, packet_pool, &send_packet, wait_option); in _nx_secure_tls_server_handshake()
412 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
420status = _nx_secure_tls_send_record(tls_session, send_packet, NX_SECURE_TLS_CHANGE_CIPHER_SPEC, wa… in _nx_secure_tls_server_handshake()
422 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
438 status = _nx_secure_tls_session_keys_set(tls_session, NX_SECURE_TLS_KEY_SET_LOCAL); in _nx_secure_tls_server_handshake()
440 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
446status = _nx_secure_tls_allocate_handshake_packet(tls_session, packet_pool, &send_packet, wait_opt… in _nx_secure_tls_server_handshake()
447 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
453status = _nx_secure_tls_send_handshake_record(tls_session, send_packet, NX_SECURE_TLS_FINISHED, wa… in _nx_secure_tls_server_handshake()
464 status = temp_status; in _nx_secure_tls_server_handshake()
477 status = temp_status; in _nx_secure_tls_server_handshake()
488 status = temp_status; in _nx_secure_tls_server_handshake()
503 NX_ASSERT(status != NX_SUCCESS); in _nx_secure_tls_server_handshake()
509 if (status != NX_SUCCESS) in _nx_secure_tls_server_handshake()
512 return(status); in _nx_secure_tls_server_handshake()