crypto: convert attic.crypto into a cython module

This will give a slight performance boost and make the openssl
detection/linking more robust.