Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement Zeroize for NonIdentity<AffinePoint> #2022

Open
@daxpedda

Description

The way we implement Zeroize for NonIdentity is to set it to the generator point. To that end we rely on the Group trait to get us that generator point. Unfortunately this means Zeroize isn't implemented for NonIdentity<AffinePoint> because they don't implement Group.

This could be solved with specialization on the trait PrimeCurveAffine, but unfortunately Rust isn't there yet.

I propose the following solutions:

  1. We split NonIdentity into two types (see Introduce NonIdentityPoint #1170 ).
  2. Introduce a new trait to get the generator point (similar to Shared identity point trait zkcrypto/group#41 ).

(feel free to close the issue if its not considered worth the effort)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /