Skip to content

serialization parameter(s) to control safe / unsafe deserialization #55

@dtebbs

Description

@dtebbs

The current generic serialization routine group_read do not check that the group element is on the curve (in the uncompressed case), and a member of the correct subgroup. Similarly, In the compressed case, group_read does not check that the x-coordinate is valid.

These checks add to the cost of deserialization and may be undesirable where incoming data in known to be valid (e.g. some MSM experiments where intermediate values are cached to disk), but it would be convenient (and in some cases, necessary) to be able to enable/disable checks with a parameter similar to compressed/uncompressed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions