You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully built oqsprovider.so for the ARM64 architecture (Android) and its dependencies: libcrypto, libssl, and liboqs. However, during runtime, I encountered an issue where OSSL_PROVIDER_load fails to load oqsprovider.
To Reproduce
Steps to reproduce the behaviour:
usecase is to create a PQC based X509 CSR on android device.
In an Android application create a NDK module to build a JNI to create X509 CSR
build the libraries libssl, libcrypto, liboqs, liboqsprovider using Android toolchain
inside the NDK module's src/jnilibs/arm64-v8a folder add all libraries.
In the source code add below code to use oqsprovider
oqsprovider should be loaded by the function OSSL_PROVIDER_load
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: Android
OpenSSL version : 3.3.2
oqsprovider version : 0.6.1
Errors:
Open SSL error: error:12800067:DSO support routines::could not load the shared library
Open SSL error: error:12800067:DSO support routines::could not load the shared library
Open SSL error: error:07880025:common libcrypto routines::reason(37)
Error loading provider error: error:00000000:lib(0)::reason(0)
Additional context
code works perfectly when ran for macOS.
The text was updated successfully, but these errors were encountered:
Thanks for the more detailed report @moganty . Unfortunately I do not have an environment available that would allow me to reproduce this problem. Further (accordingly), I do not consider Android a supported platform. Lastly, the problem can very well have to do with issues in openssl or liboqs on Android.
Describe the bug
I have successfully built oqsprovider.so for the ARM64 architecture (Android) and its dependencies: libcrypto, libssl, and liboqs. However, during runtime, I encountered an issue where OSSL_PROVIDER_load fails to load oqsprovider.
To Reproduce
Steps to reproduce the behaviour:
usecase is to create a PQC based X509 CSR on android device.
In an Android application create a NDK module to build a JNI to create X509 CSR
build the libraries libssl, libcrypto, liboqs, liboqsprovider using Android toolchain
inside the NDK module's src/jnilibs/arm64-v8a folder add all libraries.
In the source code add below code to use oqsprovider
Expected behavior
oqsprovider should be loaded by the function OSSL_PROVIDER_load
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Errors:
Open SSL error: error:12800067:DSO support routines::could not load the shared library
Open SSL error: error:12800067:DSO support routines::could not load the shared library
Open SSL error: error:07880025:common libcrypto routines::reason(37)
Error loading provider error: error:00000000:lib(0)::reason(0)
Additional context
code works perfectly when ran for macOS.
The text was updated successfully, but these errors were encountered: