Skip to content

HiAE - A High-Throughput Authenticated Encryption Algorithm for Cross-Platform Efficiency.

Notifications You must be signed in to change notification settings

jedisct1/zig-hiae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HiAE: A High-Throughput Authenticated Encryption Algorithm for Cross-Platform Efficiency

A Zig implementation of HiAE, along with support for parallel variants.

Benchmarks

Encryption

Zen4

Variant Throughput
HiAE 252.0 Gb/s
HiAEX2 449.9 Gb/s
HiAEX4 472.8 Gb/s

Apple M1

Variant Throughput
HiAE 169.5 Gb/s
HiAEX2 133.9 Gb/s
HiAEX4 98.3 Gb/s

WebAssembly (lime1+simd128)

Variant Throughput
HiAE 9.2 Gb/s
HiAEX2 11.0 Gb/s
HiAEX4 7.7 Gb/s

MAC

Zen4 (likely limited by the memory bandwidth)

Variant Throughput
HiAE-MAC 315.8 Gb/s
HiAEX2-MAC 530.4 Gb/s
HiAEX4-MAC 522.2 Gb/s
LeMAC 345.0 Gb/s

Apple M1

Variant Throughput
HiAE-MAC 163.1 Gb/s
HiAEX2-MAC 182.9 Gb/s
HiAEX4-MAC 138.8 Gb/s
LeMAC 219.2 Gb/s

WebAssembly (lime1+simd128)

Variant Throughput
HiAE 9.8 Gb/s
HiAEX2 12.0 Gb/s
HiAEX4 7.7 Gb/s
LeMAC 10.0 Gb/s

Circuits

Absorption

Absorption in HiAE

Encryption

Encryption in HiAE

Inversion

Inversion in HiAE

About

HiAE - A High-Throughput Authenticated Encryption Algorithm for Cross-Platform Efficiency.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages