Lines Matching refs:field_len
133 size_t field_len, i, skip; in ossl_ec_GF2m_simple_point2oct() local
158 field_len = (EC_GROUP_get_degree(group) + 7) / 8; in ossl_ec_GF2m_simple_point2oct()
161 POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ossl_ec_GF2m_simple_point2oct()
199 skip = field_len - BN_num_bytes(x); in ossl_ec_GF2m_simple_point2oct()
200 if (skip > field_len) { in ossl_ec_GF2m_simple_point2oct()
210 if (i != 1 + field_len) { in ossl_ec_GF2m_simple_point2oct()
217 skip = field_len - BN_num_bytes(y); in ossl_ec_GF2m_simple_point2oct()
218 if (skip > field_len) { in ossl_ec_GF2m_simple_point2oct()
263 size_t field_len, enc_len; in ossl_ec_GF2m_simple_oct2point() local
310 field_len = (m + 7) / 8; in ossl_ec_GF2m_simple_oct2point()
313 POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ossl_ec_GF2m_simple_oct2point()
335 if (!BN_bin2bn(buf + 1, field_len, x)) in ossl_ec_GF2m_simple_oct2point()
346 if (!BN_bin2bn(buf + 1 + field_len, field_len, y)) in ossl_ec_GF2m_simple_oct2point()