Home
last modified time | relevance | path

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

/system/core/libcrypto_utils/
Dandroid_pubkey.cpp43 uint32_t n0inv; member
116 BIGNUM* n0inv = BN_new(); in android_pubkey_encode() local
127 if (!ctx || !r32 || !n0inv || !BN_set_bit(r32, 32) || !BN_mod(n0inv, RSA_get0_n(key), r32, ctx) || in android_pubkey_encode()
128 !BN_mod_inverse(n0inv, n0inv, r32, ctx) || !BN_sub(n0inv, r32, n0inv)) { in android_pubkey_encode()
131 key_struct->n0inv = (uint32_t)BN_get_word(n0inv); in android_pubkey_encode()
152 BN_free(n0inv); in android_pubkey_encode()