Camellia_encrypt

Encrypt one 16-byte Camellia block (deprecated; prefer EVP_EncryptInit_ex and related EVP APIs).

Synopsis

Declared in <openssl/camellia.h>

[[deprecated]]
void
Camellia_encrypt(
    unsigned char const* in,
    unsigned char* out,
    CAMELLIA_KEY const* key);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
in16-byte plaintext block.
out16-byte ciphertext buffer (may equal in).
keyExpanded Camellia key from Camellia_set_key().