added native key generation with openssl for ios devices