Skip to content

Question: Why Serialise y-coordinate before x-coordinate? #334

Open
@suyash67

Description

@suyash67

In serialising affine_element to a buffer, we first serialise the y-coordinate and then the x-coordinate. Is this because read happens in a reverse order?

Fq::serialize_to_buffer(value.y, buffer);
Fq::serialize_to_buffer(value.x, buffer + sizeof(Fq));

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions