[#CRYPTO_secure_malloc_init]
= CRYPTO&lowbar;secure&lowbar;malloc&lowbar;init
:mrdocs:

Initialize the secure heap used by CRYPTO&lowbar;secure&lowbar;malloc()&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CRYPTO&lowbar;secure&lowbar;malloc&lowbar;init(
    size&lowbar;t sz,
    size&lowbar;t minsize);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sz*
| Total size of the secure heap in bytes&period;
| *minsize*
| Minimum allocation granularity &sol; guard size&period;
|===


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