Lines Matching refs:form

78                                       point_conversion_form_t form,  in ec_GFp_simple_point2oct()  argument
86 if ((form != POINT_CONVERSION_COMPRESSED) && in ec_GFp_simple_point2oct()
87 (form != POINT_CONVERSION_UNCOMPRESSED)) { in ec_GFp_simple_point2oct()
108 (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ec_GFp_simple_point2oct()
136 if ((form == POINT_CONVERSION_COMPRESSED) && in ec_GFp_simple_point2oct()
138 buf[0] = form + 1; in ec_GFp_simple_point2oct()
140 buf[0] = form; in ec_GFp_simple_point2oct()
150 if (form == POINT_CONVERSION_UNCOMPRESSED) { in ec_GFp_simple_point2oct()
182 point_conversion_form_t form; in ec_GFp_simple_oct2point() local
193 form = buf[0]; in ec_GFp_simple_oct2point()
194 y_bit = form & 1; in ec_GFp_simple_oct2point()
195 form = form & ~1U; in ec_GFp_simple_oct2point()
196 if ((form != 0) && (form != POINT_CONVERSION_COMPRESSED) && in ec_GFp_simple_oct2point()
197 (form != POINT_CONVERSION_UNCOMPRESSED)) { in ec_GFp_simple_oct2point()
201 if ((form == 0 || form == POINT_CONVERSION_UNCOMPRESSED) && y_bit) { in ec_GFp_simple_oct2point()
206 if (form == 0) { in ec_GFp_simple_oct2point()
217 (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ec_GFp_simple_oct2point()
246 if (form == POINT_CONVERSION_COMPRESSED) { in ec_GFp_simple_oct2point()
298 point_conversion_form_t form, uint8_t *buf, in EC_POINT_point2oct() argument
311 return ec_GFp_simple_point2oct(group, point, form, buf, len, ctx); in EC_POINT_point2oct()
314 return group->meth->point2oct(group, point, form, buf, len, ctx); in EC_POINT_point2oct()