Documentation
¶
Index ¶
Constants ¶
View Source
const ( FCForCkPrimeIkPrimeDerivation = "20" FCForKseafDerivation = "6C" FCForResStarXresStarDerivation = "6B" FCForKausfDerivation = "6A" FCForKamfDerivation = "6D" FCForKgnbKn3iwfDerivation = "6E" FCForNhDerivation = "6F" FCForAlgorithmKeyDerivation = "69" )
Variables ¶
This section is empty.
Functions ¶
func GetKDFValue ¶
This function implements the KDF defined in TS.33220 cluase B.2.0.
For P0-Pn, the ones that will be used directly as a string (e.g. "WLAN") should be type-casted by []byte(), and the ones originally in hex (e.g. "bb52e91c747a") should be converted by using hex.DecodeString().
For L0-Ln, use KDFLen() function to calculate them (e.g. KDFLen(P0)).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.