gmcrypto-core 0.2.0

Constant-time-designed pure-Rust SM2/SM3 primitives (no_std + alloc) with an in-CI dudect timing-leak regression harness
Documentation
1
2
3
4
5
6
7
8
9
//! Minimal ASN.1 DER subset.
//!
//! v0.1 ships only the SM2 signature `SEQUENCE { r INTEGER, s INTEGER }`
//! shape. Full reader/writer lands in v0.3.

pub mod ciphertext;
pub mod sig;

pub use sig::{decode_sig, encode_sig};