Using provider #1673
Answered
by
schwabe
ArtinKennedy
asked this question in
Q&A
Using provider
#1673
-
Hi; |
Beta Was this translation helpful? Give feedback.
Answered by
schwabe
Nov 30, 2023
Replies: 1 comment 2 replies
-
Just setting MODULESDIR is probably not enough. Modern Android platforms do not allow execution of code that is not originally part of the app that easily. But adding a define in cmake is quite trivial. See https://cmake.org/cmake/help/latest/command/add_compile_definitions.html If you explain a bit more what provider you are intending to use and why, I might be able to give more insight. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not sure where you are setting the MODULESDIR. But you might need to have the absolute path to be able to load the provider.
As for building oqs-provider and liboqs on Android itself. That might be a bit more more involved if nobody has done that before. I am not entirely sure how well current Android versions like dynamically loaded libraries. But qos-provider also supports being used as internal provider (https://github.com/open-quantum-safe/oqs-provider/blob/main/CONFIGURE.md#oqs_provider_build_static).