RustCrypto / RustCrypto/formats

pem-rfc7468: in-place decoders/encoders

Open
#7 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
338
Forks
188
Avg merge
4d 6h
Merged PRs (30d)
15

Description

An interesting optimization for no_std platforms would be to support in-place decoders/encoders.

The entire crate is already written to operate over byte slices as inputs/outputs, which should make much of the existing implementation reusable in this context..

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing pem-rfc7468 decoder and encoder implementation, focusing on how its byte-slice inputs and outputs are handled. Determine the API and borrowing requirements for in-place operation on no_std platforms. Done means the crate supports in-place decoding and encoding while reusing the existing byte-slice-based implementation.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.