MCPcopy Create free account
hub / github.com/browserify/browserify-aes / fromArray

Function fromArray

ghash.js:13–20  ·  view source on GitHub ↗
(out)

Source from the content-addressed store, hash-verified

11}
12
13function fromArray (out) {
14 var buf = Buffer.allocUnsafe(16)
15 buf.writeUInt32BE(out[0] >>> 0, 0)
16 buf.writeUInt32BE(out[1] >>> 0, 4)
17 buf.writeUInt32BE(out[2] >>> 0, 8)
18 buf.writeUInt32BE(out[3] >>> 0, 12)
19 return buf
20}
21
22function GHASH (key) {
23 this.h = key

Callers 1

ghash.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…