[openssl-users] Migration from AES_ctr128_encrypt to EVP

Dr. Stephen Henson steve at openssl.org
Mon Aug 8 15:07:29 UTC 2016

On Mon, Aug 08, 2016, Vladimir A. Petrov wrote:

> Hello,
> I need to migrate some code from the old style software implemented
> AES_ctr128_encrypt to the EVP interface. I spent pretty much time reading
> OpenSSL manual pages and Wiki as well as googling. Unfortunately, I still
> can't get an idea how to migrate from these AES_* functions to the API
> provided by EVP. The closest info that I found is the proposal made by Dr
> Stephen N. Henson (
> https://mta.openssl.org/pipermail/openssl-users/2015-March/000776.html) to
> switch to EVP_aes_128_ctr, but there is no such 'ctr' mode in EVP for AES.

I'm not sure what you mean by "but there is no such 'ctr' mode in EVP for
AES": can you clarify?

Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org

More information about the openssl-users mailing list