Searched refs:mR (Results 1 – 1 of 1) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_recover_key.c | 30 ecc_point *mG = NULL, *mQ = NULL, *mR = NULL; in ecc_recover_key() local 64 mR = ltc_ecc_new_point(); in ecc_recover_key() 65 if (mR == NULL || mQ == NULL || mG == NULL) { in ecc_recover_key() 185 …if ((err = mp_copy(x, mR->x)) != CRYPT_OK) … in ecc_recover_key() 187 …if ((err = mp_mod(t2, m, mR->y)) != CRYPT_OK) … in ecc_recover_key() 190 …if ((err = mp_submod(m, t2, m, mR->y)) != CRYPT_OK) … in ecc_recover_key() 192 …if ((err = mp_set(mR->z, 1)) != CRYPT_OK) … in ecc_recover_key() 224 …if ((err = ltc_mp.ecc_mul2add(mR, v1, mG, v2, mQ, ma, m)) != CRYPT_OK) … in ecc_recover_key() 252 if (mR != NULL) ltc_ecc_del_point(mR); in ecc_recover_key()
|
Completed in 2 milliseconds