USB HID devices not linked to RNG

2015-09-06 Thread Stephan Mueller
Hi, While analyzing the entropy sources for the random number generator in drivers/char/random.c, I saw that a USB mouse and a USB keyboard does trigger the add_input_randomness function to be triggered. Is that intended? -- Ciao Stephan -- To unsubscribe from this list: send the line

Re: USB HID devices not linked to RNG

2015-09-06 Thread Stephan Mueller
Am Montag, 7. September 2015, 02:10:16 schrieb Stephan Mueller: Hi Stephan, > Hi, > > While analyzing the entropy sources for the random number generator in > drivers/char/random.c, I saw that a USB mouse and a USB keyboard does > trigger the add_input_randomness function to be triggered. I

Re: [RFC PATCH] crypto: RSA padding transform

2015-09-06 Thread Stephan Mueller
Am Sonntag, 6. September 2015, 16:33:26 schrieb Andrzej Zaborowski: Hi Andrzej, >>> + for (pos = 2; pos < child_req->dst_len; pos++) >>> + if (dst[pos] == 0x00) >>> + break; >> >> What happens if the padding has a 0x00 in its pseudo random data? > >The pseudo

Re: [RFC PATCH] crypto: RSA padding transform

2015-09-06 Thread Stephan Mueller
Am Sonntag, 6. September 2015, 01:00:29 schrieb Andrew Zaborowski: Hi Andrew, Tadeusz, > This patch adds PKCS#1 v1.5 standard RSA padding as a separate template. > This way an RSA cipher with padding can be obtained by instantiating > "pkcs1pad(rsa-generic)". The reason for adding this is that

Re: [RFC PATCH] crypto: RSA padding transform

2015-09-06 Thread Andrzej Zaborowski
Hi Stephan, On 6 September 2015 at 10:34, Stephan Mueller wrote: > Am Sonntag, 6. September 2015, 01:00:29 schrieb Andrew Zaborowski: > Albeit I have nothing to say against the code, but shouldn't we first get the > split of the setkey function implemented? The conversion