ot::MeshCoP::GeneratePskc() function
Generates PSKc. PSKc is used to establish the Commissioner Session.
Arguments
aPassPhrase
The commissioning passphrase.
aNetworkName
The network name for PSKc computation.
aExtPanId
The extended PAN ID for PSKc computation.
aPskc
A reference to a PSKc where the generated PSKc will be placed.
Return value
kErrorNone Successfully generate PSKc. kErrorInvalidArgs If the length of passphrase is out of range.
ot::MeshCoP::GeneratePskc() is called by 1 function and calls 4 functions:
![]()
ot::MeshCoP::GeneratePskc()
ot::MeshCoP::GeneratePskc() reads 4 variables:
![]()
ot::MeshCoP::GeneratePskc()