Encrypt or decrypt one 16-byte Camellia block in ECB mode (deprecated).
Declared in <openssl/camellia.h>
[[deprecated]]
void
Camellia_ecb_encrypt(
unsigned char const* in,
unsigned char* out,
CAMELLIA_KEY const* key,
int const enc);
Deprecated. Use of this entity is allowed but discouraged.
| 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. |