Home
last modified time | relevance | path

Searched refs:CC_CommonReverseMemcpy (Results 1 – 19 of 19) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_kg.c251CC_CommonReverseMemcpy(rsaKgOutParams.nModulus, (uint8_t*)pCcPubKey->n, KeySize/CC_BITS_IN_BYTE); in CC_RsaKgKeyPairGenerate()
252CC_CommonReverseMemcpy(rsaKgOutParams.pPrim, (uint8_t*)KeyGenData_ptr->KGData.p, KeySize/(2*CC_BIT… in CC_RsaKgKeyPairGenerate()
253CC_CommonReverseMemcpy(rsaKgOutParams.qPrim, (uint8_t*)KeyGenData_ptr->KGData.q, KeySize/(2*CC_BIT… in CC_RsaKgKeyPairGenerate()
254CC_CommonReverseMemcpy(rsaKgOutParams.dPrivExponent, (uint8_t*)pCcPrivKey->PriveKeyDb.NonCrt.d, Ke… in CC_RsaKgKeyPairGenerate()
415CC_CommonReverseMemcpy(rsaKgOutParams.nModulus, (uint8_t*)pCcPubKey->n, KeySize/CC_BITS_IN_BYTE); in CC_RsaKgKeyPairCrtGenerate()
416CC_CommonReverseMemcpy(rsaKgOutParams.pPrim, (uint8_t*)KeyGenData_ptr->KGData.p,KeySize/(2*CC_BITS… in CC_RsaKgKeyPairCrtGenerate()
417CC_CommonReverseMemcpy(rsaKgOutParams.qPrim, (uint8_t*)KeyGenData_ptr->KGData.q, KeySize/(2*CC_BIT… in CC_RsaKgKeyPairCrtGenerate()
418 CC_CommonReverseMemcpy(rsaKgOutParams.dPrivExponent, NULL, KeySize/CC_BITS_IN_BYTE); in CC_RsaKgKeyPairCrtGenerate()
Dccsw_rsa_kg.c166 CC_CommonReverseMemcpy( (uint8_t*)PubKey_ptr->e , PubExp_ptr , PubExpSizeInBytes ); in CC_SwRsaKgGenerateKeyPair()
380 CC_CommonReverseMemcpy( (uint8_t*)PubKey_ptr->e , PubExp_ptr , PubExpSizeInBytes ); in CC_SwRsaKgGenerateKeyPairCRT()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/
Dcc_ecdsa_verify.c399 CC_CommonReverseMemcpy((uint8_t*)pMessRepres, in EcdsaVerifyFinish()
410 CC_CommonReverseMemcpy((uint8_t*)pSignatureC, pSignatureIn, orderSizeInBytes); in EcdsaVerifyFinish()
412CC_CommonReverseMemcpy((uint8_t*)pSignatureD, pSignatureIn + orderSizeInBytes, orderSizeInBytes); in EcdsaVerifyFinish()
Dcc_ecdsa_sign.c449CC_CommonReverseMemcpy((uint8_t*)pMessRepres, (uint8_t*)(pWorkingContext->hashResult), in EcdsaSignFinishInt()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/dh/
Dcc_dh.c192 CC_CommonReverseMemcpy( (uint8_t*)tmpPrimeData_ptr->DataIn , Prime_ptr , PrimeSize ); in CC_DhGeneratePubPrv()
229CC_CommonReverseMemcpy( ClientPrvKey_ptr , (uint8_t*)tmpPrimeData_ptr->DataOut , PrimeSize ); in CC_DhGeneratePubPrv()
275CC_CommonReverseMemcpy( ClientPrvKey_ptr , (uint8_t*)tmpPrimeData_ptr->DataOut , *ClientPrvKeySize… in CC_DhGeneratePubPrv()
324 CC_CommonReverseMemcpy( (uint8_t*)tmpPrimeData_ptr->DataIn, Q_ptr, QSize ); in CC_DhGeneratePubPrv()
342CC_CommonReverseMemcpy(ClientPrvKey_ptr, (uint8_t*)tmpPrimeData_ptr->DataOut, *ClientPrvKeySize_pt… in CC_DhGeneratePubPrv()
Dcc_dh_kg.c1458 CC_CommonReverseMemcpy((uint8_t*)P_ptr, modP_ptr, modPsizeBytes); in CC_DhCheckDomainParams()
1459 CC_CommonReverseMemcpy((uint8_t*)Q_ptr, orderQ_ptr, orderQsizeBytes); in CC_DhCheckDomainParams()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/common/
Dcc_common.h52 CCError_t CC_CommonReverseMemcpy( uint8_t *dst_ptr , uint8_t *src_ptr , uint32_t size );
Dcc_common_conv_endian.c48 CCError_t CC_CommonReverseMemcpy( uint8_t *dst_ptr , uint8_t *src_ptr , uint32_t size ) in CC_CommonReverseMemcpy() function
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rnd_dma/
Dcc_rnd_common.c221 CC_CommonReverseMemcpy(rndVect_ptr, rndVect_ptr, rndSizeInBytes); in CC_RndGenerateVectorInRange()
279 CC_CommonReverseMemcpy(rndVect_ptr, rndVect_ptr, maxVectSizeBytes); in CC_RndGenerateVectorInRange()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_ccm_internal.c137CC_CommonReverseMemcpy(tempBuff + 16 - min(qFieldSize, 4), (uint8_t*) &textDataSize, min(qFieldSiz… in ccm_init()
205 CC_CommonReverseMemcpy(pAesCcmCtx->tempBuff + 6 - 4, (uint8_t*) &assocDataSize, 4); in ccm_ass_data()
211 CC_CommonReverseMemcpy(pAesCcmCtx->tempBuff + 2 - 2, (uint8_t*) &assocDataSize, 2); in ccm_ass_data()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_ccm.c223 CC_CommonReverseMemcpy(tempBuff + 16 - min(qFieldSize, 4), in ccm_init()
287 CC_CommonReverseMemcpy(context->tempBuff + 6 - 4, in ccm_ass_data()
293 CC_CommonReverseMemcpy(context->tempBuff + 2 - 2, in ccm_ass_data()
808 CC_CommonReverseMemcpy(tempBuff + 16 - min(qFieldSize, 4), in cc3xx_ccm_set_nonce()
Dcc3xx_psa_key_generation.c129 CC_CommonReverseMemcpy(key_buffer, (uint8_t *)pPrivKey->PrivKey, in cc3xx_internal_gen_ecc_wstr_keypair()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpki.c351 CC_CommonReverseMemcpy((uint8_t*)pTemp, (uint8_t*)pSrc, dataSizeBytes); in PkaCopyBe8DataIntoPkaReg()
387 CC_CommonReverseMemcpy(pDst, (uint8_t*)pTemp, sizeBytes); in PkaCopyDataFromPkaRegToBe8Buff()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/
Dec_wrst.c231 CC_CommonReverseMemcpy(pSharedSecretValue, (uint8_t*)outPointX, modSizeInBytes); in EcWrstDhDeriveSharedSecret()
Dec_wrst_dsa.c160 CC_CommonReverseMemcpy((uint8_t*)pMsgOut, pMsgIn, outSizeBytes); in EcWrstDsaTruncateMsg()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dcc_ecp_internal.c87 if (CC_OK != (status = CC_CommonReverseMemcpy(outArr, scalar, scalarSize))) in ecc_conv_scalar_to_mpi()
129 if (CC_OK != (status = CC_CommonReverseMemcpy(scalar, outArr, *scalarSize))) in ecc_conv_mpi_to_scalar()
Drsa_alt.c511 CC_CommonReverseMemcpy( rsaKgOutParams.nModulus, (uint8_t*)pCcPubKey->n, keySizeBytes ); in mbedtls_rsa_gen_key()
512CC_CommonReverseMemcpy( rsaKgOutParams.pPrim, (uint8_t*)pKeyGenData->KGData.p, keySizeBytes/2 ); in mbedtls_rsa_gen_key()
513CC_CommonReverseMemcpy( rsaKgOutParams.qPrim, (uint8_t*)pKeyGenData->KGData.q, keySizeBytes/2 ); in mbedtls_rsa_gen_key()
514CC_CommonReverseMemcpy( rsaKgOutParams.dPrivExponent, (uint8_t*)pCcPrivKey->PriveKeyDb.NonCrt.d, k… in mbedtls_rsa_gen_key()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_genkey.c1133 CC_CommonReverseMemcpy(primeInt->xPrime1, (uint8_t*)rBuff, auxPrimeSizeInBytes); in PkaRsaKgFindPrime()
1189 CC_CommonReverseMemcpy(primeInt->xPrime2, (uint8_t*)rBuff, auxPrimeSizeInBytes); in PkaRsaKgFindPrime()
1560 CC_CommonReverseMemcpy(primeInt->xPrime, (uint8_t *)pPrime, primeSizeInBits/CC_BITS_IN_BYTE); in RsaKgFindPrime()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/
Dstackinfo918 CC_CommonReverseMemcpy 82 12