[#CRYPTO_ccm128_decrypt] = CRYPTO_ccm128_decrypt :mrdocs: Decrypt ciphertext and update the CCM authentication state. == Synopsis Declared in `<openssl/modes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CRYPTO_ccm128_decrypt( xref:CCM128_CONTEXT-0c.adoc[CCM128_CONTEXT]* ctx, unsigned char const* inp, unsigned char* out, size_t len); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CCM context ready for decryption (nonce and optional AAD set). | *inp* | Ciphertext bytes of length `len.` | *out* | Plaintext buffer of length `len.` | *len* | Number of bytes to decrypt. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#