Я пытаюсь использовать google/boringssl через NDK на Android.
Я добавил код в каталог are.
Код: Выделить всё
- include/openssl
- include/openssl/pki
- include/openssl/experimental
- ssl/
- crypto/
- third_party/fiat
Код: Выделить всё
add_library(...)Код: Выделить всё
.cКод: Выделить всё
.c++Код: Выделить всё
CMakeLists.txtI compiled the project thinking everything was done, but I get an error.
Код: Выделить всё
openssl/crypto/fipsmodule/sha/sha1.c:421: error: undefined reference to 'sha1_block_data_order_neon'
openssl/crypto/fipsmodule/sha/sha1.c:427: error: undefined reference to 'sha1_block_data_order_nohw'
openssl/crypto/cipher_extra/e_chacha20poly1305.c:173: error: undefined reference to 'chacha20_poly1305_seal'
openssl/crypto/cipher_extra/e_chacha20poly1305.c:256: error: undefined reference to 'chacha20_poly1305_open'
openssl/crypto/fipsmodule/ec/p256-nistz.c:247: undefined reference to `ecp_nistz256_point_add'
...
Код: Выделить всё
boringsslИсточник: https://stackoverflow.com/questions/781 ... eference-t
Мобильная версия