Block ciphers

Camellia-128

The Mitsubishi–NTT 128-bit Feistel cipher endorsed by NESSIE, CRYPTREC and ISO

standard Safe API

About Camellia-128

Camellia-128 is one of 3 Camellia variants in the NextSSL registry, a block cipher. It uses a 16-byte (128-bit) key and a 16-byte (128-bit) block. Its registry entry cites RFC 3713, ISO/IEC 18033-3 and NESSIE. NextSSL lists it in the standard tier and exposes it through the safe API.

Overview

Camellia is a block cipher developed jointly by Mitsubishi Electric and NTT in 2000. It offers security and performance comparable to AES, has been approved by the EU NESSIE project and Japan's CRYPTREC, and is standardised in ISO/IEC 18033-3 and RFC 3713.

Camellia is an 18-round (128-bit key) or 24-round (192- and 256-bit keys) Feistel network with a 128-bit block. Its F-function applies a key XOR, eight 8-bit S-boxes derived from inversion in GF(2^8), and a byte-wise linear P-function. Every six rounds, key-dependent FL and FL⁻¹ layers are inserted to break the regularity of the Feistel structure and complicate attacks.

NextSSL includes Camellia-128, Camellia-192 and Camellia-256. Camellia cipher suites are defined for TLS and it is supported by OpenSSL, GnuPG and many embedded stacks. Its 128-bit block, key sizes and API match AES, so it can be swapped into AES-based modes such as GCM, CCM and CBC without changes. Japanese government guidelines list it among recommended ciphers.

History

2000–2004
  1. Camellia published by Mitsubishi Electric and NTT

  2. European NESSIE project opens its call for primitives

    NESSIE project
  3. NESSIE portfolio published

    NESSIE project
  4. Specified in RFC 3713

Security notes

No practical attacks on full Camellia are known. Like AES, table-based software implementations can leak through cache timing.

Typical uses

Alternative to AES in TLS and IPsecJapanese and European government complianceOpenPGP encryption

Sizes

FieldBytesMeaning
key16Secret key
block16Block

Use it

from nextssl_demo import NextSSL

ns = NextSSL()              # safe API: safe and standard tiers
block = ns.call("blockcipher_encrypt", "camellia-128", None, key, plaintext_block)[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Other Camellia variants

2

Frequently asked questions

What is Camellia-128?

Camellia-128 is a block cipher in the Camellia family. Camellia is a block cipher developed jointly by Mitsubishi Electric and NTT in 2000.

What are the Camellia-128 sizes?

In NextSSL, Camellia-128 uses: key 16 bytes, block 16 bytes.

Who designed Camellia-128 and when?

Camellia-128 belongs to the Camellia family, first published in 2000 by Mitsubishi Electric and NTT. Its origin: NESSIE; CRYPTREC; ISO/IEC 18033-3; RFC 3713.

Which standards define Camellia-128?

Camellia-128 is referenced by RFC 3713, ISO/IEC 18033-3, NESSIE.

Is Camellia-128 safe to use?

Camellia-128 is in the standard tier. Standardised and sound. Reachable from the safe API. It can be called from the safe API.

What other Camellia variants are there?

NextSSL also registers camellia-192, camellia-256 in the Camellia family.