]> git.ipfire.org Git - thirdparty/tor.git/commit
Speed up polyval through pipelining.
authorNick Mathewson <nickm@torproject.org>
Thu, 15 May 2025 14:00:21 +0000 (10:00 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 21 May 2025 17:00:03 +0000 (13:00 -0400)
commit110d20790a79123ae8f8371b49ac138d6c35eeaf
tree41e41cc8deadda816384e74fdcb6dc123c73302e
parent5fa015e8d0cd7f8fd0140e33a06141d5b8d887c6
Speed up polyval through pipelining.

This optimization helps because:
  - We're not blocking the computation of each block on the computation of the
    previous one, which leads to fewer pipeline stalls.
  - We're deferring reduction until the end of handling a bunch of blocks.
src/ext/polyval/pclmul.c
src/ext/polyval/polyval.c
src/test/test_crypto.c