Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_build.c299 … Error = CC_CommonConvertMsbLsbBytesToLswMswWords(PrivKey_ptr->PriveKeyDb.NonCrt.d, buffSizeBytes, in CC_RsaPrivKeyBuild()
311 …CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.NonCrt.d, (PrivExponentSize+3)… in CC_RsaPrivKeyBuild()
348 PrivKey_ptr->PriveKeyDb.NonCrt.d[0] < CC_RSA_MIN_PRIV_EXP_VALUE) { in CC_RsaPrivKeyBuild()
356 … Error = CC_CommonConvertMsbLsbBytesToLswMswWords( PrivKey_ptr->PriveKeyDb.NonCrt.e, buffSizeBytes, in CC_RsaPrivKeyBuild()
364 …CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.NonCrt.e, (PubExponentSize+3)/… in CC_RsaPrivKeyBuild()
368 PrivKey_ptr->PriveKeyDb.NonCrt.e[0] < CC_RSA_MIN_PUB_EXP_VALUE) { in CC_RsaPrivKeyBuild()
397 PrivKey_ptr->PriveKeyDb.NonCrt.dSizeInBits = PrivExponentEffectiveSizeInBits; in CC_RsaPrivKeyBuild()
398 PrivKey_ptr->PriveKeyDb.NonCrt.eSizeInBits = PubExponentEffectiveSizeInBits; in CC_RsaPrivKeyBuild()
Dccsw_rsa_types.h178 CCSwRsaPrivNonCRTKey_t NonCrt; member
211 }NonCrt; member
Dcc_rsa_kg.c214 …CC_PalMemCopy(pCcPrivKey->PriveKeyDb.NonCrt.e, pCcPubKey->e, ROUNDUP_BYTES_TO_32BIT_WORD(PubExpSiz… in CC_RsaKgKeyPairGenerate()
215 pCcPrivKey->PriveKeyDb.NonCrt.eSizeInBits = pCcPubKey->eSizeInBits; in CC_RsaKgKeyPairGenerate()
254 …rseMemcpy(rsaKgOutParams.dPrivExponent, (uint8_t*)pCcPrivKey->PriveKeyDb.NonCrt.d, KeySize/CC_BITS… in CC_RsaKgKeyPairGenerate()
Dccsw_rsa_kg.c184 CC_PalMemCopy( PrivKey_ptr->PriveKeyDb.NonCrt.e , PubKey_ptr->e , 4*((PubExpSizeInBytes+3)/4) ); in CC_SwRsaKgGenerateKeyPair()
185 PrivKey_ptr->PriveKeyDb.NonCrt.eSizeInBits = PubKey_ptr->eSizeInBits; in CC_SwRsaKgGenerateKeyPair()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_private.c61 dSizeInWords = CALC_FULL_32BIT_WORDS(pPrivKey->PriveKeyDb.NonCrt.dSizeInBits); in RsaExecPrivKeyExpNonCrt()
75 ((RsaPrivKeyDb_t*)(pPrivKey->ccRSAPrivKeyIntBuff))->NonCrt.NP/*srcPtr*/, in RsaExecPrivKeyExpNonCrt()
82 …PkaCopyDataIntoPkaReg( rT3/*dstReg*/, LEN_ID_MAX_BITS/*LenID*/, pPrivKey->PriveKeyDb.NonCrt.d, dSi… in RsaExecPrivKeyExpNonCrt()
275 error = PkiCalcNp( ((RsaPrivKeyDb_t *)(pPrivKey->ccRSAPrivKeyIntBuff))->NonCrt.NP, /*out*/ in RsaInitPrivKeyDb()
Drsa_private.h32 }NonCrt; member
Drsa_genkey.c1354 uint32_t *pPrivExp = pCcPrivKey->PriveKeyDb.NonCrt.d; in RsaCalculateNandD()
1474 pCcPrivKey->PriveKeyDb.NonCrt.dSizeInBits = in RsaCalculateNandD()
1475 CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPrivKey->PriveKeyDb.NonCrt.d, in RsaCalculateNandD()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_key_generation.c219 pCcPrivKey->PriveKeyDb.NonCrt.eSizeInBits = pCcPubKey->eSizeInBits; in cc3xx_internal_gen_rsa_keypair()
220 pCcPrivKey->PriveKeyDb.NonCrt.e[0] = pubExp; in cc3xx_internal_gen_rsa_keypair()
250 CC_PalMemCopy(d_buff, pCcPrivKey->PriveKeyDb.NonCrt.d, keySizeBytes); in cc3xx_internal_gen_rsa_keypair()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Drsa_alt.c423 pCcPrivKey->PriveKeyDb.NonCrt.eSizeInBits = pCcPubKey->eSizeInBits; in mbedtls_rsa_gen_key()
424 pCcPrivKey->PriveKeyDb.NonCrt.e[0] = pubExp; in mbedtls_rsa_gen_key()
466 …rsa_uint32_buf_to_mpi( &pCtx->MBEDTLS_PRIVATE(D), pCcPrivKey->PriveKeyDb.NonCrt.d, keySizeWords ) … in mbedtls_rsa_gen_key()
514 …rseMemcpy( rsaKgOutParams.dPrivExponent, (uint8_t*)pCcPrivKey->PriveKeyDb.NonCrt.d, keySizeBytes ); in mbedtls_rsa_gen_key()
1142 …CC_PalMemCopy(PrivKey_ptr->PriveKeyDb.NonCrt.d, ctx->MBEDTLS_PRIVATE(D).MBEDTLS_PRIVATE(p), PrivEx… in build_cc_priv_non_crt_key()
1151 …CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.NonCrt.d, (PrivExponentSize + … in build_cc_priv_non_crt_key()
1172 … CC_CommonCmpLsWordsUnsignedCounters(PrivKey_ptr->PriveKeyDb.NonCrt.d, (PrivExponentSize+3)/4, in build_cc_priv_non_crt_key()
1181 PrivKey_ptr->PriveKeyDb.NonCrt.d[0] < CC_RSA_MIN_PRIV_EXP_VALUE ) { in build_cc_priv_non_crt_key()
1187 …CC_PalMemCopy(PrivKey_ptr->PriveKeyDb.NonCrt.e, ctx->MBEDTLS_PRIVATE(E).MBEDTLS_PRIVATE(p), PubExp… in build_cc_priv_non_crt_key()
1189 …CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.NonCrt.e, (PubExponentSize+3)/… in build_cc_priv_non_crt_key()
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/
Dcc_rsa_types.h302 CCRsaPrivNonCrtKey_t NonCrt; /*!< Non CRT data structure. */ member