Allocate a custom EVP_CIPHER method object (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
EVP_CIPHER*
EVP_CIPHER_meth_new(
int cipher_type,
int block_size,
int key_len);
Deprecated. Use of this entity is allowed but discouraged.
New mutable EVP_CIPHER, or NULL on failure; free with EVP_CIPHER_meth_free().
| 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. |