开发者

where can i find source code for libcrypto++?

开发者 https://www.devze.com 2023-04-04 06:44 出处:网络
I am using libcrypto++ for aes encryption. I would like to add in my code th开发者_运维知识库e methods: EVP_CipherInit_ex(), EVP_CipherUpdate(), EVP_CipherFinal_ex(). Where can I find this source code

I am using libcrypto++ for aes encryption. I would like to add in my code th开发者_运维知识库e 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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号