Make EVP_CIPHER opaque and add creator/destructor/accessor/writer functions
authorRichard Levitte <levitte@openssl.org>
Fri, 18 Dec 2015 15:37:02 +0000 (16:37 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 12 Jan 2016 12:52:22 +0000 (13:52 +0100)
commite79f877333dcdc2ca51442d8339253e29c31a0d6
tree111a3e888f198f68f01cb03e27bd7842afdf5f35
parent480d33237df3894ea8df6f2a2e2076fa30efb205
Make EVP_CIPHER opaque and add creator/destructor/accessor/writer functions

We follow the method used for EVP_MD.
Also, move all the internal EVP_CIPHER building macros from evp_locl.h
to evp_int.h.  This will benefit our builtin EVP_CIPHERs.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/evp/Makefile
crypto/evp/cmeth_lib.c [new file with mode: 0644]
crypto/evp/evp_lib.c
crypto/evp/evp_locl.h
crypto/include/internal/evp_int.h
include/openssl/evp.h