address linter warnings. Thanks to gagath@debian.org
[opentracker.git] / ot_rijndael.h
blob54725dc6e5c1b2103d7947b3186f70b93dd9bf40
1 /* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever.
4 The rijndael implementation was taken from
6 http://www.cs.ucdavis.edu/~rogaway/ocb/ocb-ref/rijndael-alg-fst.c
8 and modified to work with 128 bits (this is 10 rounds) only.
10 $id$ */
12 #ifndef OT_RIJNDAEL_H__
13 #define OT_RIJNDAEL_H__
15 #include <stdint.h>
17 int rijndaelKeySetupEnc128(uint32_t rk[44], const uint8_t cipherKey[] );
18 void rijndaelEncrypt128(const uint32_t rk[44], const uint8_t pt[16], uint8_t ct[16]);
20 extern const char *g_version_rijndael_c;
22 #endif