Skip to content

Commit

Permalink
Merge pull request #29 from musm/patch-1
Browse files Browse the repository at this point in the history
Update sha3.jl
  • Loading branch information
staticfloat authored Feb 6, 2017
2 parents 7a57fd6 + 12590ce commit 9966ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sha3.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function transform!{T<:SHA3_CTX}(context::T)
for idx in 1:div(blocklen(T),8)
context.state[idx] = context.state[idx] buffer_as_uint64[idx]
end
bc = Array(UInt64, 5)
bc = Vector{UInt64}(5)

# We always assume 24 rounds
for round in 0:23
Expand Down

0 comments on commit 9966ae4

Please sign in to comment.