informalsystems / informalsystems/quartz

Use CosmWasm's VM intrinsics for secp256r1 stuff in DCAP impl

Open
#35 1 comment 0 reactions 0 assignees View on GitHub
enhancement scaling
Dominant language
Rust
Stars
63
Forks
9
PR merge metrics
No merged PRs in 30d

Description

## Summary

Use CosmWasm's VM intrinsics for secp256r1 stuff instead of the p256 crate. (probably requires making changes to our forks of mobilecoin crates)
This is primarily a gas optimization.

Contributor guide

Open the contributing guide

Research direction

Start by locating the DCAP implementation and its uses of the p256 crate, then inspect the forked MobileCoin crates and CosmWasm VM intrinsic APIs. Done means secp256r1 operations use CosmWasm intrinsics instead of p256, with the intended gas optimization validated.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cryptography, security
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.