Multiply mpz_t type with character array using mpz_mul
I have to find product of character array with mpz_t type structure variable. Whereas mpz_mul expects both to be mpz_t type structure variable. So code crashes.

Please help

Code snippet can be found at following link............http://pastebin.com/nS1AJAWF
where temp_array is unsigned char array whereas modulus is of type mpz_t and result is used to store result and is of type mpz_t.

Thanks in Advance.
Multiply mpz_t type with character array using mpz_mul
===

I have to find product of character array with mpz_t type structure variable. Whereas mpz_mul expects both to be mpz_t type structure variable. So code crashes.

Please help

Code snippet can be found at following link............http://pastebin.com/nS1AJAWF
where temp_array is unsigned char array whereas modulus is of type mpz_t and result is used to store result and is of type mpz_t.

Thanks in Advance.