Lightweight Cryptography Primitives
 All Data Structures Files Functions Variables Typedefs Macros Pages
Performance on AVR

This page lists the performance figures for AVR platforms, in particular the ATmega2560 running at 16MHz. Figures for other AVR chips should be fairly similar. Performance figures for 32-bit platforms can be found here.

Performance of AEAD algorithms on AVR

AlgorithmKey BitsNonce BitsTag BitsEncrypt 128 bytesDecrypt 128 bytesEncrypt 16 bytesDecrypt 16 bytesAverage
Schwaemm128-128 (SPARKLE)1281281284.383.878.377.704.94
Schwaemm256-128 (SPARKLE)1282561284.454.005.074.894.45
Schwaemm192-192 (SPARKLE)1921921923.633.315.295.053.91
ASCON-128a1281281282.952.904.284.223.28
Schwaemm256-256 (SPARKLE)2562562563.032.753.453.333.04
GIFT-COFB1281281282.612.413.883.702.83
ASCON-1281281281282.182.163.833.792.55
ASCON-80pq1601281282.182.163.823.782.55
TinyJAMBU-12812896641.791.784.023.992.21
Delirium (Elephant)128961281.721.703.413.372.06
Xoodyak1281281281.811.802.582.572.01
TinyJAMBU-19219296641.621.613.723.692.00
Romulus-N1281281281.561.553.663.621.94
TinyJAMBU-25625696641.471.473.463.441.83
PHOTON-Beetle-AEAD-ENC-1281281281281.161.152.822.761.45
Romulus-M1281281281.081.082.462.451.34
AES-128-GCM128961281.021.022.232.221.26
AES-192-GCM192961280.990.992.152.141.22
AES-256-GCM256961280.960.962.042.031.18
Grain-128AEAD12896640.830.701.961.780.96
Romulus-T1281281280.480.480.940.940.57
Dumbo (Elephant)12896640.370.370.790.790.45
PHOTON-Beetle-AEAD-ENC-321281281280.330.341.151.150.44
Jumbo (Elephant)12896640.330.330.620.620.39
ISAP-A-128A1281281280.370.380.310.320.35
ISAP-K-128A1281281280.320.330.250.250.30
ISAP-A-1281281281280.070.080.040.040.06
ISAP-K-1281281281280.050.060.030.030.04

Performance of hash algorithms on AVR

AlgorithmHash Bits1024 bytes128 bytes16 bytesAverage
Esch256 (SPARKLE)2561.901.653.152.23
SHA2562562.221.552.221.99
Esch384 (SPARKLE)3841.200.961.481.21
Xoodyak2560.920.831.831.19
Romulus-H2560.910.751.811.16
ASCON-HASHA2561.050.811.171.01
ASCON-HASH2560.720.590.980.76
PHOTON-Beetle-HASH2560.170.181.380.58

SHA256 uses a fully unrolled implementation of the SHA256 block transform function in AVR assembly code.

Overall group rankings for AVR

AEAD algorithm rankings:

RankAlgorithms
44SPARKLE
28GIFT-COFB
25ASCON
22TinyJAMBU
20Xoodyak
19Romulus
14PHOTON-Beetle
12AES-128-GCM
9Grain-128AEAD
4Elephant
3ISAP

Hash algorithm rankings:

RankAlgorithms
22SPARKLE
19SHA256
11Romulus, Xoodyak
7ASCON
5PHOTON-Beetle