Skip to content

[Zellic] 9 Inconsistent pass by value in field-negation functions #53

@manishbista28

Description

@manishbista28

The function Fq2::neg and Fq6::neg take as input 'a', a field element in Fq2 and Fq6 respectively, and return the field negation -a.
Whereas 'a' is passed by value and not by reference, in Fq::neg and Fq12::neg and Fr::neg, the field elements are all passed by reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions