Block ciphers

Cham-64

A lightweight ARX block cipher family from ICISC 2017, in 64-bit and 128-bit block forms

unverified Root API only
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Cham-64

Cham-64 is one of 2 CHAM variants in the NextSSL registry, a block cipher. It uses a 16-byte (128-bit) key and an 8-byte (64-bit) block. Its registry entry cites CHAM-64/128 (Koo et al., ICISC 2017), Crypto++ implementation. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

CHAM is a family of lightweight block ciphers built from add-rotate-xor operations, proposed by Koo and colleagues at ICISC 2017. NextSSL carries a 64-bit block variant and a 128-bit block variant, with key sizes from 16 to 32 bytes. Each is marked unverified and comes from a Crypto++ implementation.

CHAM is a lightweight block cipher family proposed by Koo and colleagues at ICISC 2017. It uses only addition modulo a word size, rotation and XOR, the ARX operations that are cheap in both hardware and software and avoid table lookups. This makes CHAM suited to small devices where S-box tables are costly.

NextSSL archives two entries. CHAM-64 uses a 16-byte key and an 8-byte block, following the CHAM-64/128 specification. CHAM-128 uses a 16 to 32-byte key and a 16-byte block, covering the CHAM-128/128 and CHAM-128/256 specifications. Both come from Crypto++.

The unverified tier is the archive's review status. ARX ciphers of this kind are commonly analysed in reduced-round form, and the 64-bit block of CHAM-64 brings the birthday bound into play at around 2 to the power of 32 blocks per key.

History

2017–2017
  1. CHAM published by Koo and colleagues, ICISC 2017

How it works

  1. The key is expanded into round keys that feed the cipher's round function.
  2. Each round combines the state words with modular addition, XOR and fixed rotations.
  3. Decryption runs the same rounds in reverse using the inverse operations.

Security notes

Unverified in NextSSL. Reduced-round attacks are common for ARX designs, and the 64-bit block of CHAM-64 limits data per key to about 2 to the power of 32 blocks.

Typical uses

Lightweight encryption on devices without AES hardwareResearch into ARX block cipher designBenchmarking small-block ciphers

Sizes

FieldBytesMeaning
key16Secret key
block8Block

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
block = root.call("blockcipher_encrypt", "cham-64", None, key, plaintext_block)[0]

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

Other CHAM variants

1

Frequently asked questions

What is Cham-64?

Cham-64 is a block cipher in the CHAM family. CHAM is a family of lightweight block ciphers built from add-rotate-xor operations, proposed by Koo and colleagues at ICISC 2017.

What are the Cham-64 sizes?

In NextSSL, Cham-64 uses: key 16 bytes, block 8 bytes.

Who designed Cham-64 and when?

Cham-64 belongs to the CHAM family, first published in 2017 by Koo and colleagues, ICISC 2017. Its origin: ICISC 2017 (CHAM-128/128, CHAM-128/256 and CHAM-64/128).

Which standards define Cham-64?

Cham-64 is referenced by CHAM-64/128 (Koo et al., ICISC 2017), Crypto++ implementation.

Is Cham-64 safe to use?

Cham-64 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).

What other CHAM variants are there?

NextSSL also registers cham-128 in the CHAM family.