Lines Matching refs:dest

75 int ossl_ec_GF2m_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src)  in ossl_ec_GF2m_simple_group_copy()  argument
77 if (!BN_copy(dest->field, src->field)) in ossl_ec_GF2m_simple_group_copy()
79 if (!BN_copy(dest->a, src->a)) in ossl_ec_GF2m_simple_group_copy()
81 if (!BN_copy(dest->b, src->b)) in ossl_ec_GF2m_simple_group_copy()
83 dest->poly[0] = src->poly[0]; in ossl_ec_GF2m_simple_group_copy()
84 dest->poly[1] = src->poly[1]; in ossl_ec_GF2m_simple_group_copy()
85 dest->poly[2] = src->poly[2]; in ossl_ec_GF2m_simple_group_copy()
86 dest->poly[3] = src->poly[3]; in ossl_ec_GF2m_simple_group_copy()
87 dest->poly[4] = src->poly[4]; in ossl_ec_GF2m_simple_group_copy()
88 dest->poly[5] = src->poly[5]; in ossl_ec_GF2m_simple_group_copy()
89 if (bn_wexpand(dest->a, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == in ossl_ec_GF2m_simple_group_copy()
92 if (bn_wexpand(dest->b, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == in ossl_ec_GF2m_simple_group_copy()
95 bn_set_all_zero(dest->a); in ossl_ec_GF2m_simple_group_copy()
96 bn_set_all_zero(dest->b); in ossl_ec_GF2m_simple_group_copy()
258 int ossl_ec_GF2m_simple_point_copy(EC_POINT *dest, const EC_POINT *src) in ossl_ec_GF2m_simple_point_copy() argument
260 if (!BN_copy(dest->X, src->X)) in ossl_ec_GF2m_simple_point_copy()
262 if (!BN_copy(dest->Y, src->Y)) in ossl_ec_GF2m_simple_point_copy()
264 if (!BN_copy(dest->Z, src->Z)) in ossl_ec_GF2m_simple_point_copy()
266 dest->Z_is_one = src->Z_is_one; in ossl_ec_GF2m_simple_point_copy()
267 dest->curve_name = src->curve_name; in ossl_ec_GF2m_simple_point_copy()