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
Hi, I'm trying to add Liboqs library inside OPTEE, but it depends on OpenSSL Library. For example, I used to compile it with a cross-compiler with toolchain of optee but it gives undefined references
/home/ettore/optee_linaro/build/../toolchains/aarch32/bin/arm-linux-gnueabihf-ld.bfd:
KeccakP-1600-opt64.c: .text.KeccakP1600_AddBytes+0x136): undefined reference to `__memcpy_chk'
/home/ettore/optee_linaro/build/../toolchains/aarch32/bin/arm-linux-gnueabihf-ld.bfd: /home/ettore/optee_linaro/optee_os/out/arm/export-ta_arm32/lib/liboqs.a(ossl_helpers.c.o): in function `oqs_sha512':
ossl_helpers.c:(.text.oqs_sha512+0xa): undefined reference to `pthread_once'
/home/ettore/optee_linaro/build/../toolchains/aarch32/bin/arm-linux-gnueabihf-ld.bfd: ossl_helpers.c:(.text.free_ossl_objects+0x36): undefined reference to `EVP_MD_free'
These 3 are only examples of undefined references inside. There is a way to link OpenSSL to TAs? I have also noticed that during compilation, OpenSSL is configured. Where it is saved and why it is not inside the toolchain?
I also tried to compile it inside optee_os but it said that some files like immintrin.h are missing.
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to add Liboqs library inside OPTEE, but it depends on OpenSSL Library. For example, I used to compile it with a cross-compiler with toolchain of optee but it gives undefined references
These 3 are only examples of undefined references inside. There is a way to link OpenSSL to TAs? I have also noticed that during compilation, OpenSSL is configured. Where it is saved and why it is not inside the toolchain?
I also tried to compile it inside optee_os but it said that some files like immintrin.h are missing.
The text was updated successfully, but these errors were encountered: