Searched refs:n0inv (Results 1 - 1 of 1) sorted by relevance

/system/core/libcrypto_utils/
H A Dandroid_pubkey.c43 uint32_t n0inv; member in struct:RSAPublicKey
95 // Note that we don't extract the montgomery parameters n0inv and rr from
98 // top 32 bits of n0inv in general. For now, we just ignore the parameters
127 BIGNUM* n0inv = BN_new(); local
138 // Compute and store n0inv = -1 / N[0] mod 2^32.
139 if (!ctx || !r32 || !n0inv || !BN_set_bit(r32, 32) ||
140 !BN_mod(n0inv, key->n, r32, ctx) ||
141 !BN_mod_inverse(n0inv, n0inv, r32, ctx) || !BN_sub(n0inv, r3
[all...]

Completed in 56 milliseconds