bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gc_hash_buffer


From: Bruno Haible
Subject: Re: gc_hash_buffer
Date: Tue, 11 Oct 2005 21:01:05 +0200
User-agent: KMail/1.5

Simon Josefsson wrote:
> +
> +/* Compute a hash value over buffer IN of INLEN bytes size using the
> +   algorithm HASH, placing the result in the pre-allocated buffer OUT.
> +   The required size of OUT depends on HASH, and is generally
> +   GC_<HASH>_DIGEST_SIZE.  For example, for GC_MD5 the output buffer
> +   must be 16 bytes. */
>  extern int
>  gc_hash_buffer (int hash, const void *in, size_t inlen, char *out);

Thanks. And what is the 'int' return value? Is it somehow related to the
Gc_rc type?

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]