I am working a bit on a C90 Implementation of the algorithm that (might) feature:
- Branchless
- Unrolled a bit (playing with ASM and C =)
- memcmp (on it)
- strcmp (same as mem?)
- strcasecmp (just a little known trick for case-i?)
Later:
- Optional Constant Time (should be easy)
The project, codenamed "MeChelle", is online on GitHub under the path
gizmore/MeChelleCompare
A test driven working implementation for a single 8/64bit uint compare is avaiable in
test.c.
We will record and release a
@Codinggeex video about this, and how to develop C with EclipseCDT very soon.
PS: Special greetz go to my trainee Krypt0, for having to watch "
CGX#7: OOP (PHP)", supervised at work, as soon as it is released and rendered.
Greetingz
- Giz