Searched refs:PubExpSizeInBytes (Results 1 – 3 of 3) sorted by relevance
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/ |
| D | ccsw_rsa_kg.c | 93 uint16_t PubExpSizeInBytes, in CC_SwRsaKgGenerateKeyPair() argument 109 volatile uint32_t dummy = PubExpSizeInBytes; in CC_SwRsaKgGenerateKeyPair() 145 if (PubExpSizeInBytes > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BYTES) in CC_SwRsaKgGenerateKeyPair() 166 CC_CommonReverseMemcpy( (uint8_t*)PubKey_ptr->e , PubExp_ptr , PubExpSizeInBytes ); in CC_SwRsaKgGenerateKeyPair() 168 …eInBits = CC_CommonGetBytesCounterEffectiveSizeInBits( (uint8_t*)PubKey_ptr->e,PubExpSizeInBytes ); in CC_SwRsaKgGenerateKeyPair() 184 CC_PalMemCopy( PrivKey_ptr->PriveKeyDb.NonCrt.e , PubKey_ptr->e , 4*((PubExpSizeInBytes+3)/4) ); in CC_SwRsaKgGenerateKeyPair() 312 uint16_t PubExpSizeInBytes, in CC_SwRsaKgGenerateKeyPairCRT() argument 360 if (PubExpSizeInBytes > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BYTES) in CC_SwRsaKgGenerateKeyPairCRT() 380 CC_CommonReverseMemcpy( (uint8_t*)PubKey_ptr->e , PubExp_ptr , PubExpSizeInBytes ); in CC_SwRsaKgGenerateKeyPairCRT() 383 …InBits = CC_CommonGetBytesCounterEffectiveSizeInBits( (uint8_t*)PubKey_ptr->e, PubExpSizeInBytes ); in CC_SwRsaKgGenerateKeyPairCRT()
|
| D | ccsw_rsa_kg.h | 52 uint16_t PubExpSizeInBytes, 91 uint16_t PubExpSizeInBytes,
|
| D | cc_rsa_kg.c | 48 size_t PubExpSizeInBytes, in KGCheckAndSetParamsRSA() argument 86 if (PubExpSizeInBytes > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BYTES) in KGCheckAndSetParamsRSA() 114 PubExp_ptr, PubExpSizeInBytes); in KGCheckAndSetParamsRSA() 121 …->eSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pCcPubKey->e, (PubExpSizeInBytes+3)/4); in KGCheckAndSetParamsRSA() 182 size_t PubExpSizeInBytes, in CC_RsaKgKeyPairGenerate() argument 200 PubExpSizeInBytes, in CC_RsaKgKeyPairGenerate() 214 …opy(pCcPrivKey->PriveKeyDb.NonCrt.e, pCcPubKey->e, ROUNDUP_BYTES_TO_32BIT_WORD(PubExpSizeInBytes)); in CC_RsaKgKeyPairGenerate() 331 size_t PubExpSizeInBytes, in CC_RsaKgKeyPairCrtGenerate() argument 350 PubExpSizeInBytes, in CC_RsaKgKeyPairCrtGenerate()
|