aboutsummaryrefslogtreecommitdiff
path: root/src/test/crypto_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2023-07-10 14:02:14 -0400
committerPieter Wuille <pieter@wuille.net>2023-07-12 14:47:37 -0400
commit50269b391fa18556bad72dc8c2fb4e2493a6a054 (patch)
tree688f6dd000aada17fe916c297d4fcc44cdf1ee27 /src/test/crypto_tests.cpp
parentb4794740f82e1a08294c8a5f5d586bc1925412f3 (diff)
downloadbitcoin-50269b391fa18556bad72dc8c2fb4e2493a6a054.tar.xz
crypto: switch poly1305 to incremental implementation
This code is taken from poly1305-donna-32.h, poly1305-donna.h, poly1305-donna.c from https://github.com/floodyberry/poly1305-donna, commit e6ad6e091d30d7f4ec2d4f978be1fcfcbce72781, with the following modifications: * Coding style (braces around one-line indented if/for loops). * Rename unsigned long (long) to uint32_t and uint64_t. * Rename poly1305_block_size to POLY1305_BLOCK_SIZE. * Adding noexcept to functions. * Merging poly1305_state_internal_t and poly1305_context types. * Merging code from multiple files. * Place all imported code in the poly1305_donna namespace.
Diffstat (limited to 'src/test/crypto_tests.cpp')
0 files changed, 0 insertions, 0 deletions