Hey there,

 

I've recently been working on some GCM cases with empty PT and AAD.  I don't
know how useful they are in practice, but they're legit and show up in
validation tests (e.g., FIPS).

 

Thought I'd share my tweaks.  In getting this to work I ended up w/ some
commits unrelated to the problem.  They're useful anyway, I think, so I'll
offer-up all of them as replies in this thread.  (Total of 10 commits.)

 

I've tested this on a 64-bit Ubuntu desktop system, and a 32-bit ARM, both
running 2.6.35.  More specifically, here're their faux unames:

 

Ubuntu 10.10 x64 2.6.35-32-generic x86_64 GNU/Linux

Android Gingerbread 2.6.35.7+ #16 SMP PREEMPT armv7l unknown

 

In addition to running the functional tests included w/ cryptodev*, I've
also fed through the tcrypt test cases (including the ones already in
cipher-gcm) and some NIST test files via a user-space app.  [Sorry: not
going to share those.  Updating cipher-gcm to include the other tcrypt cases
is quick and would provide a nice double-check of my work.]

 

Thanks in advance for taking a look!  Please let me know if you'd prefer
future patches in a different format.

 

Regards,

Jaren

 

 

* I ran all the functional tests, not just cipher-gcm.  I've not done the
speed tests yet -- still need to swap out the posix_memaligns for Android.

 

 

_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to