I would like to know is openssl and curl are a part of android core .. becoz I have seen in many forums where users are trying build the openssl and curl for android ndk and use in there ..
Why do users go with their own build?
I would like to know is openssl and curl are a part of android core .. becoz I have seen in many forums where users are trying build the openssl and curl for android ndk and use in there ..
Why do users go with their own build?
Android comes with /system/lib/libssl.so
and /system/lib/libcrypto.so
, which are ported from www.openssl.org
. For example, the 4.0r1 (ICS) build includes version 1.0.0e. These libraries may not expose all the features of OpenSSL, though.
As for curl, look in Using cURL in Android for references.
They're not. On the other hand, both cryptographic primitives in the scope of OpenSSL and an HTTP stack are a part of Android API on the Java side.
Why do folks roll their own? Probably to migrate legacy C/C++ code, rather than rewrite into reflected Java calls. Those are ugly.