[#EVP_CIPHER_impl_ctx_size]
= EVP&lowbar;CIPHER&lowbar;impl&lowbar;ctx&lowbar;size
:mrdocs:

Return the size of the cipher&apos;s legacy implementation context (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
EVP&lowbar;CIPHER&lowbar;impl&lowbar;ctx&lowbar;size(xref:EVP_CIPHER-07.adoc[EVP&lowbar;CIPHER] const* cipher);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Context size in bytes expected by the method&apos;s init&sol;do&lowbar;cipher callbacks&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cipher*
| Cipher method to query&period;
|===


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