Lines Matching refs:src
55 unsigned char *src = NULL, *res = NULL;
58 src = unhexify_alloc( src_hex, &src_len );
61 TEST_ASSERT( mbedtls_base64_encode( res, dst_buf_size, &len, src, src_len ) == result );
69 mbedtls_free( src );
75 void base64_decode_hex( char *src, char *dst_hex, int dst_buf_size,
84 TEST_ASSERT( mbedtls_base64_decode( res, dst_buf_size, &len, (unsigned char *) src,
85 strlen( src ) ) == result );
102 unsigned char *src;
105 src = unhexify_alloc( src_hex, &src_len );
107 TEST_ASSERT( mbedtls_base64_decode( dst, sizeof( dst ), &len, src, src_len ) == result );
115 mbedtls_free( src );