From: Luke Kenneth Casson Leighton Date: Sun, 24 Sep 2023 10:04:42 +0000 (+0100) Subject: add link to poly1305-design (really good) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2e7487c8e48d38cc291be1ca526f6941e8c7de7;p=openpower-isa.git add link to poly1305-design (really good) --- 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)