sha1 hash using libgcrypt different from what returns sha1sum

Werner Koch wk at gnupg.org
Sat Dec 14 18:44:31 CET 2013


On Sat, 14 Dec 2013 09:19, jussi.kivilinna at iki.fi said:

> So uint64_t would not be used for any function prototype or any types. When
> libgcrypt is build without uint64_t, GCRYCTL_SET_CCM_LENGTHS would return
> error.

Right, I realized that only after I wrote my reply.  Thus we can do it
quite easy: We only need to document that uint64_t is required.  If it
is not available, there will be no CCM support (GPG_ERR_NOT_SUPPORTED).


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list