Android, build openssl-fips-2.0

后端 未结 4 1882
耶瑟儿~
耶瑟儿~ 2020-12-12 01:42

Trying to build openssl-fips-2.0 with NDK, before I was lucky found this link and did it easily. https://github.com/guardianproject/openssl-android

Now trying to do

4条回答
  •  旧时难觅i
    2020-12-12 01:53

    f anyone else runs into the same problem I did, the key to getting this to work as described above by brewphone (thanks btw for your insight) is to package the un-stripped libs as content and then copy them to the apps data folder after which the System.load("/data/data/myapp/files/libcrypto.so.1.0.0") and System.load("/data/data/myapp/files/libssl.so.1.0.0") did the trick.

    Interestingly, just changing the makefiles to put the version number before the .so extension caused the fingerprint to fail even though the fips stuff was not touched.

    brewphone, if you managed to do this another way, please let me know :)

提交回复
热议问题