Skip to content

Commit

Permalink
name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tst2005 committed Jan 26, 2024
1 parent 35b6009 commit db0a66e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lockbox/util/bit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ if not e.ror and not e.rrotate then
end

if not e.rol and not e.lrotate then
local ror = function(b, n)
local rol = function(b, n)
return e.bor(e.lshift(b, n), e.rshift(b, 32 - n))
end

e.rol = ror
e.lrotate = ror
e.rol = rol
e.lrotate = rol
end

return e

0 comments on commit db0a66e

Please sign in to comment.