Commit Graph

6 Commits

Author SHA1 Message Date
Steve Dee
13ae1eee30 Use CommonCrypto on OS X for AES 2014-04-20 02:03:26 -07:00
Steve Dee
4ba1e105e4 Silence deprecation warnings 2014-04-18 18:38:54 -07:00
Steve Dee
e4235f63db Simplify aesc core structure
This makes ++en and ++de dramatically faster.
2014-04-18 18:33:56 -07:00
Steve Dee
57f684c3df AES decryption jet
++ix remains unjetted. There's no function that directly lines up
with it in rijndael.h, and you should almost always be using ++en
and ++in rather than touching ++be directly anyway.

Also, take the jets live.
2014-04-18 16:08:31 -07:00
Steve Dee
322d448d0f Jetted en and ex
You'll note that ex involves more endianness twiddling. This is
unfortunate, but en is exactly as stupid as you'd hope it would be,
so I'm going to call it okay.

Also, fixed ex. In particular, (ex:aesc 0) now agrees with the C's
output. Our bad.
2014-04-18 14:58:51 -07:00
Steve Dee
f83f74af77 WIP jetted AES
be:aesc jet appears to be working.
2014-04-17 18:56:47 -07:00