check_bitlen_rsa
static int check_bitlen_rsa(RSA *rsa, int ispub, unsigned int *magic);
bitlen = check_bitlen_rsa(pk->pkey.rsa, ispub, &magic);