ethereum / ethereum/mpz

WASM AES impl

Open
#310 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
298
Forks
82
PR merge metrics
No merged PRs in 30d

Description

WASM targets do not have access to AES hardware acceleration. Many protocols in `mpz` use AES heavily.

Investigate whether an AES implementation which utilizes SIMD for WASM targets would provide significant performance benefits, keeping in mind that we want to stick with the constant time bitslicing technique.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the existing constant-time bitsliced AES implementation and the WASM target configuration, then compare a SIMD-based approach against the current implementation. Done requires a measured performance assessment and a clear decision about whether the change is worthwhile without weakening the constant-time technique.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
cryptography, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.