Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Dltc_ecc_mul2add.c32 unsigned bitbufA, bitbufB, lenA, lenB, len, nA, nB, nibble; in ltc_ecc_mul2add() local
139 nB = (bitbufB >> 6) & 0x03; in ltc_ecc_mul2add()
144 if ((nA == 0) && (nB == 0) && (first == 1)) { in ltc_ecc_mul2add()
156 if ((nA != 0) || (nB != 0)) { in ltc_ecc_mul2add()
160 … if ((err = ltc_ecc_copy_point(precomp[nA + (nB<<2)], C)) != CRYPT_OK) { goto ERR_MU; } in ltc_ecc_mul2add()
163 …if ((err = ltc_mp.ecc_ptadd(C, precomp[nA + (nB<<2)], C, ma, modulus, mp)) != CRYPT_OK) { goto ERR… in ltc_ecc_mul2add()