Lines Matching defs:form
26 * 2. Redistributions in binary form must reproduce the above copyright
45 * 6. Redistributions of any form whatsoever must retain the following
420 size_t ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form,
430 if ((form == POINT_CONVERSION_COMPRESSED) || (form == POINT_CONVERSION_HYBRID))
437 if ((form != POINT_CONVERSION_COMPRESSED)
438 && (form != POINT_CONVERSION_UNCOMPRESSED)
439 && (form != POINT_CONVERSION_HYBRID))
463 ret = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len;
490 buf[0] = form;
492 if ((form != POINT_CONVERSION_UNCOMPRESSED) && !BN_is_zero(x))
520 if (form == POINT_CONVERSION_UNCOMPRESSED || form == POINT_CONVERSION_HYBRID)
565 point_conversion_form_t form;
577 form = buf[0];
578 y_bit = form & 1;
579 form = form & ~1U;
580 if ((form != 0) && (form != POINT_CONVERSION_COMPRESSED)
581 && (form != POINT_CONVERSION_UNCOMPRESSED)
582 && (form != POINT_CONVERSION_HYBRID))
587 if ((form == 0 || form == POINT_CONVERSION_UNCOMPRESSED) && y_bit)
593 if (form == 0)
605 enc_len = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len;
633 if (form == POINT_CONVERSION_COMPRESSED)
645 if (form == POINT_CONVERSION_HYBRID)