On Mon, Mar 26, 2012 at 11:28 AM, anu <anujc...@gmail.com> wrote:
> When I am using AES_ecb_encrypt(const unsigned char *in, unsigned char *out,
> const AES_KEY *key, const int enc);
>
> then there is no linking error in my code
> but when i use
> AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
> const unsigned long length, const AES_KEY *key,
> unsigned char *ivec, const int enc);
>
> then it give error unresolved external symbol _AES_cbc_encrypt referenced in
> function "private: static wchar_t const * __cdecl CCrack::tryAES(wchar_t const
> *)" (?tryAES@CCrack@@CAPB_WPB_W@Z)
>
> While both function are declare in aes.h header file.
> I am not understand where is problem
> both file aes_ecb.c and aes_cbc.c are located in same folder.
See if the function is actually exported from libcrypto (or is it libssl?):

  nm -D --defined-only --extern-only libcrypto.so | grep AES_cbc_encrypt

Jeff
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to