[PATCH] Use u64 for CCM data lengths

Werner Koch wk at gnupg.org
Mon Dec 16 09:51:39 CET 2013


On Sun, 15 Dec 2013 22:02, dbaryshkov at gmail.com said:

> testcase with really long
> data, so that in future it can catch possible u64 vs. u32 length issues.

Well, we need to have test vectors for that.  For the hash algorithms we
can manually run those tests but for CCM I need a hint on how to create
test vectors.

It would be nice if we could reuse tests/genhashtest.c to create them.


Shalom-Salam,

   Werner

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




More information about the Gcrypt-devel mailing list