Replace the cipher‐implementation private data pointer on ctx.

Synopsis

Declared in <openssl/evp.h>

void*
EVP_CIPHER_CTX_set_cipher_data(
    EVP_CIPHER_CTX* ctx,
    void* cipher_data);

Return Value

The previous cipher‐data pointer.

Parameters

Name

Description

ctx

Cipher context.

cipher_data

New implementation data pointer (ownership remains with the caller/impl).

Created with MrDocs