Documentation ¶
Index ¶
- Constants
- func Aes128ctr(input, encKey, icb []byte) []byte
- func AnsiX963KDF(sharedKey, publicKey []byte, ...) []byte
- func CompressKey(uncompressed []byte, y *big.Int) []byte
- func HmacSha256(input, macKey []byte, macLen int) []byte
- func ToSupi(suci string, suciProfiles []SuciProfile) (string, error)
- type SuciProfile
Constants ¶
View Source
const ( ProfileAMacKeyLen = 32 // octets ProfileAEncKeyLen = 16 // octets ProfileAIcbLen = 16 // octets ProfileAMacLen = 8 // octets ProfileAHashLen = 32 // octets )
profile A.
View Source
const ( ProfileBMacKeyLen = 32 // octets ProfileBEncKeyLen = 16 // octets ProfileBIcbLen = 16 // octets ProfileBMacLen = 8 // octets ProfileBHashLen = 32 // octets )
profile B.
View Source
const (
HNPublicKeyIDPlace = 6
)
suci-0(SUPI type)-mcc-mnc-routingIndentifier-protectionScheme-homeNetworkPublicKeyIdentifier-schemeOutput.
Variables ¶
This section is empty.
Functions ¶
func AnsiX963KDF ¶
func HmacSha256 ¶
Types ¶
type SuciProfile ¶
Click to show internal directories.
Click to hide internal directories.