ot::Crypto::Ecdsa::P256::KeyPair::Generate() method
Generates and populates the `KeyPair` with a new public/private keys.
Return value
kErrorNone A new key pair was generated successfully. kErrorNoBufs Failed to allocate buffer for key generation. kErrorNotCapable Feature not supported. kErrorFailed Failed to generate key.
ot::Crypto::Ecdsa::P256::KeyPair::Generate() is called by 1 function and calls 1 function:
![]()
ot::Crypto::Ecdsa::P256::KeyPair::Generate()