CMAC_CTX_copy

Copy CMAC state from in into out (deprecated).

Synopsis

Declared in <openssl/cmac.h>

[[deprecated]]
int
CMAC_CTX_copy(
    CMAC_CTX* out,
    CMAC_CTX const* in);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
outDestination CMAC context (already allocated).
inSource CMAC context to duplicate.