i want to implement cryptographic algorithm to the arm at91sam7 micro. so i started with simple sha-1 openssl hash function. i could compile this sample code of sha-1 with code::block software and got true output. but when i want to use this code in my micro, i must compile and built it with arm compiler (for example IAR Workbench especially). i could compile the code in IAR truly but when i want to built it, i give no definitions errors. so i added C:\OpenSSL-Win32\lib\libeay32.lib to the linker additional library but i give this linker error: 'Fatal Error: error when reading "C:\OpenSSL-Win32\lib\libeay32.lib": unexpected end-of-file'. could every one help me?Appreciate the help.
Based on the file name that looks like you are trying to link a desktop Windows x86 build of OpenSLL into an ARM project. You will need to cross-compile it for ARM and link against that.
HTH, Pete