Missing ctrl-defines for GCM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux