Re: [openssl-users] Migration from AES_ctr128_encrypt to EVP

2016-08-15 Thread Vladimir A. Petrov
Hello Steve,

I was solved. Actually we had a bit old version of the OpenSSL library in
our repository which didn't contain CTR support. Upgrade resolved the
problem. BTW, e.g. this page https://www.openssl.org/docs/manmaster/crypto/
does not have a reference on EVP_aes_128_ctr.

Thanks,
Vladimir.

On Aug 8, 2016 11:08 PM, "Dr. Stephen Henson"  wrote:

> 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?
>
> Steve.
> --
> Dr Stephen N. Henson. OpenSSL project core developer.
> Commercial tech support now available see: http://www.openssl.org
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


Re: [openssl-users] Migration from AES_ctr128_encrypt to EVP

2016-08-08 Thread Jeffrey Walton
> Could you please point me on some useful documentation, piece of code or any
> other source of information which would provide the guidelines for
> accomplishing my task? Or maybe somebody of you already have the experience
> in such migration which could be shared.

https://wiki.openssl.org/index.php/EVP_Symmetric_Encryption_and_Decryption
and 
https://wiki.openssl.org/index.php/EVP_Authenticated_Encryption_and_Decryption.

If you detail a specific problem, then better advice can probably be provided.

Jeff
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


Re: [openssl-users] Migration from AES_ctr128_encrypt to EVP

2016-08-08 Thread Dr. Stephen Henson
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?

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users