universal-hash: parallel block processing
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- rust
- 领域
- cryptography
调研方向
从 UniversalHash::update 入口点开始,审查 issue 中链接的分组密码 ParBlocks 先例。确定 universal-hash 应如何为 SIMD 实现提供并行分组处理,然后验证所得 API 支持多个输入分组,同时保留现有的单分组行为。
由索引模型根据 Issue 内容生成。
描述
SIMD implementations of UHFs are able to process multiple input blocks in parallel. However UniversalHash::update only processes one-block-at-a-time.
There's some precedent for parallel block processing in the block-cipher crate, which has an associated ParBlocks type-level constant which signals how many blocks a given implementation can process in parallel:
https://docs.rs/block-cipher/0.8.0/block_cipher/trait.BlockCipher.html#associatedtype.ParBlocks
I believe @newpavlov wanted to make some changes to how that works, but regardless, universal-hash should have similar support for processing multiple blocks in parallel in SIMD contexts
/cc @str4d
- 主要语言
- Rust
- 星标
- 760
- 派生
- 258
- 平均合并
- 2 小时 53 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RustCrypto/traits 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 52/100
RustCrypto/traits#2487 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
RustCrypto/traits#2482 · 5 条评论 ·
-
难度 5/5 一周以上 新手友好度 32/100
RustCrypto/traits#2478 · 5 条评论 ·
-
cipher
难度 4/5 3-5 天 新手友好度 38/100
RustCrypto/traits#2424 ·
-
难度 5/5 一周以上 新手友好度 25/100
RustCrypto/traits#2401 ·
查看 RustCrypto/traits 的全部 Issue
相似的 Issue
-
area/infra good first issue type/bug
难度 2/5 1-3 小时 新手友好度 60/100
cristim/AztecCraft#92 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
charles-hood/DiagramCraft#51 ·
-
S: Untriaged T: Bug
难度 2/5 1-3 小时 新手友好度 70/100
libnyanpasu/clash-nyanpasu#5788 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area:cli bug good first issue priority:medium
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复