Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/cryptolib/
Drsa.c65 static void montMul(const RSAPublicKey *key, in montMul() function
100 montMul(key, aR, a, key->rr); /* aR = a * RR / R mod M */ in modpowF4()
102 montMul(key, aaR, aR, aR); /* aaR = aR * aR / R mod M */ in modpowF4()
103 montMul(key, aR, aaR, aaR); /* aR = aaR * aaR / R mod M */ in modpowF4()
105 montMul(key, aaa, aR, a); /* aaa = aR * a / R mod M */ in modpowF4()
/external/vboot_reference/firmware/2lib/
D2rsa.c78 static void montMul(const struct vb2_public_key *key, in montMul() function
119 montMul(key, aR, a, key->rr); /* aR = a * RR / R mod M */ in modpowF4()
121 montMul(key, aaR, aR, aR); /* aaR = aR * aR / R mod M */ in modpowF4()
122 montMul(key, aR, aaR, aaR); /* aR = aaR * aaR / R mod M */ in modpowF4()
124 montMul(key, aaa, aR, a); /* aaa = aR * a / R mod M */ in modpowF4()
/external/avb/libavb/
Davb_rsa.c162 static void montMul(const IAvbKey* key, uint32_t* c, uint32_t* a, uint32_t* b) { in montMul() function
195 montMul(key, aR, a, key->rr); /* aR = a * RR / R mod M */ in modpowF4()
197 montMul(key, aaR, aR, aR); /* aaR = aR * aR / R mod M */ in modpowF4()
198 montMul(key, aR, aaR, aaR); /* aR = aaR * aaR / R mod M */ in modpowF4()
200 montMul(key, aaa, aR, a); /* aaa = aR * a / R mod M */ in modpowF4()