Home
last modified time | relevance | path

Searched refs:eSizeInBits (Results 1 – 12 of 12) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_kg.c121 …pCcPubKey->eSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPubKey->e, (PubExpSizeInBy… in KGCheckAndSetParamsRSA()
124 if (pCcPubKey->eSizeInBits == 0 || pCcPubKey->eSizeInBits > 17) { /* MV - check if needed*/ in KGCheckAndSetParamsRSA()
215 pCcPrivKey->PriveKeyDb.NonCrt.eSizeInBits = pCcPubKey->eSizeInBits; in CC_RsaKgKeyPairGenerate()
230 pCcPubKey->eSizeInBits, in CC_RsaKgKeyPairGenerate()
381 pCcPubKey->eSizeInBits, in CC_RsaKgKeyPairCrtGenerate()
403 pCcPubKey->e, pCcPubKey->eSizeInBits, in CC_RsaKgKeyPairCrtGenerate()
Dccsw_rsa_kg.c168 …PubKey_ptr->eSizeInBits = CC_CommonGetBytesCounterEffectiveSizeInBits( (uint8_t*)PubKey_ptr->e,Pub… in CC_SwRsaKgGenerateKeyPair()
171 if (PubKey_ptr->eSizeInBits == 0) { in CC_SwRsaKgGenerateKeyPair()
185 PrivKey_ptr->PriveKeyDb.NonCrt.eSizeInBits = PubKey_ptr->eSizeInBits; in CC_SwRsaKgGenerateKeyPair()
383 …PubKey_ptr->eSizeInBits = CC_CommonGetBytesCounterEffectiveSizeInBits( (uint8_t*)PubKey_ptr->e, Pu… in CC_SwRsaKgGenerateKeyPairCRT()
386 if (PubKey_ptr->eSizeInBits == 0) { in CC_SwRsaKgGenerateKeyPairCRT()
Dccsw_rsa_types.h83 uint32_t eSizeInBits; member
107 uint32_t eSizeInBits; member
Dcc_rsa_build.c174 PubKey_ptr->eSizeInBits = ExponentEffectiveSizeInBits; in CC_RsaPubKeyBuild()
398 PrivKey_ptr->PriveKeyDb.NonCrt.eSizeInBits = PubExponentEffectiveSizeInBits; in CC_RsaPrivKeyBuild()
778 eSizeInBytes = CALC_FULL_BYTES(PubKey_ptr->eSizeInBits); in CC_RsaPubKeyGet()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa.h81 uint32_t eSizeInBits,
100 … uint32_t eSizeInBits, /*!< [in] Public exponent size in bits. */
Drsa_public.c78 eSizeInWords = CALC_FULL_32BIT_WORDS(pPubKey->eSizeInBits); in RsaExecPubKeyExp()
Drsa_genkey.c1440 CALC_FULL_32BIT_WORDS(pCcPubKey->eSizeInBits)); in RsaCalculateNandD()
1496 uint32_t eSizeInBits, /*!< [in/out] Size of public exponent in bits. */ in RsaKgFindPrime() argument
1565 …aIntoPkaReg(rE/*dstReg*/, LEN_ID_MAX_BITS, pPubExp/*src_ptr*/, CALC_FULL_32BIT_WORDS(eSizeInBits)); in RsaKgFindPrime()
1617 … uint32_t eSizeInBits, /*!< [in] Public exponent size in bits. */ in RsaCalculateCrtParams() argument
1656 …aIntoPkaReg(rE/*dstReg*/, LEN_ID_MAX_BITS, pPubExp/*src_ptr*/, CALC_FULL_32BIT_WORDS(eSizeInBits)); in RsaCalculateCrtParams()
1746 uint32_t eSizeInBits, in RsaGenPandQ() argument
1827 pPubExp, eSizeInBits, in RsaGenPandQ()
1876 pPubExp, eSizeInBits, in RsaGenPandQ()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/
Dcc_rsa_types.h215 uint32_t eSizeInBits; member
248 uint32_t eSizeInBits; member
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_key_generation.c214 pCcPubKey->eSizeInBits = pubExpSizeBits; in cc3xx_internal_gen_rsa_keypair()
220 pCcPrivKey->PriveKeyDb.NonCrt.eSizeInBits = pCcPubKey->eSizeInBits; in cc3xx_internal_gen_rsa_keypair()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Drsa_alt.c417 pCcPubKey->eSizeInBits = pubExpSizeBits; in mbedtls_rsa_gen_key()
423 pCcPrivKey->PriveKeyDb.NonCrt.eSizeInBits = pCcPubKey->eSizeInBits; in mbedtls_rsa_gen_key()
1222 PrivKey_ptr->PriveKeyDb.NonCrt.eSizeInBits = PubExponentEffectiveSizeInBits; in build_cc_priv_non_crt_key()
1569 PubKey_ptr->eSizeInBits = ExponentEffectiveSizeInBits; in build_cc_pubkey()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/dh/
Dcc_dh.c803 tmpPubKey_ptr->eSizeInBits = orderQsizeBits; in CC_DhCheckPubKey()
Dcc_dh_kg.c878 expTempBuff_ptr->PubKey.eSizeInBits = J_effectiveSizeBits; in DhX942CreateGenerator()