Skip to content

Commit

Permalink
ci: fix type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
inkydragon committed Dec 14, 2024
1 parent 2c34eb0 commit eb06dcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,12 @@ function digest!(context::T,d::UInt,p::Ptr{UInt8}) where {T<:SHAKE}
end
context.used = true
p+=blocklen(T)
digest!(context,d-blocklen(T),p)
next_d_len = UInt(d - blocklen(T))
digest!(context, next_d_len, p)
return
end
end

"""
shake128(data::AbstractBytes,d::UInt)
Expand Down

0 comments on commit eb06dcb

Please sign in to comment.