From d2e7487c8e48d38cc291be1ca526f6941e8c7de7 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 24 Sep 2023 11:04:42 +0100 Subject: [PATCH] add link to poly1305-design (really good) --- src/openpower/decoder/isa/poly1305-donna.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/poly1305-donna.py b/src/openpower/decoder/isa/poly1305-donna.py index 390c71b5..bff1aa28 100644 --- a/src/openpower/decoder/isa/poly1305-donna.py +++ b/src/openpower/decoder/isa/poly1305-donna.py @@ -4,7 +4,10 @@ # * https://nlnet.nl/project/LibreSOC-GigabitRouter/ # * https://bugs.libre-soc.org/show_bug.cgi?id=1157 # * Based on https://github.com/floodyberry/poly1305-donna (Public Domain) -"""Implementation of Poly1305 authenticator for RFC 7539""" +"""Implementation of Poly1305 authenticator for RFC 7539 +Design principles are well-documented at: +https://loup-vaillant.fr/tutorials/poly1305-design +""" def divceil(a, b): return -(a // -b) -- 2.30.2