hdevalence / hdevalence/cpace

Streaming HKDF API?

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
16
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The `Context` struct, in theory, allows an allocation-free implementation. But in practice the implementation allocates behind the scenes, because the HKDF API doesn't support streaming. It would be nice (albeit very low priority) to examine whether there's an easy way to fix it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the Context struct and the HKDF API usage in its implementation. Determine whether a streaming HKDF interface can remove the hidden allocations while preserving the existing CPace behavior; the work is done when the allocation-free path is demonstrated and covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.