Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 3 of 3) sorted by relevance

/openthread-latest/src/core/api/
Dtcp_ext_api.cpp94 size_t bytes_written; in otTcpMbedTlsSslSendCallback() local
98 error = otTcpCircularSendBufferWrite(endpoint, sendBuffer, aBuf, aLen, &bytes_written, 0); in otTcpMbedTlsSslSendCallback()
100 VerifyOrExit(aLen == 0 || bytes_written != 0, result = MBEDTLS_ERR_SSL_WANT_WRITE); in otTcpMbedTlsSslSendCallback()
101 result = static_cast<int>(bytes_written); in otTcpMbedTlsSslSendCallback()
/openthread-latest/third_party/mbedtls/repo/programs/psa/
Dcrypto_examples.c58 size_t bytes_to_write = 0, bytes_written = 0, len = 0; in cipher_operation() local
61 while (bytes_written != input_size) { in cipher_operation()
62 bytes_to_write = (input_size - bytes_written > part_size ? in cipher_operation()
64 input_size - bytes_written); in cipher_operation()
66 status = psa_cipher_update(operation, input + bytes_written, in cipher_operation()
71 bytes_written += bytes_to_write; in cipher_operation()
/openthread-latest/third_party/mbedtls/repo/library/
Dssl_msg.c409 size_t const bytes_written = ssl->out_left; in ssl_get_remaining_space_in_datagram() local
414 if (bytes_written > mtu) { in ssl_get_remaining_space_in_datagram()
419 return (int) (mtu - bytes_written); in ssl_get_remaining_space_in_datagram()