summaryrefslogtreecommitdiffstats
path: root/baseline/source/rijndael_enc/ChangeLog.txt
blob: 6ea9ed464cdd03b1d1a8b6732f7345ccf5594ee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
File: rijndael_encoder.c
Source: security section of MiBench

2016-02-26:
- Remove commented-out code
- Prefix functions with "rijndael_enc"
- Compute a checksum and return it from main
- Change return type of rijndael_enc_encfile to void
- Move functionality from function main into functions
  rijndael_enc_init, rijndael_enc_main, and rijndael_enc_return
- Reordered functions in source code: initialization- and
  return-value-related functions first, followed by algorithm core
  functions, followed by main functions
- Added function prototypes
- Applied code formatting with astyle as in the example
- Added general TACLeBench header to beginning of source code
- Rename to rijndael_enc.c

2016-03-15:
- Return 0 if checksum is as expected, -1 otherwise
- Add entrypoint pragma
- Make inputs volatile (or touch them with a volatile) to rule out
  optimizations

2016-04-20:
- Cast "expected" return value to int for comparison
- Make loop counter in rijndael_enc_init unsigned

Files: aes.c, aes.h, aestab.h
Source: security section of MiBench

2016-02-26:
- Remove unused defines UNROLL, PARTIAL_UNROLL
- Remove defines FIXED_TABLES, FF_TABLES, ARRAYS, FOUR_TABLES,
  FOUR_LR_TABLES, FOUR_IM_TABLES
- Remove (undefined) define ONE_TABLE, ONE_LR_TABLE , ONE_IM_TABLE
- Assume BLOCK_SIZE is always 16
- Remove unused define "unused"
- Remove INTERNAL_BYTE_ORDER, EXTERNAL_BYTE_ORDER, AES_BIG_ENDIAN,
  AES_LITTLE_ENDIAN (assume internal == external == little endian)
- Remove defines AES_DLL and AES_IN_CPP
- Remove "#if defined(__cplusplus)"
- Replace macros c_name and cf_dec with their definition
- Remove some stale comments
- Remove defines no_table and one_table
- Remove prototypes for unusedfunctions decrypt and set_blk
- Prefix all functions and global variables with "rijndael_enc"
- Break lines in overly long macros
- Protect macros
- Applied code formatting with astyle as in the example

2016-04-20:
- Remove unused macros s, ff_poly, ff_hi, m1, m2, m3, FFmulX,
  fwd_mcol, fwd_var, inv_var, si, so, fwd_rnd, inv_rnd, fwd_lrnd,
  inv_lrnd, locals, l_copy, state_in, state_out, round, i_table,
  li_table
- Remove unused arrays rijndael_enc_s_box, rijndael_enc_inv_s_box,
  rijndael_enc_it_tab, rijndael_enc_il_tab

2016-06-14:
- Added cast to make C++ compiler happy

Files: glibc_common.h, my_file.h
Source: security section of MiBench

2016-02-26:
- Merge into file rijndael_enc_libc.h

File: rijndael_enc_libc.h

2016-02-26:
- Replace size_x with unsigned long
- Remove defines LITTLE_ENDIAN and NULL
- Prefix all functions with "rijndael_enc" (instead of "my_")
- Prefix definitions that clash with the standard library with
  "rijndael_enc" (instead of "my_")
- Applied code formatting with astyle as in the example

Files: glibc_common.c, my_file.c
Source: security section of MiBench

2016-02-26:
- Merge into file rijndael_enc_libc.c

File: rijndael_enc_libc.c

2016-02-26:
- Replace size_x with unsigned long
- Prefix all functions with "rijndael_enc" (instead of "my_")
- Prefix definitions that clash with the standard library with
  "rijndael_enc" (instead of "my_")
- Applied code formatting with astyle as in the example

File: input_small.c
Source: security section of MiBench

2016-02-26:
- Break long lines
f='#n178'>178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255






























































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
ELF