Searched refs:b64_len (Results 1 – 3 of 3) sorted by relevance
/mbedtls-3.5.0/programs/ssl/ |
D | ssl_context_info.c | 952 size_t b64_len = read_next_b64_code(&b64_buf, &b64_max_len); in main() local 953 if (b64_len > 0) { in main() 955 size_t ssl_required_len = b64_len * 3 / 4 + 1; in main() 973 print_b64(b64_buf, b64_len); in main() 975 ret = mbedtls_base64_decode(ssl_buf, ssl_max_len, &ssl_len, b64_buf, b64_len); in main()
|
D | ssl_client2.c | 2826 size_t b64_len; in main() local 2830 mbedtls_base64_encode(NULL, 0, &b64_len, context_buf, buf_len); in main() 2832 if ((b64_buf = mbedtls_calloc(1, b64_len)) == NULL) { in main() 2838 if ((ret = mbedtls_base64_encode(b64_buf, b64_len, &b64_len, in main() 2853 if (b64_len != fwrite(b64_buf, 1, b64_len, b64_file)) { in main() 2855 (long) b64_len); in main()
|
D | ssl_server2.c | 4002 size_t b64_len; in main() local 4006 mbedtls_base64_encode(NULL, 0, &b64_len, context_buf, buf_len); in main() 4008 if ((b64_buf = mbedtls_calloc(1, b64_len)) == NULL) { in main() 4014 if ((ret = mbedtls_base64_encode(b64_buf, b64_len, &b64_len, in main() 4029 if (b64_len != fwrite(b64_buf, 1, b64_len, b64_file)) { in main() 4031 (long) b64_len); in main()
|