Commit Graph

50 Commits

Author SHA1 Message Date
Danny Robson aa8f4590c6 build: remove space in UDL definition
Fixes an error under clang
2024-02-21 14:17:26 +10:00
Danny Robson b3e14f949e build: add fmtlib as a dependency 2024-02-21 14:17:09 +10:00
Danny Robson 220072fd6d test: update to use fmtlib specifiers 2022-03-23 06:41:55 +10:00
Danny Robson 9428d5ee60 hash/tiger: use read_array to avoid alignment issues 2022-01-25 15:54:44 +10:00
Danny Robson f93e7da88f md4: silence unused variable warning 2021-11-18 11:42:44 +10:00
Danny Robson 1f53c58898 ripemd: use the correct path to `panic` 2021-11-15 15:14:29 +10:00
Danny Robson e06d7b381f hash/blake2: update namespace for size_type trait 2020-12-06 08:40:46 +10:00
Danny Robson 229b3d3f1a cruft: use new debug header paths 2019-05-25 16:39:03 +10:00
Danny Robson bf27d731e4 hash: use new iterator namespace 2019-03-19 21:32:13 +11:00
Danny Robson 777c4ef2d8 tools/bench: disable MD2
MD2 is _far_ too slow (and less prevalent) compared to the other hashes
that we test.
2019-02-22 12:34:11 +11:00
Danny Robson 4ebb5a9645 hash/sha3: add stubs 2019-02-21 17:44:11 +11:00
Danny Robson 1f3721ee15 hash/blake2: use more const 2019-02-10 15:50:01 +11:00
Danny Robson bd940f0256 hash/blake2: prefer std::array over bare arrays 2019-02-10 15:45:40 +11:00
Danny Robson a8f718f1d9 hash/blake2: prefer views over cursors 2019-02-10 15:33:44 +11:00
Danny Robson 2e615b1b19 hash/blake2: use aligned storage for u64 salt components 2019-02-10 13:12:05 +11:00
Danny Robson a2474e6b09 hash/md2: style 2019-02-09 19:21:42 +11:00
Danny Robson 46c0c81918 hash/blake: add traits units 2019-02-09 15:54:40 +11:00
Danny Robson cfc728a3a7 hash/blake: prefer std types 2019-02-09 15:45:18 +11:00
Danny Robson 103ede647b hash/md5: prefer std types 2019-02-09 15:20:13 +11:00
Danny Robson e213be2415 hash/sha1: remove dependant operations from byte outputs 2019-02-09 15:03:48 +11:00
Danny Robson 180ecaae5f tools/bench: add hash/tiger to benchmark 2019-02-09 14:58:40 +11:00
Danny Robson 55ccf4b698 hash/blake;hash/blake2: use the new name for hex2u08 2019-02-09 14:58:21 +11:00
Danny Robson 9e3fc47657 hash/tiger: add initial tiger hash implementation 2019-02-09 14:54:50 +11:00
Danny Robson c4960e337e hash/sha1: style 2019-02-04 20:46:57 +11:00
Danny Robson 485cc52a7b hash/blake2: avoid copying hash state from compression function 2019-02-04 20:34:57 +11:00
Danny Robson b6477214ad hash/blake2: style 2019-02-04 20:29:38 +11:00
Danny Robson c0351be4fa tools/bench: add initial hash benchmarking tool 2019-02-04 20:12:08 +11:00
Danny Robson f23651a3f3 hash/md4: prefer cruft::std types 2019-02-04 20:04:31 +11:00
Danny Robson c0e1e0b7b6 hash/md2: prefer cruft::std types 2019-02-04 20:00:44 +11:00
Danny Robson 88ad70df40 hash/ripemd: use cruft::std types 2019-02-04 19:50:44 +11:00
Danny Robson dcc81c5e97 block/rc2: update test for new bswap signatures 2019-01-02 13:37:32 +11:00
Danny Robson 98aef351db block/speck: add word_t typedef 2018-12-08 22:25:12 +11:00
Danny Robson 90238ae5e1 block/rc2: initial implementation 2018-12-08 19:59:59 +11:00
Danny Robson 5f32d21c59 build: avoid repeating module names for sources and tests 2018-12-02 18:33:14 +11:00
Danny Robson c2ef2ed89c block: move rc5/6 ciphers from stream directory 2018-12-02 18:24:30 +11:00
Danny Robson 8c21600805 block: add initial speck implementation 2018-12-02 18:17:19 +11:00
Danny Robson 0f12e8a87c block: remove blowfish stubs
They appear to be copied directly for a source of unknown origin, and
are dead code as it stands. Reimplement if required.
2018-12-02 14:25:43 +11:00
Danny Robson 5509999f44 block: use src _and_ dest views for encyption/decryption 2018-12-02 14:20:16 +11:00
Danny Robson 38e8aa70d6 block: update block concept to take a data view 2018-12-02 13:45:26 +11:00
Danny Robson f1d83c4f8f build: update pkg-config templates 2018-12-02 13:17:54 +11:00
Danny Robson 22c2218421 pkg-config: fix copy-paste errors from libcruft-noise 2018-12-02 12:42:16 +11:00
Danny Robson eecf799753 rename util namespace to cruft 2018-08-05 14:51:17 +10:00
Danny Robson 38888bcfeb add missing COPYING file 2018-08-04 15:26:23 +10:00
Danny Robson 7a3b4e20bd relicense under the MPL-2.0 2018-08-04 15:18:16 +10:00
Danny Robson 7efff8d87f README: make explicit the use of asciidoc 2018-06-05 17:12:20 +10:00
Danny Robson 974f5a50e7 hash: use new view casting api 2018-06-01 15:59:01 +10:00
Danny Robson 2b8b733bfd build: avoid cast and alignment warnings 2018-06-01 13:24:05 +10:00
Danny Robson 623b65041c blake: fix test vectors 2018-01-23 17:24:45 +11:00
Danny Robson 18b465ea67 add stubs for many primitives
Add stubs for,
* blowfish
* blake
* blake2
* md6
* pbkdf2
* ripemd
* chacha
* rabbit
* rc5
* rc6
* salsa
2018-01-22 19:51:16 +11:00
Danny Robson 9fb5ff3136 initial import from libcruft-util 2018-01-14 17:17:34 +11:00