Skip to main content
Version: 0.1.24

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

ModeDescription
Camellia - ECBElectronic Codebook — single-block or deterministic use only
Camellia - CBCCipher Block Chaining
Camellia - CTRCounter mode (stream)
Camellia - CFBCipher Feedback (stream)
Camellia - OFBOutput 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.