Decrypt ciphertext in CCM using a ccm128_f acceleration callback.

Synopsis

Declared in <openssl/modes.h>

int
CRYPTO_ccm128_decrypt_ccm64(
    CCM128_CONTEXT* ctx,
    unsigned char const* inp,
    unsigned char* out,
    size_t len,
    ccm128_f stream);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ctx

CCM context ready for decryption.

inp

Ciphertext bytes of length len.

out

Plaintext buffer of length len.

len

Number of bytes to decrypt.

stream

Streaming CCM block function for the underlying cipher.

Created with MrDocs