Home
last modified time | relevance | path

Searched refs:mbedtls_md_update (Results 1 – 10 of 10) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dsrp_driver.c60 rc = mbedtls_md_update(&hash_ctx, pCtx->groupParam.modulus, modSize); in SRP_kMultiplierCalc()
67 rc = mbedtls_md_update(&hash_ctx, (uint8_t *)pCtx->ephemPriv, modSize); in SRP_kMultiplierCalc()
290 rc = mbedtls_md_update(md_ctx, ephemPubA, modSize); in SRP_uScrambleCalc()
294 rc = mbedtls_md_update(md_ctx, ephemPubB, modSize); in SRP_uScrambleCalc()
363 rc = mbedtls_md_update(&hash_ctx, pUserName, userNameSize); in SRP_UserCredDigCalc()
367 rc = mbedtls_md_update(&hash_ctx, (uint8_t *)&colonChar, sizeof(colonChar)); in SRP_UserCredDigCalc()
371 rc = mbedtls_md_update(&hash_ctx, pPwd, pwdSize); in SRP_UserCredDigCalc()
422 rc = mbedtls_md_update(&hash_ctx, pSalt, saltSize); in SRP_xBuffCalc()
426 rc = mbedtls_md_update(&hash_ctx, pCtx->credDigest, pCtx->hashDigestSize); in SRP_xBuffCalc()
564 rc = mbedtls_md_update(md_ctx, (uint8_t *)buff1, hashDigestSize); in SRP_UserProofCalc2()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/kdf/
Dcc_kdf.c84 error = mbedtls_md_update(p_hash_ctx, buff_ptr, blockSizeBytes); in KdfHashUnalignUpdate()
112 error = mbedtls_md_update(p_hash_ctx, data_ptr, dataSize); in KdfHashUnalignUpdate()
421 error = mbedtls_md_update(&hash_ctx, pTemp, remBuffSize); in CC_KdfKeyDerivFunc()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dec_edw.c399 err = mbedtls_md_update(p_hash_ctx, (uint8_t*)pEphPriv/*h2*/, sizeToHash); in EcEdwSign()
404 … err = mbedtls_md_update(p_hash_ctx, (uint8_t*)pMsg+(sizeToHash - edwSizeBytes), msgSize1); in EcEdwSign()
506 err = mbedtls_md_update(p_hash_ctx, (uint8_t*)pSign, sizeToHash); in EcEdwSign()
511 err = mbedtls_md_update(p_hash_ctx, (uint8_t*)pMsg+2*edwSizeBytes, msgSize1); in EcEdwSign()
768 err = mbedtls_md_update(p_hash_ctx, (uint8_t*)pSign/*h2*/, sizeToHash); in EcEdwSignVerify()
773 … err = mbedtls_md_update(p_hash_ctx, (uint8_t*)pMsg+(sizeToHash - 2*edwSizeBytes), msgSize1); in EcEdwSignVerify()
/trusted-firmware-m-3.4.0/bl1/bl1_2/lib/pq_crypto/
Dpq_crypto_mbedtls.c58 int mbedtls_md_update(mbedtls_md_context_t *ctx, const unsigned char *input, in mbedtls_md_update() function
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/
Drsa_alt.c1423 if( ( ret = mbedtls_md_update( md_ctx, src, slen ) ) != 0 ) in mgf_mask()
1425 if( ( ret = mbedtls_md_update( md_ctx, counter, 4 ) ) != 0 ) in mgf_mask()
2117 if( ( ret = mbedtls_md_update( &md_ctx, p, 8 ) ) != 0 ) in mbedtls_rsa_rsassa_pss_sign()
2119 if( ( ret = mbedtls_md_update( &md_ctx, hash, hashlen ) ) != 0 ) in mbedtls_rsa_rsassa_pss_sign()
2121 if( ( ret = mbedtls_md_update( &md_ctx, salt, slen ) ) != 0 ) in mbedtls_rsa_rsassa_pss_sign()
2508 ret = mbedtls_md_update( &md_ctx, zeros, 8 ); in mbedtls_rsa_rsassa_pss_verify_ext()
2511 ret = mbedtls_md_update( &md_ctx, hash, hashlen ); in mbedtls_rsa_rsassa_pss_verify_ext()
2514 ret = mbedtls_md_update( &md_ctx, p, observed_salt_len ); in mbedtls_rsa_rsassa_pss_verify_ext()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/
Dcc_ecdsa_verify.c245 err = mbedtls_md_update(&(pWorkingContext->hash_ctx), pMessageDataIn, dataInSize); in EcdsaVerifyUpdate()
Dcc_ecdsa_sign.c259 err = mbedtls_md_update(&(pWorkingContext->hash_ctx), pMessageDataIn, dataInSize); in EcdsaSignUpdate()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_verify.c349 Error = mbedtls_md_update(&ccmWorkingContext_ptr->RsaHashCtx, DataIn_ptr, DataInSize); in CC_RsaVerifyUpdate()
Dcc_rsa_sign.c340 Error = mbedtls_md_update(&ccmWorkingContext_ptr->RsaHashCtx, DataIn_ptr, DataInSize); in CC_RsaSignUpdate()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/
Dstackinfo1030 mbedtls_md_update 22 8