Re: [Xen-devel] How to solve the error undefined reference to private_aes_encrypt

2016-06-20 Thread Jan Beulich
>>> On 20.06.16 at 09:01, wrote: > I have used function Private_aes_encrypt(key,128,&expanded) > > When I execute the program with gdb by using the following command: > > > gcc -g filename.c filename -lcrypto > > Then the error (undefined reference to `private_AES_set_encrypt_key') > always c

[Xen-devel] How to solve the error undefined reference to private_aes_encrypt

2016-06-20 Thread Zakirasafi
Dear all I have used function Private_aes_encrypt(key,128,&expanded) When I execute the program with gdb by using the following command: gcc -g filename.c filename -lcrypto Then the error (undefined reference to `private_AES_set_encrypt_key') always comes. When i use aes_encrypt function in m