Encrypt or decrypt one 16‐byte Camellia block in ECB mode (deprecated).

Synopsis

Declared in <openssl/camellia.h>

[[deprecated]]
void
Camellia_ecb_encrypt(
    unsigned char const* in,
    unsigned char* out,
    CAMELLIA_KEY const* key,
    int const enc);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Parameters

Name

Description

in

16‐byte input block.

out

16‐byte output buffer (may equal in).

key

Expanded Camellia key from Camellia_set_key().

enc

Non‐zero (CAMELLIA_ENCRYPT) to encrypt, zero (CAMELLIA_DECRYPT) to decrypt.

Created with MrDocs