Lines Matching refs:len
16 size_t len;
22 …TEST_ASSERT( mbedtls_base64_encode( dst_str, dst_buf_size, &len, src_str, strlen( (char *) src_str…
35 size_t len;
42 …res = mbedtls_base64_decode( dst_str, sizeof( dst_str ), &len, src_str, strlen( (char *) src_str )…
56 size_t len, src_len;
61 TEST_ASSERT( mbedtls_base64_encode( res, dst_buf_size, &len, src, src_len ) == result );
64 TEST_ASSERT( len == strlen( dst ) );
65 TEST_ASSERT( memcmp( dst, res, len ) == 0 );
79 size_t len, dst_len;
84 TEST_ASSERT( mbedtls_base64_decode( res, dst_buf_size, &len, (unsigned char *) src,
88 TEST_ASSERT( len == dst_len );
89 TEST_ASSERT( memcmp( dst, res, len ) == 0 );
103 size_t src_len, len;
107 TEST_ASSERT( mbedtls_base64_decode( dst, sizeof( dst ), &len, src, src_len ) == result );
110 TEST_ASSERT( len == strlen( dst_ref ) );
111 TEST_ASSERT( memcmp( dst, dst_ref, len ) == 0 );