Home
last modified time | relevance | path

Searched refs:b64_len (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/programs/ssl/
Dssl_context_info.c952 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()
Dssl_client2.c2826 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()
Dssl_server2.c4002 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp.c2846 u16 b64_len; in dpp_get_csr_attrs() local
2848 b64 = dpp_get_attr(attrs, attrs_len, DPP_ATTR_CSR_ATTR_REQ, &b64_len); in dpp_get_csr_attrs()
2851 return base64_decode((const char *) b64, b64_len, len); in dpp_get_csr_attrs()