Searched refs:cryptoKey (Results 1 – 4 of 4) 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()
291 Crypto::Key cryptoKey; in ComputeKeys() local294 cryptoKey.SetAsKeyRef(mNetworkKeyRef); in ComputeKeys()296 cryptoKey.Set(mNetworkKey.m8, NetworkKey::kSize); in ComputeKeys()299 hmac.Start(cryptoKey); in ComputeKeys()313 Crypto::Key cryptoKey; in ComputeTrelKey() local316 cryptoKey.SetAsKeyRef(mNetworkKeyRef); in ComputeTrelKey()318 cryptoKey.Set(mNetworkKey.m8, NetworkKey::kSize); in ComputeTrelKey()324 hkdf.Extract(salt, sizeof(salt), cryptoKey); in ComputeTrelKey()
768 Crypto::Key cryptoKey; in CalculateHash() local771 cryptoKey.Set(reinterpret_cast<const uint8_t *>(aBuf), static_cast<uint16_t>(aBufLen)); in CalculateHash()773 hmac.Start(cryptoKey); in CalculateHash()