Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/
Dcc_ecpki_build_publ.c51 CCCommonCmpCounter_t cmp; in CC_EcpkiPublKeyBuildAndCheck() local
116 cmp = CC_CommonCmpLsWordsUnsignedCounters(pPublKey->x, modSizeInWords, in CC_EcpkiPublKeyBuildAndCheck()
118 if(cmp != CC_COMMON_CmpCounter2GreaterThenCounter1) { in CC_EcpkiPublKeyBuildAndCheck()
133 cmp = CC_CommonCmpLsWordsUnsignedCounters(pPublKey->y, modSizeInWords, in CC_EcpkiPublKeyBuildAndCheck()
135 if(cmp != CC_COMMON_CmpCounter2GreaterThenCounter1) { in CC_EcpkiPublKeyBuildAndCheck()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/
Dpka_ec_wrst_smul_no_scap.c330 CCCommonCmpCounter_t cmp; in PkaEcWrstScalarMult() local
336 cmp = CC_CommonCmpLsWordsUnsignedCounters(scalar, scalSizeInWords, in PkaEcWrstScalarMult()
339 if ((scalarSizeInBits == 0) || (cmp == CC_COMMON_CmpCounter1GreaterThenCounter2)) { in PkaEcWrstScalarMult()
Dpka_ec_wrst_smul_scap.c397 CCCommonCmpCounter_t cmp; in PkaEcWrstScalarMult() local
405 cmp = CC_CommonCmpLsWordsUnsignedCounters(scalar, scalSizeInWords, in PkaEcWrstScalarMult()
408 if (scalarSizeInBits == 0 || cmp == CC_COMMON_CmpCounter1GreaterThenCounter2) in PkaEcWrstScalarMult()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffcdh/
Dcc_ffcdh.c1078 CCCommonCmpCounter_t cmp; in CC_FfcDhValidatePublKey() local
1118 cmp = CC_CommonCmpLsWordsUnsignedCounters(pPrime, primeSizeWords, pPublKey32, primeSizeWords); in CC_FfcDhValidatePublKey()
1119 …CHECK_AND_SET_ERROR(cmp != CC_COMMON_CmpCounter1GreaterThenCounter2, CC_FFCDH_INVALID_PUBLIC_KEY_V… in CC_FfcDhValidatePublKey()
1123 cmp = CC_CommonCmpLsWordsUnsignedCounters(pPublKey32, primeSizeWords, &one, 1); in CC_FfcDhValidatePublKey()
1124 CHECK_AND_SET_ERROR(cmp != CC_COMMON_CmpCounter1GreaterThenCounter2, in CC_FfcDhValidatePublKey()
1148 cmp = CC_CommonCmpLsWordsUnsignedCounters(pPublKey32, primeSizeWords, &one, 1); in CC_FfcDhValidatePublKey()
1149 CHECK_AND_SET_ERROR(cmp != CC_COMMON_CmpCounter1AndCounter2AreIdentical, in CC_FfcDhValidatePublKey()
1333 CCCommonCmpCounter_t cmp; in CC_FfcDhValidateAndImportKeyPair() local
1413 cmp = CC_CommonCmpLsWordsUnsignedCounters(pOrder, orderSizeWords, pPrivKey32, orderSizeWords); in CC_FfcDhValidateAndImportKeyPair()
1414 …CHECK_AND_SET_ERROR(cmp != CC_COMMON_CmpCounter1GreaterThenCounter2, CC_FFCDH_INVALID_PRIVATE_KEY_… in CC_FfcDhValidateAndImportKeyPair()
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffc_domain/
Dcc_ffc_domain.c211 int32_t i, j, cmp; in FfcCmpBeBytes2LeWordsBigNum() local
214 cmp = FFC_CMP_BE2LE_EQUALLED; in FfcCmpBeBytes2LeWordsBigNum()
221 cmp = FFC_CMP_BE2LE_FIRST_GREAT; in FfcCmpBeBytes2LeWordsBigNum()
223 cmp = FFC_CMP_BE2LE_FIRST_SMALL; in FfcCmpBeBytes2LeWordsBigNum()
227 return cmp; in FfcCmpBeBytes2LeWordsBigNum()
671 CCCommonCmpCounter_t cmp; in FfcFips186v4CreateGenerator() local
761cmp = CC_CommonCmpLsWordsUnsignedCounters(pDomain->genG, pDomain->modLenWords, &one, sizeof(one)); in FfcFips186v4CreateGenerator()
762 if(cmp == CC_COMMON_CmpCounter1GreaterThenCounter2) { in FfcFips186v4CreateGenerator()
/trusted-firmware-m-3.7.0/platform/ext/target/cypress/psoc64/Device/Source/gcc/
Dstartup_psoc64_s.S154 cmp r4, r5
213 cmp r3, r4
Dstartup_psoc64_ns.S306 cmp r4, r5
365 cmp r3, r4
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dtimer_pwm.h294 #define TPWM_SET_CMPDAT(timer, cmp) ((timer)->PWMCMPDAT = (cmp)) argument
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dtimer_pwm.h319 #define TPWM_SET_CMPDAT(timer, cmp) ((timer)->PWMCMPDAT = (cmp)) argument
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/hal/accelerator/
Decp_alt.c2190 unsigned cmp = 0;
2219 ret = mbedtls_mpi_lt_mpi_ct( d, &grp->N, &cmp );
2225 while( mbedtls_mpi_cmp_int( d, 1 ) < 0 || cmp != 1 );