Searched refs:cryptoKey (Results 1 – 3 of 3) sorted by relevance
47 Key cryptoKey; in SetKey() local49 cryptoKey.Set(aKey, aKeyLength); in SetKey()50 SetKey(cryptoKey); in SetKey()55 Key cryptoKey; in SetKey() local57 aMacKey.ConvertToCryptoKey(cryptoKey); in SetKey()58 SetKey(cryptoKey); in SetKey()
274 Key cryptoKey; in otPlatCryptoHkdfExpand() local276 cryptoKey.Set(prk->GetBytes(), sizeof(HmacSha256::Hash)); in otPlatCryptoHkdfExpand()277 hmac.Start(cryptoKey); in otPlatCryptoHkdfExpand()308 Key cryptoKey; in otPlatCryptoHkdfExtract() local317 cryptoKey.Set(aSalt, aSaltLength); in otPlatCryptoHkdfExtract()319 hmac.Start(cryptoKey); in otPlatCryptoHkdfExtract()
294 Crypto::Key cryptoKey; in ComputeKeys() local297 cryptoKey.SetAsKeyRef(mNetworkKeyRef); in ComputeKeys()299 cryptoKey.Set(mNetworkKey.m8, NetworkKey::kSize); in ComputeKeys()302 hmac.Start(cryptoKey); in ComputeKeys()316 Crypto::Key cryptoKey; in ComputeTrelKey() local319 cryptoKey.SetAsKeyRef(mNetworkKeyRef); in ComputeTrelKey()321 cryptoKey.Set(mNetworkKey.m8, NetworkKey::kSize); in ComputeTrelKey()327 hkdf.Extract(salt, sizeof(salt), cryptoKey); in ComputeTrelKey()