[#Camellia_ecb_encrypt] = Camellia_ecb_encrypt :mrdocs: Encrypt or decrypt one 16‐byte Camellia block in ECB mode (deprecated). == Synopsis Declared in `<openssl/camellia.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] void Camellia_ecb_encrypt( unsigned char const* in, unsigned char* out, xref:CAMELLIA_KEY.adoc[CAMELLIA_KEY] const* key, int const enc); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#