Home
last modified time | relevance | path

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

/system/core/libcrypto_utils/
Dandroid_pubkey.c43 uint32_t n0inv; member
127 BIGNUM* n0inv = BN_new(); in android_pubkey_encode() local
139 if (!ctx || !r32 || !n0inv || !BN_set_bit(r32, 32) || in android_pubkey_encode()
140 !BN_mod(n0inv, key->n, r32, ctx) || in android_pubkey_encode()
141 !BN_mod_inverse(n0inv, n0inv, r32, ctx) || !BN_sub(n0inv, r32, n0inv)) { in android_pubkey_encode()
144 key_struct->n0inv = (uint32_t)BN_get_word(n0inv); in android_pubkey_encode()
165 BN_free(n0inv); in android_pubkey_encode()