This is the same block as in _decrypt_rsa_pkey_ctx, is it worth extracting?