Searched refs:primeSizeWords (Results 1 – 2 of 2) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffcdh/ |
D | cc_ffcdh.c | 1076 size_t primeSizeWords, orderSizeWords; in CC_FfcDhValidatePublKey() local 1094 primeSizeWords = pDomain->modLenWords; in CC_FfcDhValidatePublKey() 1096 primeSizeBytes = primeSizeWords*CC_32BIT_WORD_SIZE; in CC_FfcDhValidatePublKey() 1118 cmp = CC_CommonCmpLsWordsUnsignedCounters(pPrime, primeSizeWords, pPublKey32, primeSizeWords); in CC_FfcDhValidatePublKey() 1123 cmp = CC_CommonCmpLsWordsUnsignedCounters(pPublKey32, primeSizeWords, &one, 1); in CC_FfcDhValidatePublKey() 1137 primeSizeWords, /*public key size - in*/ in CC_FfcDhValidatePublKey() 1139 primeSizeWords*CC_BITS_IN_32BIT_WORD, /*P size in bits*/ in CC_FfcDhValidatePublKey() 1148 cmp = CC_CommonCmpLsWordsUnsignedCounters(pPublKey32, primeSizeWords, &one, 1); in CC_FfcDhValidatePublKey() 1197 uint32_t primeSizeBytes, primeSizeWords, previousKeySize; in CC_FfcDhValidateAndImportPublKey() local 1218 primeSizeWords = pFfcDomain->modLenWords; in CC_FfcDhValidateAndImportPublKey() [all …]
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffc_domain/ |
D | cc_ffc_domain.c | 495 uint32_t primeSizeBytes, primeSizeWords, remainBytes; in FfcFips186v4FindPrimeP() local 515 primeSizeWords = pDomain->modLenWords; in FfcFips186v4FindPrimeP() 516 primeSizeBytes = primeSizeWords*CC_32BIT_WORD_SIZE; in FfcFips186v4FindPrimeP() 594 pPrimeP[primeSizeWords] = 0; in FfcFips186v4FindPrimeP() 598 CC_CommonInPlaceConvertBytesWordsAndArrayEndianness(pPrimeP, primeSizeWords); in FfcFips186v4FindPrimeP() 603 CHECK_ERROR(PkiLongNumDiv(pPrimeP/*numerator*/, primeSizeWords, p2Q/*divider*/, in FfcFips186v4FindPrimeP() 612 CC_CommonSubtractUintArrays(pPrimeP, pRemC, primeSizeWords, pPrimeP/*res*/); in FfcFips186v4FindPrimeP() 615 if((pPrimeP[primeSizeWords-1] & 0x80000000) != 0) { in FfcFips186v4FindPrimeP() 616 CHECK_ERROR(RsaPrimeTestCall(pRndContext, pPrimeP, primeSizeWords, countRabMilTests, in FfcFips186v4FindPrimeP()
|