Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_base64.data31 Test case mbedtls_base64_encode #1 buffer just right
32 mbedtls_base64_encode:"":"":0:0
34 Test case mbedtls_base64_encode #2 buffer just right
35 mbedtls_base64_encode:"f":"Zg==":5:0
37 Test case mbedtls_base64_encode #2 buffer too small
38 mbedtls_base64_encode:"f":"Zg==":4:MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL
40 Test case mbedtls_base64_encode #3 buffer just right
41 mbedtls_base64_encode:"fo":"Zm8=":5:0
43 Test case mbedtls_base64_encode #3 buffer too small
44 mbedtls_base64_encode:"fo":"Zm8=":4:MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL
[all …]
Dtest_suite_base64.function79 void mbedtls_base64_encode( char * src_string, char * dst_string,
93 TEST_ASSERT( mbedtls_base64_encode( dst_str, dst_buf_size, &len, src_str, src_len) == result );
138 TEST_ASSERT( mbedtls_base64_encode( res, dst_buf_size, &len, src->x, src->len ) == result );
/third_party/mbedtls/library/
Dbase64.c44 int mbedtls_base64_encode( unsigned char *dst, size_t dlen, size_t *olen, in mbedtls_base64_encode() function
246 if( mbedtls_base64_encode( buffer, sizeof( buffer ), &len, src, 64 ) != 0 || in mbedtls_base64_self_test()
Dpem.c441 mbedtls_base64_encode( NULL, 0, &use_len, der_data, der_len ); in mbedtls_pem_write_buffer()
454 if( ( ret = mbedtls_base64_encode( encode_buf, use_len, &use_len, der_data, in mbedtls_pem_write_buffer()
/third_party/mbedtls/include/mbedtls/
Dbase64.h57 int mbedtls_base64_encode( unsigned char *dst, size_t dlen, size_t *olen,
/third_party/mbedtls/programs/ssl/
Dssl_mail_client.c738 … ret = mbedtls_base64_encode( base, sizeof( base ), &n, (const unsigned char *) opt.user_name, in main()
758 ret = mbedtls_base64_encode( base, sizeof( base ), &n, (const unsigned char *) opt.user_pwd, in main()
Dssl_client2.c2796 mbedtls_base64_encode( NULL, 0, &b64_len, context_buf, buf_len ); in main()
2805 if( ( ret = mbedtls_base64_encode( b64_buf, b64_len, &b64_len, in main()
Dssl_server2.c3789 mbedtls_base64_encode( NULL, 0, &b64_len, context_buf, buf_len ); in main()
3798 if( ( ret = mbedtls_base64_encode( b64_buf, b64_len, &b64_len, in main()
/third_party/mbedtls/
DChangeLog3155 mbedtls_base64_encode()