Searched refs:pScalar (Results 1 – 7 of 7) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_mont/ |
D | cc_ec_mont.c | 38 … const uint8_t *pScalar, /*!< [in] Pointer to the secret (private) key. */ in CC_EcMontScalarmult() argument 56 pScalar == NULL || pInPoint == NULL || in CC_EcMontScalarmult() 83 CC_CommonConvertLsbMsbBytesToLswMswWords(pScalar32, (uint8_t*)pScalar, scalarSize); in CC_EcMontScalarmult() 114 if ((uint8_t*)pScalar32 != pScalar) { in CC_EcMontScalarmult() 147 … const uint8_t *pScalar, /*!< [in] Pointer to the secret (private) key. */ in CC_EcMontScalarmultBase() argument 162 pScalar == NULL || pEcMontTempBuff == NULL) { in CC_EcMontScalarmultBase() 185 CC_CommonConvertLsbMsbBytesToLswMswWords(pScalar32, (uint8_t*)pScalar, scalarSize); in CC_EcMontScalarmultBase() 217 if ((uint8_t*)pScalar32 != pScalar) { in CC_EcMontScalarmultBase() 422 uint8_t *pScalar, *pRes; in CC_EcMontSeedKeyPair() local 451 pScalar = (uint8_t*)&pEcMontTempBuff->ecMontScalar; in CC_EcMontSeedKeyPair() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/ |
D | ec_edw.h | 66 … uint32_t *pScalar, /*!< [in] a pointer to the scalar. */ 86 … uint32_t *pScalar, /*!< [in] a pointer to the scalar. */ 194 … uint32_t *pScalar, /*!< [in] the pointer to the scalsr (LS word is 220 … uint32_t *pScalar, /*!< [in] the pointer to the scalsr (LS word is
|
D | pka_ec_edw.c | 206 … uint32_t *pScalar, /*!< [in] the pointer to the scalsr (LS word is in PkaEcEdwScalarMultBase() argument 221 twoBits = PKI_GET_TWO_BITS_FROM_WORDS_ARRAY(pScalar, i); in PkaEcEdwScalarMultBase() 268 twoBits = PKI_GET_TWO_BITS_FROM_WORDS_ARRAY(pScalar, i); in PkaEcEdwScalarMultBase() 327 … uint32_t *pScalar, /*!< [in] the pointer to the scalsr (LS word is in PkaEcEdwSpecialScalarMultBase() argument 342 word = pScalar[sizeInWords-1]; in PkaEcEdwSpecialScalarMultBase() 352 twoBits = PkiGetNextTwoMsBits(pScalar, &word, i); in PkaEcEdwSpecialScalarMultBase() 365 twoBits = PkiGetNextTwoMsBits(pScalar, &word, i); in PkaEcEdwSpecialScalarMultBase() 398 if(PkiGetNextTwoMsBits(pScalar, &word, i) != 0) { in PkaEcEdwSpecialScalarMultBase()
|
D | ec_edw.c | 158 … uint32_t *pScalar, /*!< [in] a pointer to the scalar. */ in EcEdwScalarMultBase() argument 171 scalarSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pScalar, scalarSizeWords); in EcEdwScalarMultBase() 214 err = PkaEcEdwScalarMultBase(pScalar, scalarSizeInBits); in EcEdwScalarMultBase() 243 … uint32_t *pScalar, /*!< [in] a pointer to the scalar. */ in EcEdwSpecialScalarMultBase() argument 255 scalarSizeBits = CC_CommonGetWordsCounterEffectiveSizeInBits(pScalar, scalarSizeWords); in EcEdwSpecialScalarMultBase() 299 err = PkaEcEdwSpecialScalarMultBase(pScalar, scalarSizeBits); in EcEdwSpecialScalarMultBase()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/ |
D | cc_ec_mont_api.h | 93 … const uint8_t *pScalar, /*!< [in] Pointer to the secret (private) key. */ 118 … const uint8_t *pScalar, /*!< [in] Pointer to the secret (private) key. */
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
D | pki.h | 55 uint32_t PkiGetNextTwoMsBits(uint32_t *pScalar, uint32_t *pWord, int32_t i);
|
D | pki.c | 281 uint32_t PkiGetNextTwoMsBits(uint32_t *pScalar, uint32_t *pWord, int32_t i) in PkiGetNextTwoMsBits() argument 290 *pWord = pScalar[(i / CC_BITS_IN_32BIT_WORD)-1]; in PkiGetNextTwoMsBits()
|