ic-platform 0.16.0

Controlled Candid and IC runtime dependency boundary
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Native/Wasm secp256k1 ECDSA primitives with original K256 identities.
//!
//! No RNG, runtime or Candid feature is selected. Consumers own prehash/domain
//! construction, high-S rejection, explicit normalization and key custody.
//! This is independent of the native IC public-derivation `secp256k1` surface.
//! K256 0.14 uses signature 3 identities: `normalize_s` returns a signature,
//! and public-key serialization uses `to_sec1_point`. The optional direct bigint
//! requirement enforces the corrected upstream generation in consumer locks.

pub use k256::ecdsa::signature::Error as SignatureError;
pub use k256::ecdsa::signature::hazmat::{PrehashSigner, PrehashVerifier};
pub use k256::ecdsa::{Signature, SigningKey, VerifyingKey};