Home
last modified time | relevance | path

Searched refs:cryptoKey (Results 1 – 3 of 3) sorted by relevance

/external/openthread/src/core/crypto/
Daes_ccm.cpp47 Key cryptoKey; in SetKey() local
49 cryptoKey.Set(aKey, aKeyLength); in SetKey()
50 SetKey(cryptoKey); in SetKey()
55 Key cryptoKey; in SetKey() local
57 aMacKey.ConvertToCryptoKey(cryptoKey); in SetKey()
58 SetKey(cryptoKey); in SetKey()
Dcrypto_platform.cpp274 Key cryptoKey; in otPlatCryptoHkdfExpand() local
276 cryptoKey.Set(prk->GetBytes(), sizeof(HmacSha256::Hash)); in otPlatCryptoHkdfExpand()
277 hmac.Start(cryptoKey); in otPlatCryptoHkdfExpand()
308 Key cryptoKey; in otPlatCryptoHkdfExtract() local
317 cryptoKey.Set(aSalt, aSaltLength); in otPlatCryptoHkdfExtract()
319 hmac.Start(cryptoKey); in otPlatCryptoHkdfExtract()
/external/openthread/src/core/thread/
Dkey_manager.cpp294 Crypto::Key cryptoKey; in ComputeKeys() local
297 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() local
319 cryptoKey.SetAsKeyRef(mNetworkKeyRef); in ComputeTrelKey()
321 cryptoKey.Set(mNetworkKey.m8, NetworkKey::kSize); in ComputeTrelKey()
327 hkdf.Extract(salt, sizeof(salt), cryptoKey); in ComputeTrelKey()