sys/crypo: fix function declarations

In #1119 old-style function declarations are exterminated and forbidden.
I missed the functions in `sys/crypto` because they weren't used
throughout the tests/examples before #1124.
Merge pull request #1170 from Kijewski/fixup-1119-1124

sys/crypo: fix function declarations