Crates.io | rsa_heapless |
lib.rs | rsa_heapless |
version | 0.1.0 |
source | src |
created_at | 2024-10-06 06:52:23.700913 |
updated_at | 2024-10-06 06:52:23.700913 |
description | Pure Rust RSA implementation - heapless version |
homepage | |
repository | https://github.com/kaidokert/RSA |
max_upload_size | |
id | 1398834 |
size | 161,503 |
This repo is a fork of the RustCrypto RSA crate
This fork is a proof of concept focused on removing heap usage and allocations. It's written for environments where memory constraints are tight, such as embedded systems or no_std contexts.
BigInt
implementation is swappable. It’s a type parameter in the RsaPublicKey<T>
, where T
must implement num_traits::PrimInt
and some additional traits.It's a proof of concept to try how compact a RSA implementation can become. Currently tested on Cortex-M0, fitting into about 8Kb code space and requiring about 3kB stack at the minimum.