Skip to content

Commit

Permalink
zuse: fix blake3 jet registration
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechampine committed Nov 22, 2023
1 parent 7d01ee0 commit e079934
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/arvo/sys/zuse.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -2361,12 +2361,13 @@
=<
=< hash :: cuter API
=+ [cv=iv flags=0b0]
^? |%
^? ~% %blake3 ..blake3 ~
|%
::
++ keyed |=(key=octs hash(cv q.key, flags f-keyedhash))
::
++ hash
~% %hash ..blake3 ~
~% %hash ..hash ~
|= [out=@ud msg=octs]
^- @ux
=/ root (root-output (turn (split-octs 13 msg) chunk-output))
Expand Down Expand Up @@ -2394,7 +2395,7 @@
[cv 0 (rep 8 ~[l r]) 64 flags]
::
++ chunk-output
~% %chunk-output ..blake3 ~
~% %chunk-output ..chunk-output ~
|= [counter=@ chunk=octs]
^- output
%+ set-flag f-chunkend
Expand All @@ -2414,7 +2415,7 @@
==
::
++ compress
~% %compress ..blake3 ~
~% %compress ..compress ~
|= output
^- @
|^
Expand Down

0 comments on commit e079934

Please sign in to comment.