Re: [PATCH V4 02/15] asymmetric keys: implement EMSA_PKCS1-v1_5-ENCODE in rsa

2013-09-23 Thread Phil Carmody
On Sun, Sep 15, 2013 at 08:56:48AM +0800, Lee, Chun-Yi wrote: > Implement EMSA_PKCS1-v1_5-ENCODE [RFC3447 sec 9.2] in rsa.c. It's the > first step of signature generation operation (RSASSA-PKCS1-v1_5-SIGN). > > This patch is temporary set emLen to pks->k, and temporary set EM to > pks->S for debug

Re: [RFC][PATCH] Entropy generator with 100 kB/s throughput

2013-02-21 Thread Phil Carmody
Apologies if this is misthreaded, I had to hand-craft the headers. > The patch offers an entropy generator based on CPU timing jitter. The > entropy collector has the following properties: > > * it does not maintain any state and therefore does not need any seed What is this "pool" if it's not

[PATCH 0/1] crypto: Undefined behaviour in crypto_aes_expand_key

2009-07-22 Thread Phil Carmody
The following patch applies to the current head of torvalds/linux-2.6.git. However, due to the relatively stable nature of the only file patched, it should apply anywhere. Apologies if there are any mail mangling issues, they aren't unheard of, alas, and I will resend from home if need be. The

[PATCH 1/1] crypto: Undefined behaviour in crypto_aes_expand_key

2009-07-22 Thread Phil Carmody
ptions and optimisations it likes in situations where it can detect that UB has occured, up to and including nasal demons, and as the indices being accessed in the array are trivially calculable, it's rash to invite gcc to do take any liberties at all. Signed-off-by: Phil Carmody --- crypto/aes_g