bug-gnulib
[Top][All Lists]
Advanced

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

Re: hmac-md5


From: Simon Josefsson
Subject: Re: hmac-md5
Date: Wed, 05 Oct 2005 16:21:38 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Bruno Haible <address@hidden> writes:

> For 'uint8_t', you can use the gnulib module 'stdint'. Or use 'unsigned char'
> if you don't want to.

I just noticed that the 'stdint' module was GPL.  Would it be possible
to re-license it?  Otherwise I'll just 'unsigned char*' or 'void*' for
hmac-md5.  Given the potential problems with multi-byte char's, I'm
leaning towards void* right now, unless someone can re-assure me that
'unsigned char*' work portably.

Has anyone used md5_buffer from the md5 module on a platform with char
that is larger than 1 byte?  Does it work?  Looking at the code, I
suspect some potential endianness problem, since it uses 'memcpy' to
move 'char*' buffers around.

Thanks,
Simon




reply via email to

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