Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

elliptic-curve: Use a single `Point` type instead of `AffinePoint` and `ProjectivePoint`

未关闭
#1,900 6 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
停滞
技术栈
rust
领域
cryptography

调研方向

首先阅读链接的讨论,并在仓库中找到现有的 AffinePoint 和 ProjectivePoint trait 或类型。该 issue 没有指出文件、测试或已经确定的目标设计,因此要视为完成,就需要就替代抽象达成一致,并更新受影响的密码学 trait 和测试。

由索引模型根据 Issue 内容生成。

描述

elliptic-curve

As discussed in https://github.com/dalek-cryptography/curve25519-dalek/pull/746#issuecomment-2909894366. AffinePoint and ProjectivePoint weakly map to some elliptic curve implementations. Some implementations don't use the projective variant of their points (thinking of montgomery curves) and some only use the projective or another variant of point. For example, ed25519 uses points in $\mathbb{P}^1 \times \mathbb{P}^1$ space.

We might be able to construct a better abstraction for elliptic-curves by only using a single Point associated type. I am writing this here to stir up thoughts & opinions around this idea.

主要语言
Rust
星标
756
派生
256
平均合并
1 小时 27 分钟
30 天内合并 PR
2

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

RustCrypto/traits 的其他 Issue

查看 RustCrypto/traits 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。