Home
last modified time | relevance | path

Searched refs:P_EffectiveSizeInBits (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_build.c466 uint32_t P_EffectiveSizeInBits; in CC_RsaPrivKeyCrtBuild() local
595 P_EffectiveSizeInBits = in CC_RsaPrivKeyCrtBuild()
611 if (P_EffectiveSizeInBits == 0|| P_EffectiveSizeInBits > 8*PSize) { in CC_RsaPrivKeyCrtBuild()
634 Error = PkiLongNumMul(PrivKey_ptr->PriveKeyDb.Crt.P, P_EffectiveSizeInBits, in CC_RsaPrivKeyCrtBuild()
642 …tWordsCounterEffectiveSizeInBits(PrivKey_ptr->n, (2*CALC_FULL_32BIT_WORDS(P_EffectiveSizeInBits))); in CC_RsaPrivKeyCrtBuild()
655 if ((P_EffectiveSizeInBits + Q_EffectiveSizeInBits != ModulusEffectiveSizeInBits) && in CC_RsaPrivKeyCrtBuild()
656 (P_EffectiveSizeInBits + Q_EffectiveSizeInBits != ModulusEffectiveSizeInBits - 1)) { in CC_RsaPrivKeyCrtBuild()
673 PrivKey_ptr->PriveKeyDb.Crt.PSizeInBits = P_EffectiveSizeInBits; in CC_RsaPrivKeyCrtBuild()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Drsa_alt.c1272 uint32_t P_EffectiveSizeInBits; in build_cc_priv_crt_key() local
1354 P_EffectiveSizeInBits = in build_cc_priv_crt_key()
1371 if (P_EffectiveSizeInBits == 0|| P_EffectiveSizeInBits > 8*PSize) { in build_cc_priv_crt_key()
1394 Error = PkiLongNumMul(PrivKey_ptr->PriveKeyDb.Crt.P, P_EffectiveSizeInBits, in build_cc_priv_crt_key()
1404 …tWordsCounterEffectiveSizeInBits(PrivKey_ptr->n, (2*CALC_FULL_32BIT_WORDS(P_EffectiveSizeInBits))); in build_cc_priv_crt_key()
1421 if ((P_EffectiveSizeInBits + Q_EffectiveSizeInBits != ModulusEffectiveSizeInBits) && in build_cc_priv_crt_key()
1422 (P_EffectiveSizeInBits + Q_EffectiveSizeInBits != ModulusEffectiveSizeInBits - 1)) { in build_cc_priv_crt_key()
1438 PrivKey_ptr->PriveKeyDb.Crt.PSizeInBits = P_EffectiveSizeInBits; in build_cc_priv_crt_key()