MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / lsb

Function lsb

pkg/crypto/keywrap.go:40–40  ·  view source on GitHub ↗
(b [16]byte)

Source from the content-addressed store, hash-verified

38
39func msb(b [16]byte) (c [8]byte) { copy(c[:], b[:8]); return }
40func lsb(b [16]byte) (c [8]byte) { copy(c[:], b[8:]); return }
41
42var errInvalidKeyLength = errInvalidSize("key_length", "key length", "16, 24 or 32")
43

Callers 2

WrapKeyFunction · 0.85
UnwrapKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected