diff options
| author | Joshua Bakita <bakitajoshua@gmail.com> | 2019-10-07 19:13:39 -0400 |
|---|---|---|
| committer | Joshua Bakita <bakitajoshua@gmail.com> | 2019-10-07 19:13:39 -0400 |
| commit | 386b7d3366f1359a265da207a9cafa3edf553b64 (patch) | |
| tree | c76120c2c138faed822e4ae386be6ef22a738a78 /baseline/source/rijndael_dec/rijndael_dec_libc.h | |
| parent | 54a3f7091a2146b29c73a6fdc4b62a5c4ad7a3d8 (diff) | |
Reorganize and commit all the modified TACLeBench code and run scripts
Diffstat (limited to 'baseline/source/rijndael_dec/rijndael_dec_libc.h')
| -rw-r--r-- | baseline/source/rijndael_dec/rijndael_dec_libc.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/baseline/source/rijndael_dec/rijndael_dec_libc.h b/baseline/source/rijndael_dec/rijndael_dec_libc.h new file mode 100644 index 0000000..eb7b8d6 --- /dev/null +++ b/baseline/source/rijndael_dec/rijndael_dec_libc.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #ifndef RIJNDAEL_DEC_LIBC_H | ||
| 2 | #define RIJNDAEL_DEC_LIBC_H | ||
| 3 | |||
| 4 | int rijndael_dec_toupper ( int c ); | ||
| 5 | |||
| 6 | enum _Origin_ { RIJNDAEL_DEC_SEEK_SET, RIJNDAEL_DEC_SEEK_CUR, RIJNDAEL_DEC_SEEK_END }; | ||
| 7 | typedef enum _Origin_ Origin; | ||
| 8 | struct rijndael_dec_FILE { | ||
| 9 | unsigned char *data; | ||
| 10 | unsigned long size; | ||
| 11 | unsigned cur_pos; | ||
| 12 | }; | ||
| 13 | |||
| 14 | unsigned long rijndael_dec_fread ( void *ptr, unsigned long size, | ||
| 15 | unsigned long count, struct rijndael_dec_FILE *stream ); | ||
| 16 | unsigned long rijndael_dec_fwrite ( const void *ptr, unsigned long size, | ||
| 17 | unsigned long count, struct rijndael_dec_FILE *stream ); | ||
| 18 | int rijndael_dec_fseek ( struct rijndael_dec_FILE *stream, long int offset, | ||
| 19 | Origin origin ); | ||
| 20 | int rijndael_dec_fgetpos( struct rijndael_dec_FILE *stream, | ||
| 21 | unsigned *position ); | ||
| 22 | int rijndael_dec_feof ( struct rijndael_dec_FILE *stream ); | ||
| 23 | |||
| 24 | #endif // RIJNDAEL_DEC_LIBC_H | ||
