[openssl-users] Problem compiling EVP_aes_128_gcm()

Matt Caswell matt at openssl.org
Wed May 3 09:07:05 UTC 2017

On 03/05/17 09:43, Lior Koskas wrote:
> Hi,
> I'm using EVP_aes_128_gcm and have problem with compiling it with
> OpenSSL 1.1.0 (earlier versions are compiling).
> Although I included <openssl/evp.h> I got this error : error:
> ‘EVP_aes_128_gcm’ was not declared in this scope.
> I'm using CentOS 7.3.
> Which file I need to include in order to compile EVP_aes_128_gcm ?

It's still declared in evp.h:

const EVP_CIPHER *EVP_aes_128_gcm(void);

Perhaps you are not picking up the version of evp.h that you think you are?


More information about the openssl-users mailing list