Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_recover_key.c37 ecc_point *mG = NULL, *mQ = NULL, *mR = NULL; in ecc_recover_key() local
71 mR = ltc_ecc_new_point(); in ecc_recover_key()
72 if (mR == NULL || mQ == NULL || mG == NULL) { in ecc_recover_key()
191 …if ((err = mp_copy(x, mR->x)) != CRYPT_OK) … in ecc_recover_key()
193 …if ((err = mp_mod(t2, m, mR->y)) != CRYPT_OK) … in ecc_recover_key()
196 …if ((err = mp_submod(m, t2, m, mR->y)) != CRYPT_OK) … in ecc_recover_key()
198 …if ((err = mp_set(mR->z, 1)) != CRYPT_OK) … in ecc_recover_key()
230 …if ((err = ltc_mp.ecc_mul2add(mR, v1, mG, v2, mQ, ma, m)) != CRYPT_OK) … in ecc_recover_key()
258 if (mR != NULL) ltc_ecc_del_point(mR); in ecc_recover_key()

Completed in 2 milliseconds