Commit Graph

5 Commits

Author SHA1 Message Date
Stephen Heumann
293828584f Optimize key expansion a bit, removing unnecessary loads. 2017-06-26 22:22:55 -05:00
Stephen Heumann
f04000c83d Save a few cycles by not reloading the last written byte between rounds. 2017-06-26 21:49:16 -05:00
Stephen Heumann
75aac0daa9 Save a couple values on the stack rather than looking them up again.
This is cycle-neutral (assuming a page-aligned DP), but it reduces instruction bytes and therefore may give a speedup on accelerators with caches.
2017-06-26 21:13:25 -05:00
Stephen Heumann
301021e75e Cut out a few instructions by reusing subexpressions in registers. 2017-06-26 20:53:17 -05:00
Stephen Heumann
3df0080371 Initial working implementation of AES-128 encryption. 2017-06-26 20:41:44 -05:00