Searched refs:a_plus3 (Results 1 – 4 of 4) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_mulmod_timing.c | 29 void *mp = NULL, *mu = NULL, *ma = NULL, *a_plus3 = NULL; in ltc_ecc_mulmod() local 50 if ((err = mp_init(&a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod() 51 if ((err = mp_add_d(a, 3, a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod() 52 if (mp_cmp(a_plus3, modulus) != LTC_MP_EQ) { in ltc_ecc_mulmod() 144 if (a_plus3 != NULL) mp_clear(a_plus3); in ltc_ecc_mulmod()
|
A D | ltc_ecc_mulmod.c | 30 void *mp = NULL, *mu = NULL, *ma = NULL, *a_plus3 = NULL; in ltc_ecc_mulmod() local 51 if ((err = mp_init(&a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod() 52 if ((err = mp_add_d(a, 3, a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod() 53 if (mp_cmp(a_plus3, modulus) != LTC_MP_EQ) { in ltc_ecc_mulmod() 194 if (a_plus3 != NULL) mp_clear(a_plus3); in ltc_ecc_mulmod()
|
A D | ecc_verify_hash.c | 29 void *r, *s, *v, *w, *u1, *u2, *e, *p, *m, *a, *a_plus3; in ecc_verify_hash_ex() local 45 if ((err = mp_init_multi(&r, &s, &v, &w, &u1, &u2, &e, &a_plus3, LTC_NULL)) != CRYPT_OK) { in ecc_verify_hash_ex() 52 if ((err = mp_add_d(a, 3, a_plus3)) != CRYPT_OK) { in ecc_verify_hash_ex() 165 if (mp_cmp(a_plus3, m) != LTC_MP_EQ) { in ecc_verify_hash_ex() 201 mp_clear_multi(r, s, v, w, u1, u2, e, a_plus3, LTC_NULL); in ecc_verify_hash_ex()
|
A D | ecc_recover_key.c | 32 void *r, *s, *v, *w, *t1, *t2, *u1, *u2, *v1, *v2, *e, *x, *y, *a_plus3; in ecc_recover_key() local 49 …if ((err = mp_init_multi(&r, &s, &v, &w, &t1, &t2, &u1, &u2, &v1, &v2, &e, &x, &y, &a_plus3, LTC_N… in ecc_recover_key() 57 if ((err = mp_add_d(a, 3, a_plus3)) != CRYPT_OK) { in ecc_recover_key() 216 if (mp_cmp(a_plus3, m) != LTC_MP_EQ) { in ecc_recover_key() 255 mp_clear_multi(a_plus3, y, x, e, v2, v1, u2, u1, t2, t1, w, v, s, r, LTC_NULL); in ecc_recover_key()
|
Completed in 4 milliseconds