Home
last modified time | relevance | path

Searched refs:twoBits (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dpka_ec_edw.c214 uint32_t twoBits; in PkaEcEdwScalarMultBase() local
221 twoBits = PKI_GET_TWO_BITS_FROM_WORDS_ARRAY(pScalar, i); in PkaEcEdwScalarMultBase()
226 switch (twoBits) { in PkaEcEdwScalarMultBase()
268 twoBits = PKI_GET_TWO_BITS_FROM_WORDS_ARRAY(pScalar, i); in PkaEcEdwScalarMultBase()
270 swt = carry*4 + twoBits; in PkaEcEdwScalarMultBase()
334 int32_t carry, i, twoBits; in PkaEcEdwSpecialScalarMultBase() local
352 twoBits = PkiGetNextTwoMsBits(pScalar, &word, i); in PkaEcEdwSpecialScalarMultBase()
354 if (twoBits != 1) in PkaEcEdwSpecialScalarMultBase()
358 PKA_PRINTF("Init loop: i= %d, twoBits= %d\n", i, twoBits); in PkaEcEdwSpecialScalarMultBase()
365 twoBits = PkiGetNextTwoMsBits(pScalar, &word, i); in PkaEcEdwSpecialScalarMultBase()
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpki.c283 uint32_t twoBits = 0; in PkiGetNextTwoMsBits() local
285 twoBits = (*pWord >> (CC_BITS_IN_32BIT_WORD - 2)); in PkiGetNextTwoMsBits()
294 return twoBits; in PkiGetNextTwoMsBits()