[#EVP_CIPHER_meth_new] = EVP_CIPHER_meth_new :mrdocs: Allocate a custom EVP_CIPHER method object (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:EVP_CIPHER-07.adoc[EVP_CIPHER]* EVP_CIPHER_meth_new( int cipher_type, int block_size, int key_len); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value New mutable EVP_CIPHER, or NULL on failure; free with EVP_CIPHER_meth_free(). == Parameters [cols="1,4"] |=== | Name| Description | *cipher_type* | NID identifying the cipher algorithm. | *block_size* | Block size in bytes (1 for stream ciphers). | *key_len* | Default key length in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#