Alexander Iljin
27d38225f4
checksums: inherit checksum-state from disposable
...
This allows the inherited tuples, including block-checksum-state, to be
treated like the normal disposable tuples, instead of imitating only part
of the interface.
2020-07-29 17:42:02 +00:00
Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
John Benediktsson
55df8437df
checksums: fix stack effect of with-checksum-state.
2016-08-02 10:58:48 -07:00
John Benediktsson
1b54f0a434
checksums: make checksum-state implement dispose.
2016-08-01 15:46:30 -07:00
John Benediktsson
83a7592a86
checksums: making "checksum-state" a universal concept.
...
I'm not super happy with the design yet, partly because OpenSSL doesn't
subclass ``checksum-state`` so all ``initialize-checksum-state`` will not
return a ``checksum-state`` instance. That could maybe be changed by making
``checksum-state`` a mixin, or perhaps some other way.
2016-07-30 09:31:10 -07:00
John Benediktsson
2255d6d876
checksums: some cleanup.
...
- define checksum-bytes and checksum-stream in terms of each other
- delete stream-checksum now that it's no longer needed
- move checksum-state stuff into checksums.common
- add a block-checksum that uses the checksum-state stuff
- change checksums.openssl to not use the checksum-state
2016-06-30 12:30:58 -07:00
Alexander Iljin
66b9770f77
checksums: make add-checksum-bytes a generic word
2016-06-29 14:17:57 -07:00
John Benediktsson
0d2859124e
checksums: remove hex-string in favor of math.parser:bytes>hex-string.
2016-03-21 21:06:22 -07:00
John Benediktsson
90ac4ab9f6
checksums: speedup add-checksum-bytes by using the slice.
2015-12-30 09:40:58 -08:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
Doug Coleman
964cbf894b
core/basis: Trim or reorganize a few using lists. Playing around with auto-use restarts and private words.
2014-10-27 13:39:30 -07:00
John Benediktsson
59677102b6
checksums: simplify add-checksum-bytes.
2014-02-17 18:25:51 -08:00
Doug Coleman
3ba787b277
core/basis: trim down using lists
2011-11-30 23:15:42 -08:00
Doug Coleman
98546d6c8f
fix checksum protocol -- was hardcoded to a block size of 64
2009-09-28 18:58:20 -05:00
Doug Coleman
eb61ffc56d
use itoa in more places
2009-08-02 18:18:31 -05:00
Doug Coleman
4eab045deb
add nth-unsafe to sequences.private, making md5 faster
2009-05-18 00:24:24 -05:00
Doug Coleman
bd8673f766
fix multiple using warning in stage1, core can't use io.encodings.binary
2009-05-17 18:05:46 -05:00
Doug Coleman
f1f1a26b60
working on hmac
2009-05-17 12:45:20 -05:00
Doug Coleman
0bdccdb7ac
checksums work now
2009-05-16 18:00:56 -05:00
Doug Coleman
d1468a33d1
dont use fry in core
2009-05-16 15:17:20 -05:00
Doug Coleman
e870214016
working on checksums
2009-05-16 13:03:09 -05:00
Doug Coleman
471fe2c272
rename lines to stream-lines
...
rename cnotents to stream-contents
2009-05-01 10:41:27 -05:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -06:00
Slava Pestov
50e214c152
io.files split up and general refactoring work in progress
2008-12-14 20:03:00 -06:00
Slava Pestov
4f0a9f311e
Untangling some dependencies
2008-12-08 14:58:00 -06:00
Slava Pestov
a4d9cdfeb3
Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
...
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Slava Pestov
a1ea2655ed
Fix problems found by builder
2008-05-01 20:02:34 -05:00
Slava Pestov
7584e02805
New checksum protocol
2008-04-30 16:11:55 -05:00