MCPcopy Create free account

hub / github.com/RustCrypto/signatures / functions

Functions881 in github.com/RustCrypto/signatures

↓ 353 callersFunctionnew
()
ecdsa/src/recovery.rs:401
↓ 105 callersFunctiontry_from
()
ecdsa/src/recovery.rs:409
↓ 97 callersMethodlen
Get the length of the signature in bytes
ecdsa/src/der.rs:141
↓ 59 callersMethodas_bytes
Borrow this signature as a byte slice
ecdsa/src/der.rs:130
↓ 51 callersMethodclone
(&self)
ecdsa/src/der.rs:184
↓ 47 callersMethodtry_into
(self)
ml-dsa/src/lib.rs:147
↓ 36 callersMethodupdate
Update `K` and `V` using the provided seed material.
rfc6979/src/hmac_drbg.rs:49
↓ 29 callersMethodabsorb
(mut self, input: &[u8])
ml-dsa/src/crypto.rs:27
↓ 27 callersMethodclone
(&self)
slh-dsa/src/verifying_key.rs:146
↓ 27 callersMethodzeroize
(&mut self)
xmss/src/xmss.rs:55
↓ 23 callersMethodas_ref
(&self)
slh-dsa/src/address.rs:130
↓ 21 callersMethodupdate
(&mut self, entropy: Option<&[u8; 48]>)
slh-dsa/tests/known_answer_tests.rs:33
↓ 20 callersFunctionconst_ntt
A polynomial with only a scalar component, to make simple test cases
ml-dsa/src/ntt.rs:206
↓ 17 callersMethodfill_bytes
Write the next `HMAC_DRBG` output to the given byte slice.
rfc6979/src/hmac_drbg.rs:39
↓ 16 callersMethodverifying_key
(&self)
ml-dsa/src/signing.rs:164
↓ 15 callersMethodas_ref
(&self)
xmss/src/xmss.rs:61
↓ 15 callersMethodencode
Encode the signature in a fixed-size byte array. Algorithm 26 sigEncode
ml-dsa/src/lib.rs:106
↓ 15 callersMethodexpanded_key
(&self)
ml-dsa/src/signing.rs:122
↓ 15 callersMethodto_der
(&self)
ecdsa/src/lib.rs:265
↓ 13 callersMethodsigning_key
Returns a mutable reference to the signing key.
xmss/src/xmss.rs:648
↓ 12 callersFunctiondecode_hex_number
(txt: &str, precision: u32)
dsa/tests/deterministic.rs:21
↓ 12 callersMethodntt
Algorithm 41 NTT This implementation uses const-generic helper functions to ensure all loop bounds are compile-time constants, avoiding potential UDI
ml-dsa/src/ntt.rs:76
↓ 12 callersMethodsign
Signs a message. Returns the signature followed by the message and updates the internal state (one-time key index is advanced).
xmss/src/xmss.rs:166
↓ 12 callersMethodto_vec
(&self)
ecdsa/src/lib.rs:276
↓ 12 callersMethodverifying_key
DSA public key
dsa/src/signing_key.rs:86
↓ 11 callersMethodpublic
this implements algorithm 1 from <https://datatracker.ietf.org/doc/html/rfc8554#section-4.3>
lms/src/lms/private.rs:91
↓ 11 callersMethodsqueeze_new
(&mut self)
ml-dsa/src/crypto.rs:52
↓ 11 callersMethodto_bytes
Serialize this signature as bytes.
ecdsa/src/lib.rs:254
↓ 11 callersFunctiontruncate
Truncate to the right `size` most bytes
dsa/src/generate/secret_number.rs:48
↓ 10 callersMethodcomponents
DSA common components
dsa/src/verifying_key.rs:59
↓ 10 callersMethodntt_inverse
Algorithm 42 NTT^{−1} This implementation uses const-generic helper functions to ensure all loop bounds are compile-time constants, avoiding potentia
ml-dsa/src/ntt.rs:136
↓ 10 callersMethodrepeat
(&self)
ml-dsa/src/encode.rs:137
↓ 10 callersMethodsqueeze
(&mut self, output: &mut [u8])
ml-dsa/src/crypto.rs:36
↓ 10 callersFunctionull_to_bytes
Converts the value of `val` to `outlen` bytes in big-endian byte order.
xmss/src/utils.rs:2
↓ 10 callersMethodverifying_key
(&self)
xmss/src/xmss.rs:196
↓ 10 callersMethodverifying_key
(&self)
ecdsa/src/signing.rs:119
↓ 9 callersMethodas_mut
(&mut self)
ml-dsa/src/lib.rs:199
↓ 9 callersMethodtry_sign
(&self, msg: &[u8])
slh-dsa/src/signing_key.rs:245
↓ 8 callersMethodcompressed
False positive Returns the address as a compressed 22-byte array ADRSc = ADRS[3] ∥ ADRS[8 : 16] ∥ ADRS[19] ∥ ADRS[20 : 32]
slh-dsa/src/address.rs:33
↓ 8 callersMethodencoded_len
(&self)
ecdsa/src/der.rs:239
↓ 8 callersMethodfinish
(mut self)
ml-dsa/src/lib.rs:193
↓ 8 callersMethodq
(&self)
dsa/src/components.rs:126
↓ 7 callersMethodn_aligned
(self)
dsa/src/key_size.rs:42
↓ 7 callersMethodp
(&self)
dsa/src/components.rs:120
↓ 7 callersFunctionset_type
(addr: &mut [u32; 8], type_val: u32)
xmss/src/hash_address.rs:20
↓ 7 callersMethodsign_internal
This method reflects the ML-DSA.Sign_internal algorithm from FIPS 204. It does not include the domain separator that distinguishes between the normal
ml-dsa/src/signing.rs:308
↓ 7 callersMethodxmss_node
( &self, sk_seed: &SkSeed<Self::N>, node: u32, height: u32, adrs: &add
slh-dsa/src/xmss.rs:65
↓ 6 callersFunctionaddr_to_bytes
(bytes: &mut [u8], addr: &[u32; 8])
xmss/src/hash.rs:19
↓ 6 callersMethodcmp
(&self, other: &Self)
ecdsa/src/verifying.rs:418
↓ 6 callersFunctioncoefs
Returns an iterator over the w-bit Winternitz coefficients of the inout bytes Implements the Coef function from section 3.1.3 of RFC8554 https://datat
lms/src/ots/util.rs:6
↓ 6 callersMethodh
( &self, adrs: &impl Address, m1: &Array<u8, Self::N>, m2: &Array<u8, Self::N>
slh-dsa/src/hashes/sha2.rs:127
↓ 6 callersMethodl_aligned
(self)
dsa/src/key_size.rs:38
↓ 6 callersFunctionprf
Computes PRF(key, in), for a key of params.n bytes, and a 32-byte input.
xmss/src/hash.rs:65
↓ 6 callersMethodpublic
this implements algorithm 1 from <https://datatracker.ietf.org/doc/html/rfc8554#section-4.3>
lms/src/ots/private.rs:61
↓ 6 callersMethodr
(&self)
dsa/src/lib.rs:116
↓ 6 callersMethodraw_sign_mu
(&self, mu: &B64, rnd: &B32)
ml-dsa/src/signing.rs:316
↓ 6 callersMethods
(&self)
dsa/src/lib.rs:122
↓ 6 callersFunctionset_key_and_mask
(addr: &mut [u32; 8], key_and_mask: u32)
xmss/src/hash_address.rs:25
↓ 6 callersMethodto_bytes
Serialize the signing key to a new stack-allocated array This clones the underlying fields
slh-dsa/src/signing_key.rs:206
↓ 6 callersMethodverify
Verifies a given message signature pair. Returns the verified message on success.
xmss/src/xmss.rs:316
↓ 6 callersMethodx
(&self)
dsa/src/signing_key.rs:102
↓ 6 callersMethodxmss_pk_from_sig
( &self, idx: u32, sig: &XmssSig<Self>, m: &Array<u8, Self::N>, adrs:
slh-dsa/src/xmss.rs:111
↓ 5 callersFunctioncore_hash
(params: &XmssParams, out: &mut [u8], input: &[u8])
xmss/src/hash.rs:25
↓ 5 callersMethodfill_next_k
Generate a candidate `k` value. This may be called repeatedly in the event a particular `k` is unsuitable, e.g. the resulting `r` value is zero.
rfc6979/src/lib.rs:87
↓ 5 callersFunctionset_layer_addr
(addr: &mut [u32; 8], layer: u32)
xmss/src/hash_address.rs:6
↓ 5 callersFunctionset_tree_height
(addr: &mut [u32; 8], tree_height: u32)
xmss/src/hash_address.rs:58
↓ 5 callersMethodsign_prehashed
( &self, (k, inv_k): (BoxedUint, BoxedUint), hash: &[u8], )
dsa/src/signing_key.rs:131
↓ 5 callersMethodt
( &self, adrs: &impl Address, m: &Array<Array<u8, Self::N>, L>, )
slh-dsa/src/hashes/sha2.rs:116
↓ 5 callersFunctionthash_h
Tree hash function for internal nodes (two n-byte inputs).
xmss/src/hash.rs:135
↓ 5 callersMethodto_bytes
(&self)
ed25519/src/lib.rs:364
↓ 5 callersMethodto_bytes
(&self)
ed448/src/lib.rs:157
↓ 5 callersMethodtry_fill_bytes
(&mut self, dest: &mut [u8])
lms/src/ots/mod.rs:148
↓ 5 callersMethodverify_prehash
(&self, prehash: &[u8], signature: &Signature<C>)
ecdsa/src/verifying.rs:161
↓ 5 callersMethodxmss_sign
( &self, m: &Array<u8, Self::N>, sk_seed: &SkSeed<Self::N>, idx: u32,
slh-dsa/src/xmss.rs:88
↓ 4 callersMethodas_ref
(&self)
ecdsa/src/der.rs:173
↓ 4 callersMethodclone
(&self)
lms/src/lms/modes.rs:56
↓ 4 callersMethodct_eq
(&self, other: &Self)
ml-dsa/src/signing.rs:215
↓ 4 callersMethodfors_pk_from_sig
( &self, sig: &ForsSignature<Self>, md: &Array<u8, Self::MD>, adrs: &address::
slh-dsa/src/fors.rs:189
↓ 4 callersMethodfors_sign
( &self, md: &Array<u8, Self::MD>, sk_seed: &SkSeed<Self::N>, adrs: &address::
slh-dsa/src/fors.rs:166
↓ 4 callersMethodg
(&self)
dsa/src/components.rs:132
↓ 4 callersMethodht_sign
( &self, m: &Array<u8, Self::N>, sk_seed: &SkSeed<Self::N>, mut idx_tree: u64,
slh-dsa/src/hypertree.rs:64
↓ 4 callersMethodinfinity_norm
FIPS 204 defines the infinity norm differently for signed vs. unsigned integers: For w in Z, |w|_\infinity = |w|, the absolute value of w For w in Z_
ml-dsa/src/algebra.rs:147
↓ 4 callersMethodmatches
(self, l: u32, n: u32)
dsa/src/key_size.rs:46
↓ 4 callersMethodraw_oid
Returns the raw OID value as used in the wire format (key serialization).
xmss/src/params.rs:1021
↓ 4 callersFunctionset_chain_addr
(addr: &mut [u32; 8], chain: u32)
xmss/src/hash_address.rs:43
↓ 4 callersFunctionset_tree_addr
(addr: &mut [u32; 8], tree: u64)
xmss/src/hash_address.rs:11
↓ 4 callersFunctionset_tree_index
(addr: &mut [u32; 8], tree_index: u32)
xmss/src/hash_address.rs:63
↓ 4 callersMethodsign_deterministic
This method reflects the optional deterministic variant of the ML-DSA.Sign algorithm. # Errors This method will return an opaque error if the contex
ml-dsa/src/signing.rs:428
↓ 4 callersMethodsignature
Get the fixed-width ECDSA signature.
ecdsa/src/lib.rs:607
↓ 4 callersMethodto_bytes
Serialize the verifying key to a new stack-allocated array This clones the underlying fields
slh-dsa/src/verifying_key.rs:124
↓ 4 callersFunctiontwo
()
dsa/src/lib.rs:203
↓ 4 callersMethodverify
(&self, msg: &[u8], signature: &Signature)
dsa/src/verifying_key.rs:125
↓ 4 callersMethodwots_pk_gen
Algorithm 5
slh-dsa/src/wots.rs:83
↓ 4 callersMethodwots_sign
Algorithm 6
slh-dsa/src/wots.rs:103
↓ 4 callersFunctionxor_assign
(a: &mut [u8], b: &[u8])
bign-genk/src/lib.rs:224
↓ 4 callersMethodzeroize
(&mut self)
ed25519/src/lib.rs:451
↓ 3 callersMethodas_affine
Borrow the inner [`AffinePoint`] for this public key.
ecdsa/src/verifying.rs:132
↓ 3 callersMethodas_ref
(&self)
ed25519/src/pkcs8.rs:255
↓ 3 callersMethodas_ref
(&self)
ed448/src/pkcs8.rs:228
↓ 3 callersFunctioncopy_subtree_addr
(out: &mut [u32; 8], input: &[u32; 8])
xmss/src/hash_address.rs:31
next →1–100 of 881, ranked by callers