Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
39
func
msb(b [16]byte) (c [8]byte) { copy(c[:], b[:8]);
return
}
40
func
lsb(b [16]byte) (c [8]byte) { copy(c[:], b[8:]);
return
}
41
42
var
errInvalidKeyLength = errInvalidSize(
"key_length"
,
"key length"
,
"16, 24 or 32"
)
43
Callers
2
WrapKey
Function · 0.85
UnwrapKey
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected