[#EVP_CIPHER_CTX_set_padding]
= EVP&lowbar;CIPHER&lowbar;CTX&lowbar;set&lowbar;padding
:mrdocs:

Enable or disable standard block&hyphen;cipher padding on a cipher context&period;

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;CIPHER&lowbar;CTX&lowbar;set&lowbar;padding(
    xref:EVP_CIPHER_CTX.adoc[EVP&lowbar;CIPHER&lowbar;CTX]* c,
    int pad);
----

== Return Value

1 on success&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| Cipher context to update&period;
| *pad*
| Nonzero to enable PKCS&hyphen;style padding&semi; zero to disable&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
