Searched refs:pPrimeP (Results 1 – 10 of 10) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffc_domain/ |
D | cc_ffc_domain.c | 40 extern CCError_t RsaPrimeTestCall(CCRndContext_t *pRndContext, uint32_t *pPrimeP, int32_t sizeWords, 496 uint32_t *pOrder, *pPrimeP; /*LE words */ in FfcFips186v4FindPrimeP() local 514 pPrimeP = pDomain->prime; in FfcFips186v4FindPrimeP() 562 pCurrPtr = pPrimeP; in FfcFips186v4FindPrimeP() 591 ((uint8_t*)pPrimeP)[0] |= 0x80; in FfcFips186v4FindPrimeP() 594 pPrimeP[primeSizeWords] = 0; in FfcFips186v4FindPrimeP() 598 CC_CommonInPlaceConvertBytesWordsAndArrayEndianness(pPrimeP, primeSizeWords); in FfcFips186v4FindPrimeP() 603 CHECK_ERROR(PkiLongNumDiv(pPrimeP/*numerator*/, primeSizeWords, p2Q/*divider*/, in FfcFips186v4FindPrimeP() 607 if((pPrimeP[0] & 1UL) == 1) { in FfcFips186v4FindPrimeP() 610 pPrimeP[0]++; in FfcFips186v4FindPrimeP() [all …]
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/ |
D | rsa_genkey.c | 1244 … uint32_t *pPrimeP, /*!< [in] Pointer to the prime buff. */ in RsaKgPrimeTest() argument 1268 error = PkiCalcNp(pTempBuff, pPrimeP, modulusSizeInBits); in RsaKgPrimeTest() 1279 …PkaCopyDataIntoPkaReg( PKA_REG_N/*dstReg*/, LEN_ID_MAX_BITS/*lenId*/, pPrimeP/*src_ptr*/, sizeWord… in RsaKgPrimeTest() 1619 … uint32_t *pPrimeP, /*!< [out] First factor pointer - p. */ in RsaCalculateCrtParams() argument 1657 PkaCopyDataIntoPkaReg(rP/*dstReg*/, LEN_ID_MAX_BITS, pPrimeP/*src_ptr*/, primeSizeInWords); in RsaCalculateCrtParams() 1709 … uint32_t *pPrimeP, /*!< [in] The pointer to the prime buff. */ in RsaPrimeTestCall() argument 1724 pPrimeP, in RsaPrimeTestCall() 1754 uint32_t *pPrimeP, *pPrimeQ; in RsaGenPandQ() local 1763 pPrimeP = pKeyGenData->KGData.p; in RsaGenPandQ() 1789 pPrimeP[pqSizeWords]=0; in RsaGenPandQ() [all …]
|
D | rsa.h | 102 … uint32_t *pPrimeP, /*!< [out] First factor pointer - p. */
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/hal/Inc/ |
D | stm32l5xx_hal_pka.h | 178 const uint8_t *pPrimeP; /*!< Pointer to prime p (Array of size/2 elements) */ member
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/hal/Inc/ |
D | stm32u5xx_hal_pka.h | 169 const uint8_t *pPrimeP; /*!< Pointer to prime p (Array of size/2 elements) */ member
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/hal/Inc/ |
D | stm32h5xx_hal_pka.h | 169 const uint8_t *pPrimeP; /*!< Pointer to prime p (Array of size/2 elements) */ member
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/ |
D | stm32l5xx_hal_pka.c | 2230 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_RSA_CRT_EXP_IN_PRIME_P], in->pPrimeP, in->size / 2UL… in PKA_RSACRTExp_Set()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/hal/Src/ |
D | stm32h5xx_hal_pka.c | 2475 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_RSA_CRT_EXP_IN_PRIME_P], in->pPrimeP, in->size / 2UL… in PKA_RSACRTExp_Set()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/hal/accelerator/ |
D | rsa_alt.c | 530 in.pPrimeP = p_binary; in rsa_crt_pka_modexp()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/ |
D | stm32u5xx_hal_pka.c | 2474 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_RSA_CRT_EXP_IN_PRIME_P], in->pPrimeP, in->size / 2UL… in PKA_RSACRTExp_Set()
|