Tools & Patches

On this page you will find the tools and patches I created in the process of porting eSTREAM ciphers into Linux.

Tools

Since WordPress has restrictions on the type of files I can upload, I’ve renamed the C++ and Python programs with .txt suffix.

  • gentv.cpp: C++ program that calls Crypto++ to generate large test vectors. On the Internet, we can find many short test vectors. But test vectors that are large enough to span a page size is rare. So we roll-out our own.
  • indent.py: Python script to auto-indent Bernstein’s Salsa20 x86 assemby code. This allows people to verify that I did not tamper with the assembly code while indenting it.

Patches submitted to linux-crypto@vger.kernel.org

Here they are. The dates are in GMT.

Old patches. They did not make it into the kernel and are here for documentary purpose only.

You would probably need to clone a copy of the latest kernel from the git repository using the command:

git-clone  git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git

The download is about 600MB+. If you are only interested in the latest snapshot and do not need the full git log, you can add a “–depth 1” option. Enjoy!

One Response to “Tools & Patches”

  1. Nishant Says:

    Hi I am trying to include new cipher algorithm in Linux Kernel for IPSEC.

    Can give more detailed description on how can I do it.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: