Skip to content

Construction of a FieldElement from a BigInteger fails if the BigInteger is too big #404

@jot2re

Description

@jot2re

Currently the method BigIntegerModulus.reduceModThis() fails if the BigInteger it gets as input is more than the square of the modulus... However, no exception is thrown if this is the case.

The code should be changed to either throw and exception so the user knows that something went wrong, or fixed to handle the case of large input gracefully.

See this issue aicis/fresco-outsourcing#6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugBug related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions