Home
last modified time | relevance | path

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

12

/optee_os/core/lib/libtomcrypt/src/pk/dh/
A Ddh_shared_secret.c41 … if (mp_cmp(private_key->prime, public_key->prime) != LTC_MP_EQ) { return CRYPT_PK_TYPE_MISMATCH; } in dh_shared_secret()
42 … if (mp_cmp(private_key->base, public_key->base) != LTC_MP_EQ) { return CRYPT_PK_TYPE_MISMATCH; } in dh_shared_secret()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_verify_key.c86 if (mp_cmp_d(tmp1, 1) != LTC_MP_EQ) { in dsa_int_validate_pqg()
171 if (mp_cmp(tmp, key->y) != LTC_MP_EQ) { in dsa_int_validate_xy()
183 if (mp_cmp_d(tmp, 1) != LTC_MP_EQ) { in dsa_int_validate_xy()
A Ddsa_verify_hash.c76 if (mp_cmp(r, v) == LTC_MP_EQ) { in dsa_verify_hash_raw()
A Ddsa_sign_hash.c75 } while (mp_cmp_d(tmp, 1) != LTC_MP_EQ); in dsa_sign_hash_raw()
A Ddsa_generate_pqg.c193 } while (mp_cmp_d(g, 1) == LTC_MP_EQ); in _dsa_make_params()
/optee_os/core/lib/libtomcrypt/
A Dsm2-dsa.c91 if (mp_cmp_d(r, 0) == LTC_MP_EQ || in sm2_ltc_dsa_sign()
92 mp_cmp(tmp, ltc_key.dp.order) == LTC_MP_EQ) in sm2_ltc_dsa_sign()
199 if (mp_cmp_d(t, 0) == LTC_MP_EQ) { in sm2_ltc_dsa_verify()
241 if (mp_cmp(R, rprime) != LTC_MP_EQ) in sm2_ltc_dsa_verify()
A Dmpi_desc.c163 return LTC_MP_EQ; in compare()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_projective_add_point.c59 if ((mp_cmp(P->x, Q->x) == LTC_MP_EQ) && (mp_cmp(P->z, Q->z) == LTC_MP_EQ)) { in ltc_ecc_projective_add_point()
60 if (mp_cmp(P->y, Q->y) == LTC_MP_EQ) { in ltc_ecc_projective_add_point()
66 if (mp_cmp(P->y, t1) == LTC_MP_EQ) { in ltc_ecc_projective_add_point()
A Dltc_ecc_is_point_at_infinity.c48 if ((mp_cmp(x3, y2) == LTC_MP_EQ) && !mp_iszero(y2)) { in ltc_ecc_is_point_at_infinity()
A Dltc_ecc_mulmod.c60 if (mp_cmp(a_plus3, modulus) != LTC_MP_EQ) { in ltc_ecc_mulmod()
82 if (mp_cmp_d(mu, 1) == LTC_MP_EQ) { in ltc_ecc_mulmod()
A Dltc_ecc_verify_key.c32 if (ltc_mp.compare_d(key->pubkey.z, 1) == LTC_MP_EQ) { in ltc_ecc_verify_key()
A Decc_verify_hash.c171 if (mp_cmp(a_plus3, m) != LTC_MP_EQ) { in ecc_verify_hash_ex()
196 if (mp_cmp(v, r) == LTC_MP_EQ) { in ecc_verify_hash_ex()
A Dltc_ecc_is_point.c58 if (mp_cmp(t1, b) != LTC_MP_EQ) { in ltc_ecc_is_point()
A Decc_recover_key.c222 if (mp_cmp(a_plus3, m) != LTC_MP_EQ) { in ecc_recover_key()
239 if (mp_cmp(v, r) == LTC_MP_EQ) { in ecc_recover_key()
A Dltc_ecc_mulmod_timing.c59 if (mp_cmp(a_plus3, modulus) != LTC_MP_EQ) { in ltc_ecc_mulmod()
A Decc_set_curve_internal.c18 if (mp_cmp(tmp_bn, right_bn) != LTC_MP_EQ) return 0; in _ecc_cmp_hex_bn()
A Decc_import_pkcs8.c169 if (mp_cmp_d(p->child->data, 1) != LTC_MP_EQ) { in ecc_import_pkcs8()
/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_import.c78 if (mp_cmp_d(key->N, 0) == LTC_MP_EQ) { in rsa_import()
99 } else if (mp_cmp_d(key->N, 1) == LTC_MP_EQ) { in rsa_import()
A Drsa_exptmod.c141 …if (mp_cmp(tmpa, tmpb) != LTC_MP_EQ) { err = CRYPT_ERROR; goto… in rsa_exptmod()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_math.h14 #define LTC_MP_EQ 0 macro
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_constants.c163 _C_STRINGIFY(LTC_MP_EQ),
/optee_os/core/lib/libtomcrypt/src/math/
A Dltm_desc.c135 case MP_EQ: return LTC_MP_EQ; in compare()
148 case MP_EQ: return LTC_MP_EQ; in compare_d()
A Dgmp_desc.c99 return LTC_MP_EQ; in compare()
113 return LTC_MP_EQ; in compare_d()
A Dtfm_desc.c125 case FP_EQ: return LTC_MP_EQ; in compare()
138 case FP_EQ: return LTC_MP_EQ; in compare_d()
/optee_os/core/lib/libtomcrypt/src/math/fp/
A 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()

Completed in 23 milliseconds

12