Preserving the a common interface for cryptographic routines is a good
idea. This chapter explains how to write new modules for the Toolkit.
The basic process is as follows:
- Add a new .c file containing an implementation of the new
algorithm.
This file must define 3 or 4 standard functions,
a few constants, and a C struct encapsulating the state variables required by the algorithm.
- Add the new algorithm to setup.py.
- Send a copy of the code to me, if you like; code for new
algorithms will be gratefully accepted.
Subsections