pub fn gost_sign_with_k(
d: &[u8],
message: &[u8],
k: &[u8],
) -> Result<[u8; 64], GostError>Expand description
Signs message with signing key d (32-octet big-endian Vec256) using a
caller-supplied k (32 octets, 1 ≤ k < q). Returns Vec256(r) ‖ Vec256(s).
Exposing k makes signing deterministic for the standard control examples;
production callers use gost_sign, which draws k from a secure RNG.