Camellia
Camellia is a 128-bit block cipher with 128-, 192-, and 256-bit key sizes (NTT/Mitsubishi, ISO/IEC, NESSIE, CRYPTREC). Use it in a mode of operation for multi-block data; key and IV rules match AES in the same mode.
Prefer AES unless Camellia is required by protocol or deployment.
Modes of operation
| Mode | Description |
|---|---|
| Camellia - ECB | Electronic Codebook — single-block or deterministic use only |
| Camellia - CBC | Cipher Block Chaining |
| Camellia - CTR | Counter mode (stream) |
| Camellia - CFB | Cipher Feedback (stream) |
| Camellia - OFB | Output Feedback (stream) |
Shared API (streaming and types)
For incremental processing, one-shot encrypt/decrypt, shared types (context, key type, mode enum), and self-test, see Camellia (shared) — noxtls_camellia_init(), noxtls_camellia_update(), noxtls_camellia_final(), noxtls_camellia_encrypt_data(), noxtls_camellia_decrypt_data(), and common definitions.