Commit Graph

36 Commits (master)

Author SHA1 Message Date
John Benediktsson 8eb78b9212 Revert "checksums.multi: make multi-checksum an instance of checksum"
This reverts commit fbeb409979.
2020-08-13 16:09:31 -07:00
Alexander Iljin fbeb409979 checksums.multi: make multi-checksum an instance of checksum
Previously it was declared to be an instance of block-checksum, which is
not necessarily the case, since the participating checksums don't have to
be block-checksums.
2020-07-29 17:42:02 +00:00
Doug Coleman 357d504719 tests: Don't depend on license.txt not changing.
It's probably bad to have the year in the license file, but it's worse to depend on
the license never changing.

Add a dummy file to crc32, and for multi checksums, the file we were checksumming is
not really integral to the test since it's read into a buffer first.
2019-03-23 13:00:52 -05:00
John Benediktsson e4c94e7d98 checksums.multi: fix tests. 2019-03-23 07:20:31 -07:00
Doug Coleman 3ea506e5b3 checksums.multi: fix test for 2019 2019-03-22 21:30:18 -05:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson 39602240da checksums.multi: making these checked $examples. 2018-03-04 17:49:52 -08:00
John Benediktsson 8dece633e6 checksums.multi: fix $slot help-lint error. 2018-03-04 17:47:01 -08:00
John Benediktsson e6c9e76db4 checksums.multi: use resource: to make sure test works. 2018-03-04 15:28:18 -08:00
Alexander Iljin 156f69b3a3 checksums.multi: new vocab 2018-03-04 14:43:53 -08:00
John Benediktsson 4a144e5ea7 more test IN: cleanup. 2018-02-15 08:45:08 -08:00
John Benediktsson 3c12d2575f sodium: add not loaded tag for now. 2018-01-22 11:25:06 -08:00
John Benediktsson 3f2b83bf12 checksums.sodium: use checksums in tests. 2018-01-22 09:28:01 -08:00
Alexander Iljin 383dc58d7e checksums.sodium: add a couple of tests and the "not tested" tag
The result for the first test (with no key) was produced using the b2sum
utility (part of Git for Windows) with the "-a blake2b" option, because
that's the hash that is currently being used by libsodium for its Generic
Hashing API.

The "not tested" tag was added to avoid adding the libsodium dependency to
the automated build evnironment.
2018-01-22 09:26:16 -08:00
Alexander Iljin 60ff8c00aa checksums.sodium: implement optional keying 2018-01-22 09:26:16 -08:00
Alexander Iljin e10ccd030d checksums.sodium: support Sodium generic hash in checksums vocab 2018-01-22 09:26:16 -08:00
Björn Lindqvist 1ca8276df4 basis/,core/,extra/: many new tags 2017-07-06 23:04:18 +02:00
John Benediktsson 134be588cf no need to clone empty byte-array. 2017-01-22 15:41:07 -08:00
John Benediktsson da6ee64786 checksums.process: change docs to use $unchecked-example. 2016-09-20 07:04:59 -07:00
John Benediktsson 73c153fa21 checksums.process: super minor cleanup, simplify trim-head. 2016-09-19 20:20:59 -07:00
Alexander Iljin 082e59d187 checksums.process: in the process-state tuple rename proc slot to process 2016-09-19 20:18:06 -07:00
Alexander Iljin 817338360c checksums.process: reimplement trim-hash and add tests
Use blank? to detect end of hash string.
2016-09-19 20:18:06 -07:00
Alexander Iljin 7bab7c3c67 checksums.process: initial commit 2016-09-19 20:18:06 -07:00
John Benediktsson ad989bf48b checksums.crc16: moving to basis from extra. 2016-08-16 16:21:08 -07:00
Alexander Iljin d3051ab8b1 checksums.crc16: new vocabulary 2016-08-16 16:17:11 -07:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00
Slava Pestov 29fa4a8a54 assoc-find is no longer generic 2008-06-09 05:22:21 -05:00
Slava Pestov ba8f1388ab Fixing everything for mandatory stack effects 2008-06-09 02:14:14 -05:00
Slava Pestov 2cbfa9c2d7 Move destructors to core 2008-05-14 23:23:12 -05:00
Slava Pestov 8a0db8eda9 OpenSSL checksums 2008-05-11 17:43:45 -05:00
Slava Pestov f9db3f8b50 Documentation updates 2008-05-11 17:42:48 -05:00
Doug Coleman ce76b1888e add adler-32 checksum, tests, and docs 2008-05-08 19:36:44 -05:00
Slava Pestov 08e0eff03f Fix stack effect 2008-05-07 07:49:13 -05:00
Slava Pestov 75fb15ee4c Split stdio up into input-stream/output-stream, pipes work in progress 2008-05-05 02:19:25 -05:00
Slava Pestov 79f91f6b7d Working on user capabilities 2008-05-01 16:24:50 -05:00
Slava Pestov 7584e02805 New checksum protocol 2008-04-30 16:11:55 -05:00