Skip to content

[2.14.1-dev.1] Implement EcNegNz Libfunc #1520

@DiegoCivi

Description

@DiegoCivi

Cairo version 2.14.1-dev.1 introduces a new libfunc:

/// Computes the negation of a non-zero elliptic curve point (-p).
extern fn ec_neg_nz(p: NonZeroEcPoint) -> NonZeroEcPoint nopanic;

See CASM lowering from more information: https://github.com/starkware-libs/cairo/blob/4c85c2fd38f8039fdad5653b191917570f8d79eb/crates/cairo-lang-sierra-to-casm/src/invocations/ec.rs#L290

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions