Home
last modified time | relevance | path

Searched refs:CC_CommonGetWordsCounterEffectiveSizeInBits (Results 1 – 17 of 17) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_build.c131 …ModulusEffectiveSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(PubKey_ptr->n, (ModulusS… in CC_RsaPubKeyBuild()
132 …ExponentEffectiveSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(PubKey_ptr->e, (Exponent… in CC_RsaPubKeyBuild()
308 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->n, (ModulusSize+3)/4); in CC_RsaPrivKeyBuild()
311CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.NonCrt.d, (PrivExponentSize+3)… in CC_RsaPrivKeyBuild()
364CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.NonCrt.e, (PubExponentSize+3)/… in CC_RsaPrivKeyBuild()
596 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.P, (PSize+3)/4); in CC_RsaPrivKeyCrtBuild()
599 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.Q, (QSize+3)/4); in CC_RsaPrivKeyCrtBuild()
602 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.dP, (dPSize+3)/4); in CC_RsaPrivKeyCrtBuild()
605 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.dQ, (dQSize+3)/4); in CC_RsaPrivKeyCrtBuild()
608 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.qInv, (qInvSize+3)/4); in CC_RsaPrivKeyCrtBuild()
[all …]
Dcc_rsa_kg.c121 …pCcPubKey->eSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPubKey->e, (PubExpSizeInBy… in KGCheckAndSetParamsRSA()
432CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPrivKey->PriveKeyDb.Crt.P, (uint16_t)pSizeWords); in CC_RsaKgKeyPairCrtGenerate()
435CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPrivKey->PriveKeyDb.Crt.Q, (uint16_t)pSizeWords); in CC_RsaKgKeyPairCrtGenerate()
438CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPrivKey->PriveKeyDb.Crt.dP, (uint16_t)pSizeWords); in CC_RsaKgKeyPairCrtGenerate()
441CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPrivKey->PriveKeyDb.Crt.dQ, (uint16_t)pSizeWords); in CC_RsaKgKeyPairCrtGenerate()
444CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPrivKey->PriveKeyDb.Crt.qInv, (uint16_t)pSizeWords); in CC_RsaKgKeyPairCrtGenerate()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/
Dec_wrst.c165 sizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits(outPointY, modSizeInWords); in EcWrstFullCheckPublKey()
171 sizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits(outPointX, modSizeInWords); in EcWrstFullCheckPublKey()
225 if(CC_CommonGetWordsCounterEffectiveSizeInBits(outPointY, modSizeInWords) == 0 || in EcWrstDhDeriveSharedSecret()
226 CC_CommonGetWordsCounterEffectiveSizeInBits(outPointX, modSizeInWords) == 0){ in EcWrstDhDeriveSharedSecret()
Dpka_ec_wrst_smul_no_scap.c333 scalarSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(scalar, scalSizeInWords); in PkaEcWrstScalarMult()
Dpka_ec_wrst_smul_scap.c402 scalarSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(scalar, scalSizeInWords); in PkaEcWrstScalarMult()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_mont/
Dec_mont.c79 scalarSizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits( in EcMontScalarmult()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/
Dcc_ecpki_build_priv.c119 if (CC_CommonGetWordsCounterEffectiveSizeInBits(pPrivKey->PrivKey, in CC_EcpkiPrivKeyBuild()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dec_edw.c171 scalarSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pScalar, scalarSizeWords); in EcEdwScalarMultBase()
255 scalarSizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pScalar, scalarSizeWords); in EcEdwSpecialScalarMultBase()
596 scalarAsizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits( pScalarA, edwSizeWords); in EcEdwAddTwoScalarMult()
597 scalarBsizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits( pScalarB, edwSizeWords); in EcEdwAddTwoScalarMult()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/dh/
Dcc_dh.c748 …modPsizeBits = CC_MIN(8*modPsizeBytes, CC_CommonGetWordsCounterEffectiveSizeInBits(tmpPubKey_ptr… in CC_DhCheckPubKey()
749 …orderQsizeBits = CC_MIN(8*orderQsizeBytes, CC_CommonGetWordsCounterEffectiveSizeInBits(tmpPubKey_p… in CC_DhCheckPubKey()
750 …pubKeySizeBits = CC_MIN(8*pubKeySizeBytes, CC_CommonGetWordsCounterEffectiveSizeInBits(tempBuff_pt… in CC_DhCheckPubKey()
Dcc_dh_kg.c845 J_effectiveSizeBits = CC_MIN(modSizeBits, CC_CommonGetWordsCounterEffectiveSizeInBits( in DhX942CreateGenerator()
1060 …generatorSizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits(G_ptr, (uint16_t)modSizeBytes/CC_3… in DhCreateDomainParams()
1105 …*JsizeBytes_ptr = CC_CommonGetWordsCounterEffectiveSizeInBits(J_ptr, (uint16_t)modSizeBytes/CC_32B… in DhCreateDomainParams()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Drsa_alt.c1149 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->n, (ModulusSize + 3)/4); in build_cc_priv_non_crt_key()
1151CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.NonCrt.d, (PrivExponentSize + … in build_cc_priv_non_crt_key()
1189CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.NonCrt.e, (PubExponentSize+3)/… in build_cc_priv_non_crt_key()
1355 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.P, (PSize+3)/4); in build_cc_priv_crt_key()
1358 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.Q, (QSize+3)/4); in build_cc_priv_crt_key()
1361 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.dP, (dPSize+3)/4); in build_cc_priv_crt_key()
1364 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.dQ, (dQSize+3)/4); in build_cc_priv_crt_key()
1367CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.qInv, (qInvSize+3)/4); in build_cc_priv_crt_key()
1404CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->n, (2*CALC_FULL_32BIT_WORDS(P_EffectiveSi… in build_cc_priv_crt_key()
1527 …ModulusEffectiveSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(PubKey_ptr->n, (ModulusS… in build_cc_pubkey()
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpki_dbg.c74 sizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pBuf, sizeWords); in PkiDbgPrintUint32BuffAsNum()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/common/
Dcc_common_math.h396 uint32_t CC_CommonGetWordsCounterEffectiveSizeInBits( const uint32_t *CounterBuff_ptr,
Dcc_common_math.c669 uint32_t CC_CommonGetWordsCounterEffectiveSizeInBits( const uint32_t *CounterBuff_ptr, in CC_CommonGetWordsCounterEffectiveSizeInBits() function
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/
Dstackinfo1493 CC_CommonGetWordsCounterEffectiveSizeInBits 52 0
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_genkey.c1475 CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPrivKey->PriveKeyDb.NonCrt.d, in RsaCalculateNandD()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffcdh/
Dcc_ffcdh.c2520 sharSecrSizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pPublKey32, primeSizeWords); in CC_FfcDhGetSharedSecretVal()