m2crypto with AES CTR and extra OpenSSL API methods