Hawkynt

ESTATE-TWEGIFT-128

Nonce-misuse resistant authenticated encryption based on tweakable GIFT-128. Uses FCBC authentication and OFB encryption to provide security even when nonces are reused with different plaintexts.

Properties

Property Value
Category Authenticated Encryption
Sub-category Authenticated Encryption
Security status ๐Ÿงช Experimental
Complexity Intermediate
Inventor Ashwin Jha, Eik List, Mridul Nandi
Year 2020
Origin ๐Ÿ‡ฎ๐Ÿ‡ณ India
Source algorithms/aead/estate-twegift.js

Parameters

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

Capabilities

Flag Value
SupportsDetached No

Security

Status: ๐Ÿงช Experimental

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

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

Vector 1 โ€” NIST KAT Count 1 - Empty PT and AD

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad (empty)
input (empty)
expected aab13ec6c00ea011af831a0098a79883

Vector 2 โ€” NIST KAT Count 2 - Empty PT, 1 byte AD

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad 00
input (empty)
expected b2dfe0a387561795dfb34a6fb60b74fd

Vector 3 โ€” NIST KAT Count 3 - Empty PT, 2 bytes AD

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad 0001
input (empty)
expected a3418c9a93a22348816f3c907864b5ad

Vector 4 โ€” NIST KAT Count 17 - Empty PT, 16 bytes AD

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad 000102030405060708090a0b0c0d0e0f
input (empty)
expected 098196b91ba5cddfe1b66d2e403737e5

Vector 5 โ€” NIST KAT Count 34 - 1 byte PT, empty AD

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad (empty)
input 00
expected 61c85435e5e798be247258bde9e901e281

Vector 6 โ€” NIST KAT Count 35 - 1 byte PT, 1 byte AD

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad 00
input 00
expected 273b88f53f687b4e57e66068dc8f2810a8

Vector 7 โ€” NIST KAT Count 50 - 1 byte PT, 16 bytes AD

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad 000102030405060708090a0b0c0d0e0f
input 00
expected 3fb5da8025af0db8abed6100d573b0c70a

โ† All algorithms