Searched refs:cryptoKey (Results 1 – 3 of 3) sorted by relevance
45 Key cryptoKey; in SetKey() local47 cryptoKey.Set(aKey, aKeyLength); in SetKey()48 SetKey(cryptoKey); in SetKey()53 Key cryptoKey; in SetKey() local55 aMacKey.ConvertToCryptoKey(cryptoKey); in SetKey()56 SetKey(cryptoKey); in SetKey()
281 Key cryptoKey; in otPlatCryptoHkdfExpand() local283 cryptoKey.Set(prk->GetBytes(), sizeof(HmacSha256::Hash)); in otPlatCryptoHkdfExpand()284 hmac.Start(cryptoKey); in otPlatCryptoHkdfExpand()315 Key cryptoKey; in otPlatCryptoHkdfExtract() local324 cryptoKey.Set(aSalt, aSaltLength); in otPlatCryptoHkdfExtract()326 hmac.Start(cryptoKey); in otPlatCryptoHkdfExtract()
298 Crypto::Key cryptoKey; in ComputeKeys() local301 cryptoKey.SetAsKeyRef(mNetworkKeyRef); in ComputeKeys()303 cryptoKey.Set(mNetworkKey.m8, NetworkKey::kSize); in ComputeKeys()306 hmac.Start(cryptoKey); in ComputeKeys()320 Crypto::Key cryptoKey; in ComputeTrelKey() local323 cryptoKey.SetAsKeyRef(mNetworkKeyRef); in ComputeTrelKey()325 cryptoKey.Set(mNetworkKey.m8, NetworkKey::kSize); in ComputeTrelKey()331 hkdf.Extract(salt, sizeof(salt), cryptoKey); in ComputeTrelKey()