[#EVP_CIPHER_CTX_set_num]
= EVP&lowbar;CIPHER&lowbar;CTX&lowbar;set&lowbar;num
:mrdocs:

Set the partial&hyphen;block offset counter stored in 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;num(
    xref:EVP_CIPHER_CTX.adoc[EVP&lowbar;CIPHER&lowbar;CTX]* ctx,
    int num);
----

== Return Value

1 on success&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Cipher context to update&period;
| *num*
| New offset value used by some cipher modes for leftover bytes&period;
|===


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