openssl - Is it possible to use AES CTR mode encryption using the EVP API? -


i'm new openssl. understand encryption should performed using evp api acts common interface ciphers. aes ctr mode seems present in version of openssl have, definition evp_aes_128_ctr disabled in evp.h:

#if 0 const evp_cipher *evp_aes_128_ctr(void); #endif 

any idea why is? can remove #if 0? other pointers on getting 128 bit aes ctr mode encryption work in openssl appreciated!

thanks!

btw, looks answer no, not yet. maybe soon. found email thread indicating patch address issue may have been submitted in june 2010:

http://www.mail-archive.com/libssh2-devel@cool.haxx.se/msg01972.html

but when downloaded latest development branch svn, aes ctr still not enabled in evp. ended implementing directly, found link helpful:

aes ctr 256 encryption mode of operation on openssl


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -