Commit Graph

7 Commits

Author SHA1 Message Date
Lucas Gabriel Vuotto 2f31fe73e5 impl/poly1305: add a comment
Explain why it's fine to skip clamping while doing t4 t3 t2 t1 t0 + 5.
2024-06-30 14:10:46 +00:00
Lucas Gabriel Vuotto 35258f2b67 impl/poly1305: it's enough to overflow 2^130
Going for 2^136 doesn't give anything extra, and is one additional
addition.
2024-06-30 14:05:28 +00:00
Lucas Gabriel Vuotto cef67c9f09 Merge most of internal headers into internal.h
Fix the includes accordingly and get rid of some unused ones.
2024-06-17 21:52:07 +00:00
Lucas Gabriel Vuotto 21251045f4 Rename the state block buffers from m{,len} to b{,len} 2024-06-15 21:22:12 +00:00
Lucas Gabriel Vuotto 230dedac16 Rename all algorithm-specific ctx to state 2024-06-15 21:13:31 +00:00
Lucas Gabriel Vuotto d90236bfb9 Zap dangling whitespaces 2024-06-10 17:44:20 +00:00
Lucas Gabriel Vuotto 7bc527c769 initial import 2024-05-31 10:59:58 +00:00