Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/rsa/
H A Drsa-mod-exp.c83 uint64_t acc_a, acc_b; in montgomery_mul_add_step() local
87 acc_a = (uint64_t)a * b[0] + result[0]; in montgomery_mul_add_step()
88 d0 = (uint32_t)acc_a * key->n0inv; in montgomery_mul_add_step()
89 acc_b = (uint64_t)d0 * key->modulus[0] + (uint32_t)acc_a; in montgomery_mul_add_step()
91 acc_a = (acc_a >> 32) + (uint64_t)a * b[i] + result[i]; in montgomery_mul_add_step()
93 (uint32_t)acc_a; in montgomery_mul_add_step()
97 acc_a = (acc_a >> 32) + (acc_b >> 32); in montgomery_mul_add_step()
99 result[i - 1] = (uint32_t)acc_a; in montgomery_mul_add_step()
101 if (acc_a >> 32) in montgomery_mul_add_step()