Block ciphers

Clefia-128

Sony's 128-bit lightweight block cipher, standardised in ISO/IEC 29192-2

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 Clefia-128

Clefia-128 is one of 3 CLEFIA variants in the NextSSL registry, a block cipher. It uses a 16-byte (128-bit) key and a 16-byte (128-bit) block. 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

CLEFIA is a 128-bit block cipher developed by Sony and published in 2007. It was designed for efficient hardware and software implementation and is standardised as a lightweight block cipher in ISO/IEC 29192-2.

CLEFIA uses a four-branch generalised Feistel network. Its two F-functions each apply S-boxes and a diffusion matrix, and it uses the diffusion switching mechanism, in which different MDS matrices are used in alternate branches so that differential and linear trails accumulate more active S-boxes. It supports 128-, 192- and 256-bit keys with 18, 22 and 26 rounds.

NextSSL includes CLEFIA-128, CLEFIA-192 and CLEFIA-256 entries wired from source and not yet verified against the reference vectors. CLEFIA was evaluated by CRYPTREC and adopted in the ISO lightweight cipher standard alongside PRESENT and later LEA. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.

History

2007–2007
  1. CLEFIA published by Sony Corporation

Security notes

No practical attacks on full CLEFIA are known; published attacks reach reduced-round versions. NextSSL's implementation is unverified.

Typical uses

Lightweight hardware encryptionISO/IEC 29192-2 compliance research

Sizes

FieldBytesMeaning
key16Secret key
block16Block

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", "clefia-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 CLEFIA variants

2

Frequently asked questions

What is Clefia-128?

Clefia-128 is a block cipher in the CLEFIA family. CLEFIA is a 128-bit block cipher developed by Sony and published in 2007.

What are the Clefia-128 sizes?

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

Who designed Clefia-128 and when?

Clefia-128 belongs to the CLEFIA family, first published in 2007 by Sony Corporation. Its origin: ISO/IEC 29192-2.

Is Clefia-128 safe to use?

Clefia-128 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 CLEFIA variants are there?

NextSSL also registers clefia-192, clefia-256 in the CLEFIA family.