core/crypto/mldsa

mldsa

Types

3

Parameters

Parameters :: enum int { Invalid = 0, ML_DSA_44 = 1, ML_DSA_65 = 2, ML_DSA_87 = 3, }Source

Parameters are the supported ML-DSA parameter sets.

Constants

2

Variables

2

Procedures

18

sign

sign :: proc(priv_key: ^Private_Key, ctx: []u8, msg: []u8, sig: []u8, deterministic = !crypto.HAS_RAND_BYTES) -> (bool)Source

sign writes the signature by priv_key over (ctx, msg) to sig and returns true if and only if (⟺) the signing succeeded.

ctx is an optional domain separation tag and may be omitted (nil).

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.