Enable or disable standard block‐cipher padding on a cipher context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_CTX_set_padding(
    EVP_CIPHER_CTX* c,
    int pad);

Return Value

1 on success.

Parameters

Name

Description

c

Cipher context to update.

pad

Nonzero to enable PKCS‐style padding; zero to disable.

Created with MrDocs