Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type mismatch for shake and setup x86 ci #117

Merged
merged 2 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
# Alter the UUID so that we test this package instead of loading
# the version that is already built into a Julia's system image.
- run: julia --color=yes .ci/test_and_change_uuid.jl
Expand Down
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
Loading