Home
last modified time | relevance | path

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

/device/google/contexthub/lib/nanohub/
Drsa.c186 … biMulIterative(state->tmpA, state->tmpB, gigastep == 16 ? a : state->tmpB, gigastepSubstep); in rsaPubOpIterative()
193 …if (biModIterative(state->tmpA, c, state->tmpB, state1, state2, gigastepSubstep - RSA_LEN)) { //MO… in rsaPubOpIterative()
203 memcpy(state->tmpB, state->tmpA, RSA_BYTES); in rsaPubOpIterative()
209 return state->tmpA; in rsaPubOpIterative()
250 memset(state->tmpA, 0, RSA_BYTES * 2); //tA will hold result in rsaPrivOp()
251 state->tmpA[0] = 1; in rsaPrivOp()
256 memcpy(state->tmpB, state->tmpA, RSA_BYTES); in rsaPrivOp()
257 biMul(state->tmpA, state->tmpB, state->tmpC); in rsaPrivOp()
258 biMod(state->tmpA, c, state->tmpB); in rsaPrivOp()
263 memcpy(state->tmpB, state->tmpA, RSA_BYTES); //save tA in rsaPrivOp()
[all …]
/device/google/contexthub/lib/include/nanohub/
Drsa.h28 uint32_t tmpA[RSA_LIMBS * 2]; member