Home
last modified time | relevance | path

Searched refs:hashResultBuff (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dsrp_driver.c40 CCHashResultBuf_t hashResultBuff; in SRP_kMultiplierCalc() local
71 rc = mbedtls_md_finish(&hash_ctx, (unsigned char *)hashResultBuff); in SRP_kMultiplierCalc()
76 if (CC_PalMemCmp((uint8_t *)zeroBuff, (uint8_t *)hashResultBuff, pCtx->hashDigestSize) == 0) { in SRP_kMultiplierCalc()
81 CC_PalMemCopy(pCtx->kMult, (uint8_t *)hashResultBuff, pCtx->hashDigestSize); in SRP_kMultiplierCalc()
234 CCHashResultBuf_t hashResultBuff; in SRP_uScrambleCalc() local
264 (unsigned char *)hashResultBuff); in SRP_uScrambleCalc()
299 rc = mbedtls_md_finish(md_ctx, (unsigned char *)hashResultBuff); in SRP_uScrambleCalc()
310 if (CC_PalMemCmp((uint8_t *)zeroBuff, (uint8_t *)hashResultBuff, bytesToCopy) == 0) { in SRP_uScrambleCalc()
315 CC_PalMemCopy(uScramble, (uint8_t *)hashResultBuff, bytesToCopy); in SRP_uScrambleCalc()
335 CCHashResultBuf_t hashResultBuff; in SRP_UserCredDigCalc() local
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/kdf/
Dcc_kdf.c226 CCHashResultBuf_t hashResultBuff; in CC_KdfKeyDerivFunc() local
431 error = mbedtls_md_finish(&hash_ctx, (unsigned char *)hashResultBuff); in CC_KdfKeyDerivFunc()
433 error = CC_HashFinish(&hashContext, hashResultBuff); in CC_KdfKeyDerivFunc()
444 CC_PalMemCopy(&pKeyingData[currentOutputBuffPos],(uint8_t *)hashResultBuff, hashOutputSize); in CC_KdfKeyDerivFunc()
457 CC_PalMemSetZero(&hashResultBuff, sizeof(CCHashResultBuf_t)); in CC_KdfKeyDerivFunc()