Вопрос

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

Это было полезно?

Решение

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
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top