Home
last modified time | relevance | path

Searched refs:mbedtls_base64_encode (Results 1 – 9 of 9) sorted by relevance

/mbedtls-3.6.0/tests/suites/
Dtest_suite_base64.data7 Test case mbedtls_base64_encode #1 buffer just right
8 mbedtls_base64_encode:"":"":0:0
10 Test case mbedtls_base64_encode #2 buffer just right
11 mbedtls_base64_encode:"f":"Zg==":5:0
13 Test case mbedtls_base64_encode #2 buffer too small
14 mbedtls_base64_encode:"f":"Zg==":4:MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL
16 Test case mbedtls_base64_encode #3 buffer just right
17 mbedtls_base64_encode:"fo":"Zm8=":5:0
19 Test case mbedtls_base64_encode #3 buffer too small
20 mbedtls_base64_encode:"fo":"Zm8=":4:MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL
[all …]
Dtest_suite_base64.function58 void mbedtls_base64_encode(char *src_string, char *dst_string,
72 TEST_ASSERT(mbedtls_base64_encode(dst_str, dst_buf_size, &len, src_str, src_len) == result);
115 TEST_ASSERT(mbedtls_base64_encode(res, dst_buf_size, &len, src->x, src->len) == result);
/mbedtls-3.6.0/library/
Dbase64.c61 int mbedtls_base64_encode(unsigned char *dst, size_t dlen, size_t *olen, in mbedtls_base64_encode() function
266 if (mbedtls_base64_encode(buffer, sizeof(buffer), &len, src, 64) != 0 || in mbedtls_base64_self_test()
Dpem.c475 mbedtls_base64_encode(NULL, 0, &use_len, der_data, der_len); in mbedtls_pem_write_buffer()
488 if ((ret = mbedtls_base64_encode(encode_buf, use_len, &use_len, der_data, in mbedtls_pem_write_buffer()
/mbedtls-3.6.0/include/mbedtls/
Dbase64.h45 int mbedtls_base64_encode(unsigned char *dst, size_t dlen, size_t *olen,
/mbedtls-3.6.0/programs/ssl/
Dssl_mail_client.c690 ret = mbedtls_base64_encode(base, sizeof(base), &n, (const unsigned char *) opt.user_name, in main()
709 ret = mbedtls_base64_encode(base, sizeof(base), &n, (const unsigned char *) opt.user_pwd, in main()
Dssl_client2.c2775 mbedtls_base64_encode(NULL, 0, &b64_len, context_buf, buf_len); in main()
2783 if ((ret = mbedtls_base64_encode(b64_buf, b64_len, &b64_len, in main()
Dssl_server2.c3952 mbedtls_base64_encode(NULL, 0, &b64_len, context_buf, buf_len); in main()
3960 if ((ret = mbedtls_base64_encode(b64_buf, b64_len, &b64_len, in main()
/mbedtls-3.6.0/
DChangeLog4167 mbedtls_base64_encode()