Add some changes to build with clang.

These changes are necessary in order to build with clang -U__GNUC__.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Fix glibc bug when __GNUC__ is not defined.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
framework: add cycles/byte calculation.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
keccak: convert from 2-D array to 1-D.

This allows for better optimizations to take place in the future.  No noticeable
performance impact has been noted.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Add another Keccak implementation.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Comment out unused typedefs.

This causes warnings from newer compilers.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Don't try to run speed tests on KDFs.

The TLS-PRF is very, very slow, so avoid trying to run tests on it since they
take way too long.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Add and use DREW_ASSUME_ALIGNED.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Add some alignment hints.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Build against glib.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Fix invalid memory reference.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Move to glib allocation functions.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Move to a glib object for the drew loader.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
daniel: implement commands.

Allow the user to change the version, flags, and length while in the program.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
daniel: mark 9 as a number.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
daniel: make !flags command work.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>