Hawkynt

GIFT-128

Lightweight block cipher designed for efficient hardware and software implementation. Uses 128-bit blocks with 128-bit keys and 40 rounds. Selected for NIST Lightweight Cryptography standardization in GIFT-COFB.

Properties

Property Value
Category Block Ciphers
Sub-category Block Cipher
Security status ๐Ÿงช Experimental
Complexity Intermediate
Inventor Subhadeep Banik, Sumit Kumar Pandey, Thomas Peyrin, et al.
Year 2017
Origin Not specified
Source algorithms/block/gift128.js

Parameters

Parameter Supported values
Key sizes 16 bytes (128 bits)
Block sizes 16 bytes (128 bits)

Security

Status: ๐Ÿงช Experimental

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

5 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 โ€” GIFT-128b Test Vector #1 - GIFT-COFB round-2 specification

Field Value
key 000102030405060708090a0b0c0d0e0f
input 000102030405060708090a0b0c0d0e0f
expected a94af7f9ba181df9b2b00eb7dbfa93df

Vector 2 โ€” GIFT-128b Test Vector #2 - GIFT-COFB round-2 specification

Field Value
key e0841f8fb90783136aa8b7f192f5c474
input e491c665522031cf033bf71b9989ecb3
expected 3331efc3a6604f9599ed42b7dbc02a38

Vector 3 โ€” GIFT-128b Test Vector #3 (all zeros) - fixslicing reference code

Field Value
key 00000000000000000000000000000000
input 00000000000000000000000000000000
expected 5e8e3a2e1697a77dcc0b89dcd97a64ee

Vector 4 โ€” GIFT-128b Test Vector #4 - fixslicing reference code

Field Value
key fedcba9876543210fedcba9876543210
input fedcba9876543210fedcba9876543210
expected 22581437e5e961ef6d125046c5f20788

Vector 5 โ€” GIFT-128b Test Vector #5 - fixslicing reference code

Field Value
key d0f5c59a7700d3e799028fa9f90ad837
input e39c141fa57dba43f08a85b6a91f86c1
expected da1dc8873823e325c4b4a77c1a73330e

โ† All algorithms