Skip to content

Commit

Permalink
Merge pull request hacl-star#876 from hacl-star/marina@blake2
Browse files Browse the repository at this point in the history
blake2: fix a typo in a specification
  • Loading branch information
polubelova authored Nov 2, 2023
2 parents 6872c3c + 5705879 commit 12c5e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/Spec.Blake2.fst
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ let blake2s d kk k n = blake2 Blake2S d kk k n

val blake2b:
d:bytes
-> kk:size_nat{kk <= 64 /\ (if kk = 0 then length d < pow2 128 else length d + 128 < pow2 64)}
-> kk:size_nat{kk <= 64 /\ (if kk = 0 then length d < pow2 128 else length d + 128 < pow2 128)}
-> k:lbytes kk
-> nn:size_nat{1 <= nn /\ nn <= 64} ->
Tot (lbytes nn)
Expand Down

0 comments on commit 12c5e95

Please sign in to comment.