standard fixes
This commit is contained in:
parent
9d29d467e4
commit
b6201cc0f1
@ -139,7 +139,7 @@ function crypto_aead_chacha20poly1305_ietf_decrypt_detached (m, nsec, c, mac, ad
|
|||||||
}
|
}
|
||||||
|
|
||||||
function write64LE (buf, offset, int) {
|
function write64LE (buf, offset, int) {
|
||||||
buf.fill(0, 0 ,8)
|
buf.fill(0, 0, 8)
|
||||||
|
|
||||||
const view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength)
|
const view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength)
|
||||||
view.setUint32(offset, int & 0xffffffff, true)
|
view.setUint32(offset, int & 0xffffffff, true)
|
||||||
|
Loading…
Reference in New Issue
Block a user