[PATCH] Add AES-ECB modes to eng_cryptodev.c

2013-11-01 Thread Joshua Datko
Attached is a patch to added AES-ECB modes (128, 192, 256) to eng_cryptodev.c (and some whitespace cleanup). I also have a backported 1.0.1e if you guys want that as well. The attached patch is from git master. I started adding other modes (CTR), but the tests were failing, so I decided to

Enhancing eng_cryptodev.c

2013-10-30 Thread Joshua Datko
The cryptodev engine is working great for me, but eng_cryptodev.c does not make available many of the ciphers that the cryptodev module (linux-cryptodev) uses. Mainly, I'd like to add AES in ECB, CTR, and GCM modes. I'm attaching a patch, for review purposes only, just to see if I'm on the right