Re: [PATCH] crypto: RSA algorithm patch (kernel version 2.6.21-rc5-git6)

2007-03-30 Thread Randy Dunlap
On Fri, 30 Mar 2007 16:26:36 +0300 Tasos Parisinos wrote: Hi, Just a few whitespace nits that you can fix with any other comments that you get... > +static char rsa_op_compare(rsa_op *l, rsa_op *r) > +{ > + int i; > + u32 *lbuf, *rbuf; > + > + /* Compare the two operands based on sig

[PATCH] crypto: RSA algorithm patch (kernel version 2.6.21-rc5-git6)

2007-03-30 Thread Tasos Parisinos
From: Tasos Parisinos <[EMAIL PROTECTED]> This patch adds module rsa.ko in the kernel (built-in or as a kernel module) and offers an API to do fast modular exponentiation, using the Montgomery algorithm, thus the exponentiation is not generic but can be used only when the modulus is odd, such