This patch implements the Salsa20 stream cipher using the blkcipher interface.
The core cipher code comes from Daniel Bernstein's submission to eSTREAM:
http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/ref/
The test vectors comes from:
http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/
It has been tested successfully with "modprobe tcrypt mode=34" on an
UML instance.
Swee Heng
On Fri, Nov 16, 2007 at 03:52:32AM +0800, Tan Swee Heng wrote:
> This patch implements the Salsa20 stream cipher using the blkcipher interface.
>
> The core cipher code comes from Daniel Bernstein's submission to eSTREAM:
> http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/ref/
>
> The test vectors comes from:
> http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/
>
> It has been tested successfully with "modprobe tcrypt mode=34" on an
> UML instance.
I was going to apply this but you didn't give a Signed-off-by
header. Please follow the instructions in Documentation/SubmittingPatches.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
This patch implements the Salsa20 stream cipher using the blkcipher interface.
The core cipher code comes from Daniel Bernstein's submission to eSTREAM:
http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/ref/
The test vectors comes from:
http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/
It has been tested successfully with "modprobe tcrypt mode=34" on an
UML instance.
Regards,
Swee Heng
Signed-off-by: Tan Swee Heng <[email protected]>
On Sun, Nov 18, 2007 at 11:29:52PM +0800, Tan Swee Heng wrote:
> This patch implements the Salsa20 stream cipher using the blkcipher interface.
>
> The core cipher code comes from Daniel Bernstein's submission to eSTREAM:
> http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/ref/
>
> The test vectors comes from:
> http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/
>
> It has been tested successfully with "modprobe tcrypt mode=34" on an
> UML instance.
>
> Regards,
> Swee Heng
>
> Signed-off-by: Tan Swee Heng <[email protected]>
Patch applied. Thanks for the quick response!
BTW I made a small change to the Kconfig file so that it now selects
BLKCIPHER instead of ALGAPI.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt