While working on a fix for #49 I'm noticing that some of the API calls are internal or deprecated, e.g. `EVP_PKEY_assign` and `RSA_generate_key_ex`.