Allocate a custom EVP_CIPHER method object (deprecated).
Synopsis
Declared in <openssl/evp.h>
[[deprecated]]
EVP_CIPHER*
EVP_CIPHER_meth_new(
int cipher_type,
int block_size,
int key_len);
|
Warning
|
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
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. |
Created with MrDocs