Merge branch 'secretstream-pr' of https://github.com/spieglt/sodium-javascript into secretstream-pr
This commit is contained in:
commit
64cbbb2204
@ -12,7 +12,7 @@ const crypto_core_hchacha20_CONSTBYTES = 16
|
|||||||
function ROTL32 (x, b) {
|
function ROTL32 (x, b) {
|
||||||
x &= 0xFFFFFFFF
|
x &= 0xFFFFFFFF
|
||||||
b &= 0xFFFFFFFF
|
b &= 0xFFFFFFFF
|
||||||
return (x << b) | (x >>> (64 - b))
|
return (x << b) | (x >>> (32 - b))
|
||||||
}
|
}
|
||||||
|
|
||||||
function LOAD32_LE (src, offset) {
|
function LOAD32_LE (src, offset) {
|
||||||
|
Loading…
Reference in New Issue
Block a user