Commit Graph

14 Commits

Author SHA1 Message Date
34788756d2 build: don't use './' as an include prefix
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
0b85632c97 ripemd: panic rather than throw in constexpr
calculating the hash should never need to throw; all error cases should
be detectable at construction time. we should panic if we detect such an
error.

this fixes a compilation warning
2016-08-01 17:23:30 +10:00
73579f57aa hash: remove uint8/size_t update functions 2016-06-17 16:27:16 +10:00
ce26ce1238 hash: style 2016-06-17 16:20:09 +10:00
5e6155a51a hash: make use of restrict and noexcept consistent 2016-06-17 16:06:46 +10:00
aeba9033e0 hash: prefer iterator style over base/length 2016-06-17 15:46:11 +10:00
9bbcfa6e63 make header paths more explicit 2016-04-05 11:06:35 +10:00
3993e561f8 unify licences 2016-02-26 13:36:01 +11:00
7b083df977 maths: tighten up type requirements for almost_equal
almost_equal only operates on two reals, or two integers (and even then
only on the same signedness).
2015-11-13 17:18:10 +11:00
7ae57730f0 whitespace 2015-04-13 18:06:08 +10:00
52f53caee5 debug: drop support for CHECK_HARD
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
b4a07538df hash: make finish public in accumulators 2014-05-09 14:43:40 +10:00
b33cb706c8 Add RIPEMD160 implementation 2014-04-10 21:04:07 +10:00