Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_mulmod_timing.c36 void *mp = NULL, *mu = NULL, *ma = NULL, *a_plus3 = NULL; in ltc_ecc_mulmod() local
57 if ((err = mp_init(&a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
58 if ((err = mp_add_d(a, 3, a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
59 if (mp_cmp(a_plus3, modulus) != LTC_MP_EQ) { in ltc_ecc_mulmod()
151 if (a_plus3 != NULL) mp_clear(a_plus3); in ltc_ecc_mulmod()
A Dltc_ecc_mulmod.c37 void *mp = NULL, *mu = NULL, *ma = NULL, *a_plus3 = NULL; in ltc_ecc_mulmod() local
58 if ((err = mp_init(&a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
59 if ((err = mp_add_d(a, 3, a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
60 if (mp_cmp(a_plus3, modulus) != LTC_MP_EQ) { in ltc_ecc_mulmod()
201 if (a_plus3 != NULL) mp_clear(a_plus3); in ltc_ecc_mulmod()
A Decc_verify_hash.c36 void *r, *s, *v, *w, *u1, *u2, *e, *p, *m, *a, *a_plus3; in ecc_verify_hash_ex() local
52 if ((err = mp_init_multi(&r, &s, &v, &w, &u1, &u2, &e, &a_plus3, NULL)) != CRYPT_OK) { in ecc_verify_hash_ex()
59 if ((err = mp_add_d(a, 3, a_plus3)) != CRYPT_OK) { in ecc_verify_hash_ex()
171 if (mp_cmp(a_plus3, m) != LTC_MP_EQ) { in ecc_verify_hash_ex()
207 mp_clear_multi(r, s, v, w, u1, u2, e, a_plus3, NULL); in ecc_verify_hash_ex()
A Decc_recover_key.c39 void *r, *s, *v, *w, *t1, *t2, *u1, *u2, *v1, *v2, *e, *x, *y, *a_plus3; in ecc_recover_key() local
56 …if ((err = mp_init_multi(&r, &s, &v, &w, &t1, &t2, &u1, &u2, &v1, &v2, &e, &x, &y, &a_plus3, NULL)… in ecc_recover_key()
64 if ((err = mp_add_d(a, 3, a_plus3)) != CRYPT_OK) { in ecc_recover_key()
222 if (mp_cmp(a_plus3, m) != LTC_MP_EQ) { in ecc_recover_key()
261 mp_clear_multi(a_plus3, y, x, e, v2, v1, u2, u1, t2, t1, w, v, s, r, NULL); in ecc_recover_key()

Completed in 5 milliseconds