Home
last modified time | relevance | path

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

/device/google/contexthub/lib/nanohub/
Drsa.c170 uint32_t step = *stepP, gigastep, gigastepBase, gigastepSubstep, megaSubstep; in rsaPubOpIterative() local
181 gigastepSubstep = (step - 1) % (RSA_LEN * 4); in rsaPubOpIterative()
183 megaSubstep = gigastepSubstep / RSA_LEN; in rsaPubOpIterative()
186 … biMulIterative(state->tmpA, state->tmpB, gigastep == 16 ? a : state->tmpB, gigastepSubstep); in rsaPubOpIterative()
187 if (gigastepSubstep == RSA_LIMBS - 1) //MUL is done - do mod next in rsaPubOpIterative()
192 else if (gigastepSubstep != RSA_LEN * 4 - 1){ // second part of gigastep - MOD in rsaPubOpIterative()
193 …if (biModIterative(state->tmpA, c, state->tmpB, state1, state2, gigastepSubstep - RSA_LEN)) { //MO… in rsaPubOpIterative()