it seems that openssl is not only used for its blake2b implementation, but also in the implementation of different RNG's. Those seem to make use of the AES implementation of OpenSSL.
Considering this, rather than removing OpenSSL as a dependency, it might be more sensible to cross compile it for Android support (this project could help here).
OpenSSL is included in the following places:
./src/test/test_helpers.h
25:#include <openssl/rand.h>
./src/motioncore/primitives/blake2b.h
30:#include <openssl/evp.h>
./src/motioncore/primitives/sharing_randomness_generator.h
./src/motioncore/primitives/curve25519/mycurve25519.cpp
5226:#include <openssl/rand.h>
./src/motioncore/primitives/random/aes128_ctr_rng.cpp
24:#include <openssl/rand.h>
./src/motioncore/primitives/random/openssl_rng.cpp
25:#include <openssl/rand.h>
./src/motioncore/primitives/pseudo_random_generator.h
it seems that
openssl
is not only used for itsblake2b
implementation, but also in the implementation of different RNG's. Those seem to make use of the AES implementation of OpenSSL.Considering this, rather than removing OpenSSL as a dependency, it might be more sensible to cross compile it for Android support (this project could help here).