Home | History | Annotate | Download | only in ec

Lines Matching full:form

12  * 2. Redistributions in binary form must reproduce the above copyright
31 * 6. Redistributions of any form whatsoever must retain the following
78 point_conversion_form_t form,
86 if ((form != POINT_CONVERSION_COMPRESSED) &&
87 (form != POINT_CONVERSION_UNCOMPRESSED)) {
100 (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len;
128 if ((form == POINT_CONVERSION_COMPRESSED) &&
130 buf[0] = form + 1;
132 buf[0] = form;
142 if (form == POINT_CONVERSION_UNCOMPRESSED) {
174 point_conversion_form_t form;
185 form = buf[0];
186 y_bit = form & 1;
187 form = form & ~1U;
188 if ((form != POINT_CONVERSION_COMPRESSED &&
189 form != POINT_CONVERSION_UNCOMPRESSED) ||
190 (form == POINT_CONVERSION_UNCOMPRESSED && y_bit)) {
197 (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len;
226 if (form == POINT_CONVERSION_COMPRESSED) {
262 point_conversion_form_t form, uint8_t *buf,
268 return ec_GFp_simple_point2oct(group, point, form, buf, len, ctx);