Searched refs:HmacSha256 (Results 1 – 8 of 8) sorted by relevance
42 HmacSha256::HmacSha256(void) in HmacSha256() function in ot::Crypto::HmacSha25650 HmacSha256::~HmacSha256(void) { SuccessOrAssert(otPlatCryptoHmacSha256Deinit(&mContext)); } in ~HmacSha256()52 void HmacSha256::Start(const Key &aKey) { SuccessOrAssert(otPlatCryptoHmacSha256Start(&mContext, &a… in Start()54 void HmacSha256::Update(const void *aBuf, uint16_t aBufLength) in Update()59 void HmacSha256::Finish(Hash &aHash) in Finish()64 void HmacSha256::Update(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in Update()
65 class HmacSha256 class78 HmacSha256(void);84 ~HmacSha256(void);
240 VerifyOrExit(aContext->mContextSize >= sizeof(HmacSha256::Hash), error = kErrorFailed); in otPlatCryptoHkdfInit()242 new (aContext->mContext) HmacSha256::Hash(); in otPlatCryptoHkdfInit()255 HmacSha256 hmac; in otPlatCryptoHkdfExpand()256 HmacSha256::Hash hash; in otPlatCryptoHkdfExpand()259 HmacSha256::Hash *prk; in otPlatCryptoHkdfExpand()262 VerifyOrExit(aContext->mContextSize >= sizeof(HmacSha256::Hash), error = kErrorFailed); in otPlatCryptoHkdfExpand()264 prk = static_cast<HmacSha256::Hash *>(aContext->mContext); in otPlatCryptoHkdfExpand()283 cryptoKey.Set(prk->GetBytes(), sizeof(HmacSha256::Hash)); in otPlatCryptoHkdfExpand()314 HmacSha256 hmac; in otPlatCryptoHkdfExtract()316 HmacSha256::Hash *prk; in otPlatCryptoHkdfExtract()[all …]
108 VerifyOrQuit(hash == static_cast<const Crypto::HmacSha256::Hash &>(testCase.mHash)); in TestSha256()134 VerifyOrQuit(hash == static_cast<const Crypto::HmacSha256::Hash &>(testCase.mHash)); in TestSha256()244 Crypto::HmacSha256 hmac; in TestHmacSha256()245 Crypto::HmacSha256::Hash hash; in TestHmacSha256()251 VerifyOrQuit(hash == static_cast<const Crypto::HmacSha256::Hash &>(testCase.mHash)); in TestHmacSha256()270 Crypto::HmacSha256 hmac; in TestHmacSha256()271 Crypto::HmacSha256::Hash hash; in TestHmacSha256()277 VerifyOrQuit(hash == static_cast<const Crypto::HmacSha256::Hash &>(testCase.mHash)); in TestHmacSha256()
52 HmacSha256 hmac; in otCryptoHmacSha256()
581 Crypto::HmacSha256::Hash mHash;
289 Crypto::HmacSha256 hmac; in ComputeKeys()
76 class HmacSha256;266 friend class Crypto::HmacSha256;