Home
last modified time | relevance | path

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

/device/google/contexthub/lib/nanohub/
Drsa.c180 gigastep = (step - 1) / (RSA_LEN * 4); in rsaPubOpIterative()
181 gigastepSubstep = (step - 1) % (RSA_LEN * 4); in rsaPubOpIterative()
182 gigastepBase = gigastep * (RSA_LEN * 4); in rsaPubOpIterative()
183 megaSubstep = gigastepSubstep / RSA_LEN; in rsaPubOpIterative()
188 step = gigastepBase + RSA_LEN + 1; in rsaPubOpIterative()
192 else if (gigastepSubstep != RSA_LEN * 4 - 1){ // second part of gigastep - MOD in rsaPubOpIterative()
193 …dIterative(state->tmpA, c, state->tmpB, state1, state2, gigastepSubstep - RSA_LEN)) { //MOD is done in rsaPubOpIterative()
197 step = gigastepBase + RSA_LEN * 4 - 1 + 1; in rsaPubOpIterative()
253 for (i = 0; i < RSA_LEN; i++) { in rsaPrivOp()
/device/google/contexthub/lib/include/nanohub/
Drsa.h22 #define RSA_LEN 2048 macro
23 #define RSA_LIMBS ((RSA_LEN + 31)/ 32)