[#CRYPTO_ccm128_decrypt_ccm64]
= CRYPTO&lowbar;ccm128&lowbar;decrypt&lowbar;ccm64
:mrdocs:

Decrypt ciphertext in CCM using a ccm128&lowbar;f acceleration callback&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CRYPTO&lowbar;ccm128&lowbar;decrypt&lowbar;ccm64(
    xref:CCM128_CONTEXT-0c.adoc[CCM128&lowbar;CONTEXT]* ctx,
    unsigned char const* inp,
    unsigned char* out,
    size&lowbar;t len,
    xref:ccm128_f.adoc[ccm128&lowbar;f] stream);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| CCM context ready for decryption&period;
| *inp*
| Ciphertext bytes of length `len&period;`
| *out*
| Plaintext buffer of length `len&period;`
| *len*
| Number of bytes to decrypt&period;
| *stream*
| Streaming CCM block function for the underlying cipher&period;
|===


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