Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/signatures
/ functions
Functions
881 in github.com/RustCrypto/signatures
⨍
Functions
881
◇
Types & classes
142
↓ 2 callers
Function
xmssmt_core_sign
Signs a message. Returns the signature followed by the message and an updated secret key.
xmss/src/xmss_core.rs:152
↓ 2 callers
Function
xmssmt_core_sign_open
Verifies a given message signature pair under a given public key. Note that this assumes a pk without an OID, i.e. [root || PUB_SEED].
xmss/src/xmss_commons.rs:121
↓ 2 callers
Method
y
(&self)
dsa/src/verifying_key.rs:65
↓ 1 callers
Method
as_seed
(&self)
ml-dsa/src/signing.rs:102
↓ 1 callers
Function
bit_set
Algorithm 13 BytesToBits
ml-dsa/src/sampling.rs:13
↓ 1 callers
Function
bitrev8
(x: usize)
ml-dsa/src/ntt.rs:19
↓ 1 callers
Function
cases
Return the RFC 6979 test cases # Returns Vector of tuples. First element is the message appended to the panic upon signature mismatch, the second on
dsa/tests/deterministic.rs:153
↓ 1 callers
Method
clone
(&self)
lms/src/lms/signature.rs:26
↓ 1 callers
Function
compute_root
Computes a root node given a leaf and an auth path.
xmss/src/xmss_commons.rs:58
↓ 1 callers
Function
dsa_1024_signing_key
()
dsa/tests/deterministic.rs:26
↓ 1 callers
Function
dsa_2048_signing_key
()
dsa/tests/deterministic.rs:58
↓ 1 callers
Function
find_components
( rng: &mut R, components: &Components, )
dsa/src/generate/keypair.rs:30
↓ 1 callers
Function
find_non_zero_x
( rng: &mut R, components: &Components, )
dsa/src/generate/keypair.rs:17
↓ 1 callers
Function
gen_leaf_wots
Computes the leaf at a given address. First generates the WOTS key pair, then computes leaf using l_tree.
xmss/src/xmss_commons.rs:105
↓ 1 callers
Function
generate_prime
(bit_length: u32, rng: &mut R)
dsa/src/generate.rs:36
↓ 1 callers
Method
get_seed_length
Returns the length of the seed required for key generation.
xmss/src/params.rs:921
↓ 1 callers
Method
hamming_weight
(&self)
ml-dsa/src/hint.rs:82
↓ 1 callers
Method
ht_verify
( &self, m: &Array<u8, Self::N>, sig: &HypertreeSig<Self>, mut idx_tree: u64,
slh-dsa/src/hypertree.rs:106
↓ 1 callers
Method
is_x_reduced
(self)
ecdsa/src/recovery.rs:59
↓ 1 callers
Method
is_y_odd
(self)
ecdsa/src/recovery.rs:65
↓ 1 callers
Method
multipart_verify
(&self, msg: &[&[u8]], signature: &Signature<P>)
ml-dsa/src/verifying.rs:201
↓ 1 callers
Method
multipart_verify
( &self, msg: &[&[u8]], signature: &Signature, )
dsa/src/verifying_key.rs:131
↓ 1 callers
Method
multipart_verify
(&self, msg: &[&[u8]], signature: &Signature<P>)
slh-dsa/src/verifying_key.rs:191
↓ 1 callers
Method
multipart_verify
this implements algorithm 4a of https://datatracker.ietf.org/doc/html/rfc8554#section-4.6
lms/src/ots/public.rs:62
↓ 1 callers
Method
multipart_verify
(&self, msg: &[&[u8]], signature: &Signature<Mode>)
lms/src/lms/public.rs:65
↓ 1 callers
Method
normalize_s
(&self)
ecdsa/src/lib.rs:305
↓ 1 callers
Method
oid
Get the ECDSA OID for this signature.
ecdsa/src/lib.rs:612
↓ 1 callers
Function
poly_mul
Multiplication in R_q, modulo X^256 + 1
ml-dsa/src/ntt.rs:189
↓ 1 callers
Function
prf_keygen
Computes PRF_keygen(key, in), for a key of params.n bytes, and an input of 32 + params.n bytes.
xmss/src/hash.rs:87
↓ 1 callers
Function
prf_msg
(expected: &[u8])
slh-dsa/src/hashes.rs:69
↓ 1 callers
Function
public
( components: &Components, x: &NonZero<BoxedUint>, )
dsa/src/generate/components.rs:96
↓ 1 callers
Function
qlen
(q: &NonZeroBoxedUint)
dsa/src/generate/secret_number.rs:69
↓ 1 callers
Method
r
Get the `r` component of this signature
ecdsa/src/lib.rs:287
↓ 1 callers
Method
r_bytes
(&self)
ed25519/src/lib.rs:352
↓ 1 callers
Method
r_bytes
(&self)
ed448/src/lib.rs:145
↓ 1 callers
Method
s_bytes
(&self)
ed25519/src/lib.rs:358
↓ 1 callers
Method
s_bytes
(&self)
ed448/src/lib.rs:151
↓ 1 callers
Method
sign_mu_randomized
( &self, mu: &B64, rng: &mut R, )
ml-dsa/src/signing.rs:411
↓ 1 callers
Method
sign_prehash
(&self, prehash: &[u8])
ecdsa/src/signing.rs:171
↓ 1 callers
Method
sign_prehash
Warning: This uses `sha2::Sha256` as the hash function for the digest. If you need to use a different one, use [`SigningKey::sign_prehashed_rfc6979`].
dsa/src/signing_key.rs:206
↓ 1 callers
Method
sign_prehash_recoverable_with_rng
Sign the given message prehash, using the given rng for the RFC6979 Section 3.6 "additional data", returning a signature and recovery ID. # Errors
ecdsa/src/recovery.rs:189
↓ 1 callers
Method
sign_prehash_with_rng
( &self, rng: &mut R, prehash: &[u8], )
ecdsa/src/recovery.rs:243
↓ 1 callers
Method
sign_prehash_with_rng
( &self, rng: &mut R, prehash: &[u8], )
ecdsa/src/signing.rs:225
↓ 1 callers
Function
sign_prehashed
( d: &NonZeroScalar<C>, k: &NonZeroScalar<C>, z: &[u8], )
ecdsa/src/hazmat.rs:52
↓ 1 callers
Function
signing_keypair
( rng: &mut R, components: Components, )
dsa/src/generate/keypair.rs:12
↓ 1 callers
Method
slh_sign_internal
Sign a message with a pre-chosen randomizer. Implements [slh_sign_internal] as defined in FIPS-205. Published for KAT validation purposes but not inte
slh-dsa/src/signing_key.rs:146
↓ 1 callers
Method
split_bytes
Split the signature into its `r` and `s` components, represented as bytes.
ecdsa/src/lib.rs:249
↓ 1 callers
Function
thash_f
Tree hash function for WOTS chains (single n-byte input).
xmss/src/hash.rs:176
↓ 1 callers
Method
to_pkcs8_der
(&self)
xmss/src/pkcs8.rs:65
↓ 1 callers
Method
to_pkcs8_der
(&self)
ed448/src/pkcs8.rs:127
↓ 1 callers
Method
to_public_key_der
(&self)
ed25519/src/pkcs8.rs:262
↓ 1 callers
Method
to_public_key_der
(&self)
ed448/src/pkcs8.rs:235
↓ 1 callers
Method
to_seed
(&self)
ml-dsa/src/signing.rs:115
↓ 1 callers
Method
to_vec
(&self)
ed25519/src/lib.rs:375
↓ 1 callers
Method
to_vec
(&self)
slh-dsa/src/hypertree.rs:38
↓ 1 callers
Method
to_vec
(&self)
slh-dsa/src/signing_key.rs:216
↓ 1 callers
Method
try_multipart_sign
(&self, msg: &[&[u8]])
ecdsa/src/recovery.rs:299
↓ 1 callers
Method
try_multipart_sign
(&self, msg: &[&[u8]])
dsa/src/signing_key.rs:196
↓ 1 callers
Method
try_multipart_sign
(&self, msg: &[&[u8]])
slh-dsa/src/signing_key.rs:251
↓ 1 callers
Method
try_multipart_sign_with_rng
( &self, rng: &mut R, msg: &[&[u8]], )
ecdsa/src/signing.rs:257
↓ 1 callers
Method
try_multipart_sign_with_rng
( &self, rng: &mut R, msg: &[&[u8]], )
ml-dsa/src/signing.rs:590
↓ 1 callers
Method
try_multipart_sign_with_rng
( &self, rng: &mut R, msg: &[&[u8]], )
slh-dsa/src/signing_key.rs:267
↓ 1 callers
Method
try_multipart_sign_with_rng
( &mut self, rng: &mut R, msg: &[&[u8]], )
lms/src/ots/private.rs:109
↓ 1 callers
Method
try_multipart_sign_with_rng
( &mut self, rng: &mut R, msg: &[&[u8]], )
lms/src/lms/private.rs:119
↓ 1 callers
Method
try_sign_digest
( &self, f: F, )
dsa/src/signing_key.rs:232
↓ 1 callers
Method
try_sign_digest_with_rng
( &self, rng: &mut R, f: F, )
ecdsa/src/signing.rs:209
↓ 1 callers
Method
try_verify_with_context
Implements [slh-verify] as defined in FIPS-205, using a context string. Context strings must be 255 bytes or less. # Errors Returns an error if the co
slh-dsa/src/verifying_key.rs:99
↓ 1 callers
Method
updatable
(&mut self)
ml-dsa/src/crypto.rs:20
↓ 1 callers
Method
use_hint
(&self, r: &Vector<P::K>)
ml-dsa/src/hint.rs:89
↓ 1 callers
Function
verify
(tc: &acvp::TestCase)
ml-dsa/tests/key-gen.rs:32
↓ 1 callers
Method
verify_digest
( &self, f: F, signature: &Signature<C>, )
ecdsa/src/verifying.rs:146
↓ 1 callers
Method
verify_internal
Implementation of Algorithm 8: `ML-DSA.Verify_internal` algorithm from FIPS 204. It does not include the domain separator that distinguishes between
ml-dsa/src/verifying.rs:98
↓ 1 callers
Method
verify_mu
Implementation of Algorithm 3: `ML-DSA.Verify` from FIPS 204 with a pre-computed μ.
ml-dsa/src/verifying.rs:136
↓ 1 callers
Function
wots_checksum
Computes the WOTS+ checksum over a message (in base_w).
xmss/src/wots.rs:84
↓ 1 callers
Function
wots_pk_from_sig
Takes a WOTS signature and an n-byte message, computes a WOTS public key.
xmss/src/wots.rs:173
↓ 1 callers
Function
wots_pkgen
WOTS key generation. Takes a 32 byte seed for the private key, expands it to a full WOTS private key and computes the corresponding public key.
xmss/src/wots.rs:108
↓ 1 callers
Function
wots_sign
Takes a n-byte message and the 32-byte seed for the private key to compute a signature that is placed at 'sig'.
xmss/src/wots.rs:139
↓ 1 callers
Method
write_to
(&self, slice: &mut [u8])
slh-dsa/src/fors.rs:23
↓ 1 callers
Method
write_to
(&self, buf: &mut [u8])
slh-dsa/src/xmss.rs:23
↓ 1 callers
Method
write_to
(&self, buf: &mut [u8])
slh-dsa/src/hypertree.rs:24
↓ 1 callers
Function
xmss_xmssmt_core_sk_bytes
Given a set of parameters, this function returns the size of the secret key.
xmss/src/xmss_core.rs:86
↓ 1 callers
Function
xmssmt_core_keypair
Generates a XMSSMT key pair for a given parameter set. Format sk: [(ceil(h/8) bit) index || SK_SEED || SK_PRF || root || PUB_SEED] Format pk: [root ||
xmss/src/xmss_core.rs:135
↓ 1 callers
Method
zeroize
(&mut self)
ecdsa/src/lib.rs:484
Function
acvp_key_gen
()
ml-dsa/tests/key-gen.rs:11
Function
acvp_sig_gen
()
ml-dsa/tests/sig-gen.rs:9
Function
acvp_sig_ver
()
ml-dsa/tests/sig-ver.rs:9
Method
adapt_components
Helper method to build [`Components`].
dsa/src/components.rs:82
Method
algorithm_identifier
(&self)
ecdsa/src/lib.rs:740
Function
algorithm_oid
Returns the appropriate ASN.1 OID for the given parameter set.
xmss/src/pkcs8.rs:21
Function
already_reduced
()
rfc6979/src/lib.rs:342
Method
as_ref
(&self)
ecdsa/src/verifying.rs:303
Method
as_ref
(&self)
ecdsa/src/signing.rs:429
Method
as_ref
(&self)
ml-dsa/src/signing.rs:171
Method
as_ref
(&self)
slh-dsa/src/verifying_key.rs:26
Method
as_ref
(&self)
slh-dsa/src/signing_key.rs:30
Function
assert_from_seed_equality
()
ml-dsa/src/lib.rs:432
Function
barrett_reduce_boundary
()
ml-dsa/src/algebra.rs:315
Function
base_2b
Algorithm 3
slh-dsa/src/util.rs:5
Function
bit_pack
()
ml-dsa/src/encode.rs:242
Function
bit_pack_test
(decoded: &Polynomial, encoded: &RangeEncodedPolynomial<A, B>)
ml-dsa/src/encode.rs:209
← previous
next →
201–300 of 881, ranked by callers