gmcrypto-core 0.7.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
10
11
12
13
14
//! Minimal ASN.1 DER subset.
//!
//! v0.3 introduces the reusable [`reader`] / [`writer`] / [`oid`]
//! primitives; [`sig`] and [`ciphertext`] re-implement on top of
//! them while preserving byte-identical accept/reject behaviour
//! against the v0.2 surface.

pub mod ciphertext;
pub mod oid;
pub mod reader;
pub mod sig;
pub mod writer;

pub use sig::{decode_sig, encode_sig};