(C) Relatively high density file backups on paper. Cross-platform CLI port of Ollydbg's Paperback from Windows and Borland C.
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.

1234567891011121314151617181920
  1. #ifndef _AES_H
  2. #define _AES_H
  3. #include <stdint.h>
  4. typedef unsigned char uchar;
  5. typedef struct
  6. {
  7. uint32_t erk[64]; /* encryption round keys */
  8. uint32_t drk[64]; /* decryption round keys */
  9. int nr; /* number of rounds */
  10. }
  11. aes_context;
  12. int aes_set_key( aes_context *ctx, uchar *key, int nbits );
  13. void aes_encrypt( aes_context *ctx, uchar input[16], uchar output[16] );
  14. void aes_decrypt( aes_context *ctx, uchar input[16], uchar output[16] );
  15. #endif /* aes.h */