Topic: about AesEncryptDirect(...)
I'm trying to use Aes 128 bit ECB mode,
I found this discussion
http://www.yassl.com/forums/topic428-ae … rithm.html
that AesEncryptDirect(...) could do this.
I add
#ifndef CYASSL_AES_DIRECT
#define CYASSL_AES_DIRECT
#endif
before
#ifdef CYASSL_AES_DIRECT
of file aes.c
and it makes libcyassl.so well.
but when I link cyassl lib, during execusion,
it could not work
Building target: aes_ecb_cyassl
Invoking: GCC C Linker
gcc -L/home/chris/installed_library/cyassl-2.8.0-test/lib -o "aes_ecb_cyassl" ./src/aes_ecb_cyassl.o -lcyassl -Wl,-rpath -Wl,LIBDIR
Finished building target: aes_ecb_cyassl
chris@chris-VirtualBox:~/workspace/aes_ecb_cyassl/Debug$ ./aes_ecb_cyassl
./aes_ecb_cyassl: symbol lookup error: ./aes_ecb_cyassl: undefined symbol: AesEncryptDirect
How could I fix this?
Thanks