Passing in x=0 and y=0 meant to return ECC_INF_E. Passing in x=0, y=not 0 or x=not 0, y=0 now checks whether the point is valid and forces a return of BAD_FUNC_ARG when IS_POINT_E is returned from check.
Passing in x=0 and y=0 meant to return ECC_INF_E. Passing in x=0, y=not 0 or x=not 0, y=0 now checks whether the point is valid and forces a return of BAD_FUNC_ARG when IS_POINT_E is returned from check.