Home
last modified time | relevance | path

Searched refs:isPrime (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/dh/
Dcc_dh_kg.c193 int8_t isPrime; in DhX942FindPrimeQ() local
304 isPrime = CC_FALSE; in DhX942FindPrimeQ()
319 while (isPrime != CC_TRUE) { in DhX942FindPrimeQ()
433 &isPrime, in DhX942FindPrimeQ()
523 uint8_t isPrime; in DhX942FindPrimeP() local
611 isPrime = CC_FALSE; in DhX942FindPrimeP()
615 while (isPrime != CC_TRUE) { in DhX942FindPrimeP()
729 (int8_t*)&isPrime, in DhX942FindPrimeP()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffc_domain/
Dcc_ffc_domain.c376 int8_t isPrime; in FfcFips186v4FindOrderQ() local
449 countRabMilTests, &isPrime, pTmp1, in FfcFips186v4FindOrderQ()
451 if(isPrime) { in FfcFips186v4FindOrderQ()
455 CHECK_AND_SET_ERROR((generateSeed == CC_FFC_USE_GIVEN_SEED) && (isPrime == 0), in FfcFips186v4FindOrderQ()
926 int8_t isPrime; /* indication, that prime is found (0, 1). */ in FfcFips186v4GenerateDomain() local
946 CHECK_ERROR(FfcFips186v4FindPrimeP(pDomain, pRndContext, &isPrime, pTmpBuff)); in FfcFips186v4GenerateDomain()
949 if(isPrime == 1) { in FfcFips186v4GenerateDomain()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Drsa_alt.c670 int8_t isPrime = 0; in mbedtls_rsa_validate_params_alt() local
689 &isPrime, pTempBuff/*3*modSizeWords*/, in mbedtls_rsa_validate_params_alt()
691 if ( ret != 0 && isPrime != 1 ) { in mbedtls_rsa_validate_params_alt()
699 &isPrime, pTempBuff/*3*modSizeWords*/, in mbedtls_rsa_validate_params_alt()
701 if ( ret != 0 && isPrime != 1 ) { in mbedtls_rsa_validate_params_alt()