Lines Matching refs:field_len
505 size_t field_len, i, skip; in ec_GF2m_simple_point2oct() local
532 field_len = (EC_GROUP_get_degree(group) + 7) / 8; in ec_GF2m_simple_point2oct()
533 ret = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len; in ec_GF2m_simple_point2oct()
569 skip = field_len - BN_num_bytes(x); in ec_GF2m_simple_point2oct()
570 if (skip > field_len) in ec_GF2m_simple_point2oct()
582 if (i != 1 + field_len) in ec_GF2m_simple_point2oct()
590 skip = field_len - BN_num_bytes(y); in ec_GF2m_simple_point2oct()
591 if (skip > field_len) in ec_GF2m_simple_point2oct()
637 size_t field_len, enc_len; in ec_GF2m_simple_oct2point() local
672 field_len = (EC_GROUP_get_degree(group) + 7) / 8; in ec_GF2m_simple_oct2point()
673 enc_len = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len; in ec_GF2m_simple_oct2point()
694 if (!BN_bin2bn(buf + 1, field_len, x)) goto err; in ec_GF2m_simple_oct2point()
707 if (!BN_bin2bn(buf + 1 + field_len, field_len, y)) goto err; in ec_GF2m_simple_oct2point()