Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Lior Koskas
Thank you very much for your help! I will raised this bug to my vendor support. On 3 May 2017 at 18:56, Matt Caswell wrote: > > > On 03/05/17 16:48, Lior Koskas wrote: > > This is a little bit weird. > > The command `openssl version` returns `OpenSSL 0.9.8l 5 Nov 2009.` > >

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Matt Caswell
On 03/05/17 16:48, Lior Koskas wrote: > This is a little bit weird. > The command `openssl version` returns `OpenSSL 0.9.8l 5 Nov 2009.` > When I'm running the command `yum install -y openssl-devel` it returns > `openssl-1.0.1e-60.el7_3.1.x86_64 already installed and latest > version. Nothing to

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Lior Koskas
This is a little bit weird. The command `openssl version` returns `OpenSSL 0.9.8l 5 Nov 2009.` When I'm running the command `yum install -y openssl-devel` it returns `openssl-1.0.1e-60.el7_3.1.x86_64 already installed and latest version. Nothing to do` On 3 May 2017 at 18:20, Matt Caswell

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Matt Caswell
On 03/05/17 16:16, Lior Koskas wrote: > In the same way. This is the first time I'm checking the code on my > CentOS machine. So right at the beginning of this thread you said you were using OpenSSL 1.1.0. How do you know you have that version installed? What does the command "openssl version"

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Lior Koskas
In the same way. This is the first time I'm checking the code on my CentOS machine. On 3 May 2017 at 18:13, Matt Caswell wrote: > > > On 03/05/17 16:10, Lior Koskas wrote: > > I checked the evp.h file in the path /usr/local/include and indeed it's > > not contain any gcm

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Matt Caswell
On 03/05/17 16:10, Lior Koskas wrote: > I checked the evp.h file in the path /usr/local/include and indeed it's > not contain any gcm functions. > I installed openssl via yum install openssl-devel in the past. So, how did you install OpenSSL this time? Matt > > On 3 May 2017 at 17:32, Matt

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Lior Koskas
I checked the evp.h file in the path /usr/local/include and indeed it's not contain any gcm functions. I installed openssl via yum install openssl-devel in the past. On 3 May 2017 at 17:32, Matt Caswell wrote: > > > On 03/05/17 15:19, Lior Koskas wrote: > > Thank you for your

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Matt Caswell
On 03/05/17 15:19, Lior Koskas wrote: > Thank you for your answer. > > I made all the changes and the code isn't compiling. > > I'm using cmake in order to build the code. > > my CMakeLists.txt contains this line in order to include openssl headers: > >

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Lior Koskas
Thank you for your answer. I made all the changes and the code isn't compiling. I'm using cmake in order to build the code. my CMakeLists.txt contains this line in order to include openssl headers: INCLUDE_DIRECTORIES(/usr/include/openssl/ /usr/local/include/openssl/) The constructor of my

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Matt Caswell
On 03/05/17 10:33, Lior Koskas wrote: > I viewed the file and the definition exists. > I also checked that I'm picking the correct version. > > My problem is this line : EVP_EncryptInit_ex(&_ctx, EVP_aes_128_gcm(), > NULL, NULL, NULL); > > I also tried to change the code to this two lines :

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Lior Koskas
I viewed the file and the definition exists. I also checked that I'm picking the correct version. My problem is this line : EVP_EncryptInit_ex(&_ctx, EVP_aes_128_gcm(), NULL, NULL, NULL); I also tried to change the code to this two lines : EVP_CIPHER *EVP evp_gcm = EVP_aes_128_gcm();

Re: [openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Matt Caswell
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 I got this error : error: > ‘EVP_aes_128_gcm’ was not declared in this scope. > > I'm using CentOS 7.3. >

[openssl-users] Problem compiling EVP_aes_128_gcm()

2017-05-03 Thread Lior Koskas
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 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