Lines Matching refs:form
160 point_conversion_form_t form, in ossl_ec_GFp_simple_point2oct() argument
169 if ((form != POINT_CONVERSION_COMPRESSED) in ossl_ec_GFp_simple_point2oct()
170 && (form != POINT_CONVERSION_UNCOMPRESSED) in ossl_ec_GFp_simple_point2oct()
171 && (form != POINT_CONVERSION_HYBRID)) { in ossl_ec_GFp_simple_point2oct()
191 (form == in ossl_ec_GFp_simple_point2oct()
217 if ((form == POINT_CONVERSION_COMPRESSED in ossl_ec_GFp_simple_point2oct()
218 || form == POINT_CONVERSION_HYBRID) && BN_is_odd(y)) in ossl_ec_GFp_simple_point2oct()
219 buf[0] = form + 1; in ossl_ec_GFp_simple_point2oct()
221 buf[0] = form; in ossl_ec_GFp_simple_point2oct()
241 if (form == POINT_CONVERSION_UNCOMPRESSED in ossl_ec_GFp_simple_point2oct()
242 || form == POINT_CONVERSION_HYBRID) { in ossl_ec_GFp_simple_point2oct()
278 point_conversion_form_t form; in ossl_ec_GFp_simple_oct2point() local
289 form = buf[0]; in ossl_ec_GFp_simple_oct2point()
290 y_bit = form & 1; in ossl_ec_GFp_simple_oct2point()
291 form = form & ~1U; in ossl_ec_GFp_simple_oct2point()
292 if ((form != 0) && (form != POINT_CONVERSION_COMPRESSED) in ossl_ec_GFp_simple_oct2point()
293 && (form != POINT_CONVERSION_UNCOMPRESSED) in ossl_ec_GFp_simple_oct2point()
294 && (form != POINT_CONVERSION_HYBRID)) { in ossl_ec_GFp_simple_oct2point()
298 if ((form == 0 || form == POINT_CONVERSION_UNCOMPRESSED) && y_bit) { in ossl_ec_GFp_simple_oct2point()
303 if (form == 0) { in ossl_ec_GFp_simple_oct2point()
314 (form == in ossl_ec_GFp_simple_oct2point()
341 if (form == POINT_CONVERSION_COMPRESSED) { in ossl_ec_GFp_simple_oct2point()
351 if (form == POINT_CONVERSION_HYBRID) { in ossl_ec_GFp_simple_oct2point()