An open and free bittorrent tracker https://erdgeist.org/gitweb/opentracker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
608 B

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