[PATCH] crypto: padlock - Add SHA-1/256 module for VIA Nano

2011-03-21 Thread BrillyWu
Add new SHA-1/256 module that never needs any fallback and just calls the PadLock hardware instruction supported from VIA Nano processors to implement the "update" and "final" function. They are respectively named "sha1_alg_nano" and "sha256_alg_nano", and will be used on any VIA Nano processor or

Re: RSA signature verification

2011-03-21 Thread Herbert Xu
On Mon, Mar 21, 2011 at 04:04:41PM +0200, Dmitry Kasatkin wrote: > > Do you think it make sense to have it as a crypto "algo" > What kind of API you would have in mind? So the obvious question is who will use this functionality in the kernel? If the only use is going to be in user-space, then the

RSA signature verification

2011-03-21 Thread Dmitry Kasatkin
Hi Herbert, I work on kernel RSA verification for IMA/EVM. Currently I have a patch which provides "direct" API like ksign_verify() to get signature verified. I was thinking about doing it via crypto interface as usual but for now I have done it directly. I have found some very old (5y) patches w