Associated article: The Block Cipher Square Algorithm
Unpublished source code accompanying the article by Joan Daemen, Lars R. Knudsen, Vincent Rijmen in which they present Square, a new fast block cipher that encrypts data in blocks of 128 bits, using a 128-bit key. Square's structure has been carefully chosen to allow very efficient implementations on a wide range of processors. Requires UNZIP/PKUNZIP to extract.
The Block Cipher Encryption Algorithm by Joan Daemen, Lars R. Knudsen, Vincent Rijmen /* square.h */ #ifndef __SQUARE_H #define __SQUARE_H #define R 8 /* number of rounds */ #define SQUARE_BLOCKSIZE (4*sizeof(word32)) #ifndef USUAL_TYPES #define USUAL_TYPES typedef unsigned char ...