Skip to content

Consistent alternative to PrimeField::to_repr #155

Description

@tarcieri

I wanted to make a companion issue on this repo to this one here: zkcrypto/group#78

Notably the wNAF implementation there assumes to_repr always returns little endian. There may be changes necessary here so it's possible to consistently iterate over the bits of a scalar in little endian order, and I just wanted to make sure that got considered before a release.

FWIW we're doing this hack in @RustCrypto for now, which it would be great to get rid of so we can migrate to the upstream ff: https://github.com/RustCrypto/ff/pull/10

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