]> git.tuebingen.mpg.de Git - paraslash.git/commit
openssl: Use EVP API for AES.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 28 Aug 2016 13:35:53 +0000 (15:35 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 24 Sep 2016 11:29:59 +0000 (13:29 +0200)
commit698178774b857a8959fe70e360ae6ff755eacf8e
tree61bb2e2e2179d3c4201ab9fbcb3e37c40d7ab0bf
parentb865ea3383d198464e920194b61d40dee32dc019
openssl: Use EVP API for AES.

opensssl-1.1 no longer exports AES_set_encrypt_key() and
AES_ctr128_encrypt(). Applications are supposed to use the high-level
EVP interface instead.

Fortunately, the EVP library functions necessary for our use of
the AES_ctr128 stream cipher are available in openssl version 1.0.1
and above, so switching to the EVP API makes the code work with all
versions >= 1.0.1.
crypt.c