Search code examples
c++ubuntuopensslcryptoapi

Implementation for EVP_CipherInit_ex / EVP_CipherUpdate / EVP_CipherFinal_ex


I am using OpenSSL and libcrypto for encryption. I would like to ask where can I find these methods. I need them because i would like to add these methods in my code. I just want the .h and .cc or .c files. appreciate


Solution

  • Here is detailed information on how to compile the openssl library yourself: http://www.ski-epic.com/2007_notes_on_openssl/index.html

    You can download the source code from here: http://www.openssl.org/

    Simply search the code for implementations of the functions you are referring to, and copy/paste. Make sure the library's license allows you to do this, though.