RSA, BigInteger: add more openssl checks