chiark / gitweb /
algorithms.c: Fix Poly1305 `hashu...' and `hashbuf...' methods.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 17 Apr 2017 16:26:48 +0000 (17:26 +0100)
commit0c87e818de23f9bdc1bcef0d19b628aed814cc3a
tree45fa53f79cdc50b3901db7b8bd9d8dbb1b8f2bf0
parentbfb450ccb248489a622c7dcb51ed5e150eb8f3b6
algorithms.c: Fix Poly1305 `hashu...' and `hashbuf...' methods.

Hash the input number or length, not the size of the field.
algorithms.c