How to call a function from .so lib on android?

OpenSSL is compiled into libcurl.a for Android. You can just call the functions in libcrypto and libssl since they are linked in.