On a bright note, here are some little tidbits I see so far.
- The compiled+stripped code for the entire cipher, is about 5k, and the actual cipher file is only about 2k. The code size suggests it will be workable in an embedded environment.
The keysize (if we optimize for size) for a good 4-8byte cipher, will likely take anywhere from 300-1500 bytes total, plus needing a 1k stack or less.
thread-safe; after the key is generated, using the encrypt/decrypt functions make small copies of working data to the local space, making it thread safe.
Speed; it is very fast; unlike the previous schema this has fixed limits and can easily optimized a lot more for speed. which also translates for size. Due to the keysize being rather small, other speedups will be noticed when implemented in the kernel.
Once testing has finished and the last few functions written, along with a new 'simple' program for encryption and PRNG, the code will likely be ready for release.