Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_verify_key.c53 if (mp_cmp_d(key->g, 0) == LTC_MP_EQ || mp_cmp_d(key->g, 1) == LTC_MP_EQ) { in dsa_verify_key()
58 if (mp_cmp(tmp, key->g) == LTC_MP_EQ || mp_cmp(key->g, key->p) != LTC_MP_LT) { in dsa_verify_key()
77 if (mp_cmp_d(tmp, 1) != LTC_MP_EQ) { in dsa_verify_key()
84 if (mp_cmp_d(tmp, 1) != LTC_MP_EQ) { in dsa_verify_key()
Ddsa_verify_hash.c74 if (mp_cmp(r, v) == LTC_MP_EQ) { in dsa_verify_hash_raw()
Ddsa_sign_hash.c81 } while (mp_cmp_d(tmp, 1) != LTC_MP_EQ); in dsa_sign_hash_raw()
Ddsa_make_key.c99 } while (mp_cmp_d(tmp, 1) == LTC_MP_EQ); in dsa_make_key()
/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_test.c77 if (mp_cmp(G->x, GG->x) != LTC_MP_EQ || mp_cmp(G->y, GG->y) != LTC_MP_EQ) { in ecc_test()
Dltc_ecc_projective_add_point.c53 if ( (mp_cmp(P->x, Q->x) == LTC_MP_EQ) && in ltc_ecc_projective_add_point()
54 (Q->z != NULL && mp_cmp(P->z, Q->z) == LTC_MP_EQ) && in ltc_ecc_projective_add_point()
55 (mp_cmp(P->y, Q->y) == LTC_MP_EQ || mp_cmp(P->y, t1) == LTC_MP_EQ)) { in ltc_ecc_projective_add_point()
Decc_verify_hash.c145 if (mp_cmp(v, r) == LTC_MP_EQ) { in ecc_verify_hash()
Decc_import.c63 if (mp_cmp(t1, b) != LTC_MP_EQ) { in is_point()
Dltc_ecc_mulmod.c84 if (mp_cmp_d(mu, 1) == LTC_MP_EQ) { in ltc_ecc_mulmod()
/external/dropbear/libtomcrypt/src/pk/rsa/
Drsa_import.c97 if (mp_cmp_d(key->N, 0) == LTC_MP_EQ) { in rsa_import()
118 } else if (mp_cmp_d(key->N, 1) == LTC_MP_EQ) { in rsa_import()
/external/dropbear/libtomcrypt/testprof/
Decc_test.c91 …if ((mp_cmp(C1->x, C2->x) != LTC_MP_EQ) || (mp_cmp(C1->y, C2->y) != LTC_MP_EQ) || (mp_cmp(C1->z, C… in ecc_test_shamir()
Dder_tests.c278 if (mp_cmp_d(l->data, 12345678UL) != LTC_MP_EQ) { in der_flexi_test()
562 if (y != x || mp_cmp(a, b) != LTC_MP_EQ) {
/external/dropbear/libtomcrypt/src/pk/katja/
Dkatja_import.c48 if (mp_cmp_d(key->N, 0) == LTC_MP_EQ) { in katja_import()
Dkatja_make_key.c59 } while (mp_cmp_d(tmp2, 1) != LTC_MP_EQ); in katja_make_key()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h4 #define LTC_MP_EQ 0 macro
496 #define mp_iszero(a) (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO)
/external/dropbear/libtomcrypt/src/math/
Dgmp_desc.c100 return LTC_MP_EQ; in compare()
114 return LTC_MP_EQ; in compare_d()
Dltm_desc.c127 case MP_EQ: return LTC_MP_EQ; in compare()
140 case MP_EQ: return LTC_MP_EQ; in compare_d()
Dtfm_desc.c126 case FP_EQ: return LTC_MP_EQ; in compare()
139 case FP_EQ: return LTC_MP_EQ; in compare_d()
/external/dropbear/libtomcrypt/src/math/fp/
Dltc_ecc_fp_mulmod.c617 mp_cmp(fp_cache[x].g->x, g->x) == LTC_MP_EQ && in find_base()
618 mp_cmp(fp_cache[x].g->y, g->y) == LTC_MP_EQ && in find_base()
619 mp_cmp(fp_cache[x].g->z, g->z) == LTC_MP_EQ) { in find_base()
/external/dropbear/libtomcrypt/
Dcrypt.tex6041 LTC_MP_EQ otherwise. (signed comparison)
6050 LTC_MP_EQ otherwise. (signed comparison)