Home
last modified time | relevance | path

Searched refs:scalarSizeWords (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_mont/
Dcc_ec_mont.c49 size_t scalarSizeWords; in CC_EcMontScalarmult() local
66 scalarSizeWords = pEcDomain->ecOrdSizeInWords; in CC_EcMontScalarmult()
87 ls = pScalar32[0]; ms = pScalar32[scalarSizeWords-1]; in CC_EcMontScalarmult()
91 pScalar32[scalarSizeWords-1] = (pScalar32[scalarSizeWords-1] & 0x7FFFFFFF) | 0x40000000; in CC_EcMontScalarmult()
106 pScalar32[0] = ls; pScalar32[scalarSizeWords-1] = ms; in CC_EcMontScalarmult()
156 size_t scalarSizeWords; in CC_EcMontScalarmultBase() local
170 scalarSizeWords = pEcDomain->ecOrdSizeInWords; in CC_EcMontScalarmultBase()
172 ecOrdSizeBytes = scalarSizeWords * sizeof(uint32_t); in CC_EcMontScalarmultBase()
188 ls = pScalar32[0]; ms = pScalar32[scalarSizeWords-1]; in CC_EcMontScalarmultBase()
192 pScalar32[scalarSizeWords-1] = (pScalar32[scalarSizeWords-1] & 0x7FFFFFFF) | 0x40000000; in CC_EcMontScalarmultBase()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dec_edw.h67 … size_t scalarSizeWords, /*!< [in] the scalar size in words. */
87 … size_t scalarSizeWords, /*!< [in] the scalar size in words. */
Dec_edw.c159 … size_t scalarSizeWords, /*!< [in] the scalar size in words. */ in EcEdwScalarMultBase() argument
171 scalarSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pScalar, scalarSizeWords); in EcEdwScalarMultBase()
244 … size_t scalarSizeWords, /*!< [in] the scalar size in words. */ in EcEdwSpecialScalarMultBase() argument
255 scalarSizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pScalar, scalarSizeWords); in EcEdwSpecialScalarMultBase()
256 if (scalarSizeWords == 0) in EcEdwSpecialScalarMultBase()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_mont/
Dpka_ec_mont.c148 uint32_t scalarSizeWords; in EcMontPkaScalMultWithLadder() local
152 scalarSizeWords = (scalarSizeBits + CC_BITS_IN_32BIT_WORD - 1) / CC_BITS_IN_32BIT_WORD; in EcMontPkaScalMultWithLadder()
182 PkaCopyDataFromPkaReg(resPoint/*dst*/, scalarSizeWords, EC_MONT_REG_RES/*srcReg*/); in EcMontPkaScalMultWithLadder()