Camellia_ecb_encrypt

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

NameDescription
in16-byte input block.
out16-byte output buffer (may equal in).
keyExpanded Camellia key from Camellia_set_key().
encNon-zero (CAMELLIA_ENCRYPT) to encrypt, zero (CAMELLIA_DECRYPT) to decrypt.