[openssl-users] Missing ctrl-defines for GCM
c.holper at ades.at
c.holper at ades.at
Mon May 2 05:01:44 UTC 2016
Hi!
I am trying OpenSSL EVP for some AES-GCM encryption/decryption testing.
Having Debian 8.4 (testing) my installed evp.h does not include the
following defines I need.
#define EVP_CTRL_AEAD_SET_IVLEN 0x9
#define EVP_CTRL_AEAD_GET_TAG 0x10
#define EVP_CTRL_AEAD_SET_TAG 0x11
If I set it manually it seems to work. I found it as "ctrl() values" on
https://github.com/openssl/openssl/blob/master/include/openssl/evp.h.
My distributions OpenSSL is 1.0.1k 8 Jan 2015.
So 2 questions.
- Why is it not included in my evp.h. Is it too old?
- If it is too old, is it ok to define it by myself or is it a bad idea?
Thanks for help!
Chris
More information about the openssl-users
mailing list