-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link error when ‘#define HAVE_CIPHER_CHACHA20 0’ #146
Comments
The cipher scheme Ascon128 uses parts of the code of the ChaCha20 implementation, namely the random number generator. Therefore you get unresolved external references, if you disable the cipher ChaCha20. I will adjust the code, so that the ChaCha20 implementation will be included, even if the cipher ChaCha20 was disabled. For the time being you can enable the ChaCha20 cipher as a work around. |
Commit 26c5c5b fixes the issue. |
Thank you. |
#define SQLITE3MC_USE_RAND_S 0
#define HAVE_CIPHER_AES_128_CBC 0
#define HAVE_CIPHER_AES_256_CBC 0
#define HAVE_CIPHER_CHACHA20 0
#define HAVE_CIPHER_SQLCIPHER 0
#define HAVE_CIPHER_RC4 0
#define HAVE_CIPHER_ASCON128 1
#define CODEC_TYPE CODEC_TYPE_ASCON128
Unresolved external '_chacha20_rng' referenced from SQLITE3MC.OBJ
Unresolved external '_STORE32_BE' referenced from SQLITE3MC.OBJ
The text was updated successfully, but these errors were encountered: