camellia: Replace S-Box lookup tables
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
まず、現在の Camellia の実装と、AES と Camellia の S-Boxes 間のアフィン同型に関するリンク先の論文を確認します。報告者の fork にあるドラフトコードとアプローチを比較し、望ましい backend についてプロジェクトの意見を求めます。アプローチについて合意し、完成した pull request にできる状態まで開発できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The camellia cipher currently uses lookup tables instead of a bitsliced/hardware accelerated backend.
I mention hardware acceleration because there are affine isomorphisms between the AES S-Box and the Camellia S-Box, meaning you can utilise AES-NI or AES bitslicing (and their SIMD accelerations) on Camellia through introducing a small affine transformation over GF(2).
See: https://arxiv.org/abs/2411.12360
I'm just noting this down here to get some input whether this kind of solution is something this project is interested in. I have started drafting out some things in code in a fork and would PR it as soon as it's in a ready enough state.
- 主要言語
- Rust
- スター
- 787
- フォーク
- 158
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustCrypto/block-ciphers のほかの issue
-
aes
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
RustCrypto/block-ciphers#559 · コメント 10 件 ·
-
aes
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
RustCrypto/block-ciphers#548 · コメント 1 件 ·
-
SVE AES on aarch64オープンaes
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
RustCrypto/block-ciphers#485 · コメント 7 件 ·
-
Add const time column to the algorithms table and mention const time properties in each crate READMEオープン
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
RustCrypto/block-ciphers#480 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
RustCrypto/block-ciphers#459 · コメント 7 件 ·
RustCrypto/block-ciphers の issue をすべて見る
似ている issue
-
good first issue gpu serve
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
documentation E-easy good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
charles-hood/DiagramCraft#73 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
ontologyportal/sigma-rs#200 ·
メンテナーはふだん 1 日以内に返信