Searched refs:orderSizeBytes (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffc_domain/ |
D | cc_ffc_domain.c | 372 uint32_t orderSizeWords, orderSizeBytes; /*in*/ in FfcFips186v4FindOrderQ() local 392 orderSizeBytes = pDomain->ordLenWords * CC_32BIT_WORD_SIZE; in FfcFips186v4FindOrderQ() 408 CHECK_ERROR(FfcGetCountOfRabMilTests(&countRabMilTests, orderSizeBytes*CC_BITS_IN_BYTE)); in FfcFips186v4FindOrderQ() 434 if(orderSizeBytes >= hashDigestSize) { in FfcFips186v4FindOrderQ() 435 …CC_PalMemCopy((uint8_t*)pOrder + orderSizeBytes - hashDigestSize, (uint8_t*)pHashData, hashDigestS… in FfcFips186v4FindOrderQ() 437 …alMemCopy((uint8_t*)pOrder, (uint8_t*)pHashData + hashDigestSize - orderSizeBytes, orderSizeBytes); in FfcFips186v4FindOrderQ() 445 pOrder, orderSizeBytes, (uint8_t*)pOrder, orderSizeBytes)); in FfcFips186v4FindOrderQ() 498 uint32_t orderSizeBytes, orderSizeWords; in FfcFips186v4FindPrimeP() local 518 orderSizeBytes = pDomain->ordLenWords*CC_32BIT_WORD_SIZE; in FfcFips186v4FindPrimeP() 519 orderSizeWords = orderSizeBytes; in FfcFips186v4FindPrimeP() [all …]
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/dh/ |
D | cc_dh_kg.c | 804 uint32_t modSizeBytes, modSizeWords, orderSizeBytes; in DhX942CreateGenerator() local 816 orderSizeBytes = CALC_FULL_BYTES(orderSizeBits); in DhX942CreateGenerator() 829 CC_PalMemCopy((uint8_t*)expTempBuff_ptr->TempBuff, (uint8_t*)Q_ptr, orderSizeBytes); in DhX942CreateGenerator() 830 …SetZero((uint8_t*)expTempBuff_ptr->TempBuff + orderSizeBytes, CC_DH_MAX_MOD_SIZE_IN_BYTES - orderS… in DhX942CreateGenerator() 840 … CALC_32BIT_WORDS_FROM_BYTES(orderSizeBytes), /*Q_size in words*/ in DhX942CreateGenerator() 1237 uint32_t modSizeBytes, orderSizeBytes; in CC_DhCreateDomainParams() local 1257 orderSizeBytes = CALC_FULL_BYTES(orderQsizeBits); in CC_DhCreateDomainParams() 1283 ((JsizeBytes_ptr != NULL) && (*JsizeBytes_ptr < (modSizeBytes - orderSizeBytes + 1)))) { in CC_DhCreateDomainParams()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffcdh/ |
D | cc_ffcdh.c | 1327 size_t primeSizeBytes, orderSizeBytes; in CC_FfcDhValidateAndImportKeyPair() local 1367 orderSizeBytes = orderSizeWords*CC_32BIT_WORD_SIZE; in CC_FfcDhValidateAndImportKeyPair() 1409 CHECK_ERROR(CC_CommonConvertMsbLsbBytesToLswMswWords(pPrivKey32/*out32*/, orderSizeBytes, in CC_FfcDhValidateAndImportKeyPair() 1717 uint32_t primeSizeBytes, orderSizeBytes; in FfcDhCalcSharedSecretVal() local 1725 orderSizeBytes = pFfcDomain->ordLenWords*CC_32BIT_WORD_SIZE; in FfcDhCalcSharedSecretVal() 1739 pDhCtx->statPrivKeySizeBytes = orderSizeBytes; in FfcDhCalcSharedSecretVal() 1742 pDhCtx->ephemPrivKeySizeBytes = orderSizeBytes; in FfcDhCalcSharedSecretVal() 1782 pDhCtx->ephemPrivKeySizeBytes = orderSizeBytes; in FfcDhCalcSharedSecretVal() 1785 pDhCtx->statPrivKeySizeBytes = orderSizeBytes; in FfcDhCalcSharedSecretVal() 2457 size_t primeSizeBytes, orderSizeBytes; in CC_FfcDhGetSharedSecretVal() local [all …]
|