(C) Relatively high density file backups on paper. Cross-platform CLI port of Ollydbg's Paperback from Windows and Borland C.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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 */