Question

I am using libcrypto++ for aes encryption. I would like to add in my code the methods: EVP_CipherInit_ex(), EVP_CipherUpdate(), EVP_CipherFinal_ex(). Where can I find this source codes?

thx. appreciate

Was it helpful?

Solution

Here you go: http://www.openssl.org/source/ The downloadable tar.gz on the page contains both header and source files for the most common cryptography algorithms, including EVP

However, I believe you are misunderstanding what static linking means, and how it is different from dynamic linking. Here is a decent article: http://kb.iu.edu/data/akqn.html

You don't need to manually add the .cpp and .h files to your project, just include the .h where you need to use the methods and link to the .lib.

Despite my and commenters' suggestions, if you still wish to manually add the .cpp and .h files, here is where they are located within the archive I linked above:

crypto\evp\evp.h
crypto\evp\evp_*.c
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top