base/permute.h, utils/permute.lisp, symm/...: Formalize bit permutations.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 1 Feb 2024 12:33:33 +0000 (12:33 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 1 Feb 2024 14:27:07 +0000 (14:27 +0000)
commitd3f33b9a37f45bc5809af314b1b436b712d59a80
treefd5525270a469aae32b07a70cf685221ce099d5a
parentac4a43c1da1d1554247212289cf483934b9e6d1c
base/permute.h, utils/permute.lisp, symm/...: Formalize bit permutations.

Add a bunch of Lisp code for messing with permutations.  Add a C header
file with macros for implementing interesting primitive permutations.
Apply these to DES and Keccak-1600 as a demonstration.
base/Makefile.am
base/permute.h [new file with mode: 0644]
symm/des-base.h
symm/des.c
symm/des3.c
symm/desx.c
symm/keccak1600.c
utils/permute.lisp [new file with mode: 0644]