[PATCH] crypto: extend ansi_cprng to allow resetting of DT value

2008-11-03 Thread Neil Horman
Hey all- This is a patch that was sent to me by Jarod Wilson, marking off my outstanding todo to allow the ansi cprng to set/reset the DT counter value in a cprng instance. Currently crytpo_rng_reset accepts a seed byte array which is interpreted by the ansi_cprng as a {V key} tuple. This

Re: Can anyone explain the AEAD implementation

2008-11-03 Thread Evgeniy Polyakov
Hi. On Mon, Nov 03, 2008 at 11:01:16AM +, Dean Jenkins ([EMAIL PROTECTED]) wrote: > I observe that the ESP module uses an AEAD crypto API. AEAD means > Authentication Encryption with Associated Data. It seems Encryption and HMAC > are combined into a single API. Am I correct ? > > Please c

Re: IPsec books and how to add async hardware encryption ?

2008-11-03 Thread Evgeniy Polyakov
Hi Dean. On Mon, Nov 03, 2008 at 10:50:59AM +, Dean Jenkins ([EMAIL PROTECTED]) wrote: > > cryptd is an software engine example of how hardware driver could be > > implemented. > > Are you saying that to implement an async hardware driver I could use the > APIs > used by cryptd and create

Can anyone explain the AEAD implementation

2008-11-03 Thread Dean Jenkins
Hi, I observe that the ESP module uses an AEAD crypto API. AEAD means Authentication Encryption with Associated Data. It seems Encryption and HMAC are combined into a single API. Am I correct ? Please can anyone explain how individual Encryption algorithms and Hashing algorithms are selected f

Re: IPsec books and how to add async hardware encryption ?

2008-11-03 Thread Dean Jenkins
Hi Evgeniy, > > Also, how do I find info on the cypto APIs eg. how to use cryptd (2.6.24 > > kernel) ? > > > > I'm working on a project that uses an embedded hardware encryption engine > > that needs to use async off-load. Is cryptd the entity for async hardware > > crypto off-loading ? > > cryptd

Re: [PATCH] crypto: add test vectors for skein256/512/1024

2008-11-03 Thread Sebastian Andrzej Siewior
* Jeff Garzik | 2008-11-02 20:44:40 [-0500]: > Sebastian Andrzej Siewior wrote: >> I grabed them from http://www.schneier.com/skein.html. The last test >> vector >> (3) in every category is currently deactivated because it failed always. >> It is unlikely that I made a type because I copy+pasted