[WIP] Cleanup crypt.h/.c to follow the style guide.

I've changed the comments and removed a vim_free() call in favor of free().

TODO:
- Replace TRUE/FALSE with stdbool.
- Function comments using doxygen (?)
- ...