Can't reference function of shared library which made by rust for android

I made a shared library using rust for an android app. When the Android app loads the library, make an error as following:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "rust_crypto_util_fixed_time_eq_asm" referenced by "/data/app/com.kt.ktcrypto-4fggQbbTPHo3WulOyE1JIw==/lib/arm64/libE2eCryptoLib.so"..

When I look the source the function "rust_crypto_util_fixed_time_eq_asm" , I found the "fixed_time_eq_asm " function support only target_arch "x86, x86_64, arm".
"fixed_time_eq_asm" is in rust-crypto-working/src/rust-crypto/cryptoutil.rs

How can I fix the error?

Can you confirm "rust_crypto_util_fixed_time_eq_asm" is built into your shared lib ?

Thank you for your help.

I found a good information to fix the problem.
Refer the following URL:
https://github.com/DaGenix/rust-crypto/pull/384

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.