Be more consistent with spaces and tabs

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Add block_finalize to clean up block_state from ALGdealloc

This is the counterpart to block_init which is called from ALGnew.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Make sure that ek and dk are aligned at 16 byte boundaries

ek and dk are used as operands in instructions that require 16 byte alignment.

Thanks to Greg Price for finding this issue.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Add a wrapper for posix_memalign and friends

This also fixes the order of arguments passed to _aligned_malloc.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Add wrapper for free

For _aligned_malloc calling free is illegal. We need to use_aligned_free
instead.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Check return value of posix_memalign

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Prefer C11's aligned_alloc if it is available

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Merge pull request #62 (Fixes AESNI alignment bug)
Clean up AESNI aligned malloc() wrappers

- Set errno properly when using posix_memalign
- Rename to aligned_malloc_wrapper / aligned_free_wrapper
- Use a single set of #if blocks, to avoid the possibility of
  mismatching them.
Regenerate autoconf files
Add Python 3.4.0rc1 to tools/create-pythons.sh