Lines Matching refs:ret
59 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_debug_print_msg() local
71 ret = mbedtls_vsnprintf(str, DEBUG_BUF_SIZE, format, argp); in mbedtls_debug_print_msg()
74 if (ret < 0) { in mbedtls_debug_print_msg()
75 ret = 0; in mbedtls_debug_print_msg()
77 if (ret >= DEBUG_BUF_SIZE - 1) { in mbedtls_debug_print_msg()
78 ret = DEBUG_BUF_SIZE - 2; in mbedtls_debug_print_msg()
81 str[ret] = '\n'; in mbedtls_debug_print_msg()
82 str[ret + 1] = '\0'; in mbedtls_debug_print_msg()
89 const char *text, int ret) in mbedtls_debug_print_ret() argument
105 if (ret == MBEDTLS_ERR_SSL_WANT_READ) { in mbedtls_debug_print_ret()
110 text, ret, (unsigned int) -ret); in mbedtls_debug_print_ret()
334 int ret; in mbedtls_debug_print_psa_rsa() local
357 ret = mbedtls_asn1_get_tag(&start_cur, end_cur, &len, in mbedtls_debug_print_psa_rsa()
359 if (ret != 0) { in mbedtls_debug_print_psa_rsa()
363 ret = mbedtls_asn1_get_tag(&start_cur, end_cur, &len, MBEDTLS_ASN1_INTEGER); in mbedtls_debug_print_psa_rsa()
364 if (ret != 0) { in mbedtls_debug_print_psa_rsa()
379 ret = mbedtls_asn1_get_tag(&start_cur, end_cur, &len, MBEDTLS_ASN1_INTEGER); in mbedtls_debug_print_psa_rsa()
380 if (ret != 0) { in mbedtls_debug_print_psa_rsa()