MCPcopy Create free account

hub / github.com/RustCrypto/signatures / functions

Functions881 in github.com/RustCrypto/signatures

Methodgenerate
Generates a random key pair for the parameter set `P`.
xmss/src/xmss.rs:591
Functiongenerate_1024_signature
Generate a signature using the 1024-bit DSA key
dsa/tests/deterministic.rs:118
Functiongenerate_2048_signature
Generate a signature using the 2048-bit DSA key
dsa/tests/deterministic.rs:126
Functiongenerate_signature
Generate a signature given the unhashed message and a private key
dsa/tests/deterministic.rs:110
Functionh
()
ml-dsa/src/crypto.rs:85
Methodh
( &self, adrs: &impl Address, m1: &Array<u8, Self::N>, m2: &Array<u8, Self::N>
slh-dsa/src/hashes/shake.rs:103
Methodh_msg
( rand: &Array<u8, Self::N>, pk_seed: &PkSeed<Self::N>, pk_root: &Array<u8, Self::N>,
slh-dsa/src/hashes/shake.rs:61
Methodh_msg
( rand: &Array<u8, Self::N>, pk_seed: &PkSeed<Self::N>, pk_root: &Array<u8, Self::N>,
slh-dsa/src/hashes/sha2.rs:87
Functionh_msg_sha2_128_f
()
slh-dsa/src/hashes.rs:102
Functionh_msg_sha2_256_f
()
slh-dsa/src/hashes.rs:110
Functionhamming_weight
(p: &Polynomial)
ml-dsa/src/sampling.rs:225
Methodhash
(&self, state: &mut H)
xmss/src/xmss.rs:129
Methodhash
(&self, state: &mut H)
ecdsa/src/lib.rs:368
Methodhash
(&self, state: &mut H)
ecdsa/src/der.rs:162
Methodhash
(&self, state: &mut H)
ml-dsa/src/verifying.rs:189
Methodhash
(&self, state: &mut H)
ml-dsa/src/lib.rs:157
Methodhash
(&self, state: &mut H)
slh-dsa/src/verifying_key.rs:140
Methodhash
(&self, state: &mut H)
slh-dsa/src/signature_encoding.rs:75
Methodhigh_bits
Algorithm 37 HighBits
ml-dsa/src/algebra.rs:170
Functionhigh_low_bits_consistency
()
ml-dsa/src/algebra.rs:343
Functionhint_round_trip
()
ml-dsa/src/hint.rs:317
Methodid
Returns the 16-byte identifier of the key pair
lms/src/lms/private.rs:96
Methodid
Returns the 16-byte identifier of the public key
lms/src/lms/public.rs:48
Functioninit_kgen
Initialize `KGenerator` from a `hash`, `q`, and the
dsa/src/generate/secret_number.rs:42
Functionint2octets_preserves_full_width_value
()
rfc6979/src/lib.rs:326
Methodinternal
(tr: &[u8], Mp: &[&[u8]])
ml-dsa/src/lib.rs:175
Methodis_valid
`true` if the private key can be used for signing operations `false` if it has already been used
lms/src/ots/private.rs:93
Functionis_x_reduced
()
ecdsa/src/recovery.rs:420
Functionis_y_odd
()
ecdsa/src/recovery.rs:428
Methodk
Returns the N-byte public key as a byte slice
lms/src/lms/public.rs:53
Functionk163_sha256
()
rfc6979/tests/rfc6979.rs:21
Functionkeeps_exact_qlen_bits
()
rfc6979/src/lib.rs:263
Functionleft_pads_to_qlen_octets
()
rfc6979/src/lib.rs:318
Functionleft_pads_when_blen_is_shorter_than_qlen
()
rfc6979/src/lib.rs:257
Methodlow_bits
Algorithm 38 LowBits
ml-dsa/src/algebra.rs:175
Functionlower_hex
()
ed25519/tests/hex.rs:26
Functionlower_hex
()
ed448/tests/hex.rs:30
Functionmain
()
dsa/examples/export.rs:11
Functionmain
()
dsa/examples/sign.rs:13
Functionmain
()
dsa/examples/generate.rs:8
Functionmake_hint
Algorithm 39 `MakeHint`: computes hint bit indicating whether adding `z` to `r` alters the high bits of `r`.
ml-dsa/src/hint.rs:14
Functionmake_hint_correctness
()
ml-dsa/src/hint.rs:298
Functionmax_abs_1
(p: &Polynomial)
ml-dsa/src/sampling.rs:220
Functionmgf1
Implementation of the MGF1 XOF
slh-dsa/src/hashes/sha2.rs:20
Functionmod_plus_minus
()
ml-dsa/src/algebra.rs:276
Methodmod_plus_minus
(&self)
ml-dsa/src/algebra.rs:129
Methodmultiply_ntt
Algorithm 45 MultiplyNTT
ml-dsa/src/ntt.rs:165
Functionneeds_reduction
()
rfc6979/src/lib.rs:349
Methodnew
(bytes: Array<u8, P::SkLen>, params: XmssParams)
xmss/src/xmss.rs:156
Methodnew
Create a new signature with an explicitly provided OID. OID must begin with `1.2.840.10045.4`, the [RFC5758] OID prefix for ECDSA variants. [RFC5758
ecdsa/src/lib.rs:528
Methodnew
(is_y_odd: bool, is_x_reduced: bool)
ecdsa/src/recovery.rs:53
Methodnew
(t1: &Vector<P::K>, enc: &EncodedVerifyingKey<P>, A_hat: NttMatrix<P::K, P::L>)
ml-dsa/src/verifying.rs:45
Methodnew
(tr: &[u8], ctx: &[u8])
ml-dsa/src/lib.rs:165
Methodnew
(z: &Vector<P::K>, r: &Vector<P::K>)
ml-dsa/src/hint.rs:64
Methodnew
(seed: &Seed)
ml-dsa/src/signing.rs:132
Methodnew
Initialize the `k` generator. Accepts the following parameters and inputs: - `x`: secret key - `h`: hash/digest of an input message: must be reduced
bign-genk/src/lib.rs:95
Methodnew
(rng: &mut R)
slh-dsa/src/verifying_key.rs:37
Methodnew
(tree_adrs_low: u64, key_pair_adrs: u32)
slh-dsa/src/address.rs:227
Methodnew
(rng: &mut R)
slh-dsa/src/signing_key.rs:42
Methodnew
(entropy: &[u8; 48])
slh-dsa/tests/known_answer_tests.rs:24
Methodnew
Initialize `k` generator. Accepts the following parameters and inputs: - `x`: secret key - `h`: raw hash/digest of input message - `data`: additiona
rfc6979/src/lib.rs:73
Methodnew
(entropy_input: &[u8], nonce: &[u8], personalization_string: &[u8])
rfc6979/src/hmac_drbg.rs:28
Methodnew
Generate a private key, expanded pseudorandomly from a seed generated by `rng`. Uses the algorithm from appendix A <https://datatracker.ietf.org/doc/h
lms/src/ots/private.rs:32
Methodnew
Creates a new private key with a random identifier using algorithm 5 from <https://datatracker.ietf.org/doc/html/rfc8554#section-5.2>
lms/src/lms/private.rs:34
Methodnew
(id: Identifier, k: Output<Mode::Hasher>)
lms/src/lms/public.rs:43
Methodnew_expand_a
(rho: B32, t1: Vector<P::K>, enc: Option<EncodedVerifyingKey<P>>)
ml-dsa/src/verifying.rs:75
Methodnew_expand_a
( rho: B32, K: B32, tr: B64, s1: Vector<P::L>, s2: Vector<P::K>,
ml-dsa/src/signing.rs:280
Methodnew_from_pk_seed
(pk_seed: &PkSeed<Self::N>)
slh-dsa/src/hashes/shake.rs:36
Methodnew_from_pk_seed
(pk_seed: &PkSeed<Self::N>)
slh-dsa/src/hashes/sha2.rs:62
Methodnew_from_seed
Returns a private key generated pseudorandomly from a seed according to Appendix A of <https://datatracker.ietf.org/doc/html/rfc8554#appendix-A>
lms/src/ots/private.rs:40
Methodnew_from_seed
Returns a new LMS private key generated pseudorandomly from an identifier and secret seed. The seed must be equal to the hash output length of the LMS
lms/src/lms/private.rs:46
Methodnew_with_digest
Create a new signature, determining the OID from the given digest. Supports SHA-2 family digests as enumerated in [RFC5758 § 3.2], i.e. SHA-224, SHA-
ecdsa/src/lib.rs:545
Functionnon_block_api
()
rfc6979/tests/rfc6979.rs:56
Functionntt
()
ml-dsa/src/ntt.rs:213
Functionntt_inverse_layer
( w: &mut [Elem; 256], m: &mut usize, )
ml-dsa/src/ntt.rs:113
Functionntt_layer
(w: &mut [Elem; 256], m: &mut usize)
ml-dsa/src/ntt.rs:56
Functionntt_matrix
()
ml-dsa/src/ntt.rs:251
Functionntt_vector
()
ml-dsa/src/ntt.rs:237
Methodother
(l: u32, n: u32)
dsa/src/key_size.rs:34
Functionoutput_sizes
()
ml-dsa/src/lib.rs:268
Functionp521_sha512
()
rfc6979/tests/rfc6979.rs:34
Methodpack
Algorithm 17 BitPack
ml-dsa/src/encode.rs:53
Methodpartial_cmp
(&self, other: &Self)
ecdsa/src/verifying.rs:407
Methodpartial_cmp
(&self, other: &Self)
dsa/src/lib.rs:174
Methodpartial_cmp
(&self, other: &Self)
dsa/src/key_size.rs:64
Functionpkcs8_output
()
slh-dsa/tests/pkcs8.rs:12
Functionprf_msg
()
slh-dsa/src/hashes/shake.rs:276
Methodprf_msg
( sk_prf: &SkPrf<Self::N>, opt_rand: &Array<u8, Self::N>, msg: &[&[impl AsRef<[u8]>]],
slh-dsa/src/hashes/shake.rs:44
Methodprf_msg
( sk_prf: &SkPrf<Self::N>, opt_rand: &Array<u8, Self::N>, msg: &[&[impl AsRef<[u8]>]],
slh-dsa/src/hashes/sha2.rs:72
Functionprf_msg_16_30
()
slh-dsa/src/hashes/shake.rs:289
Functionprf_msg_sha2_128_f
()
slh-dsa/src/hashes.rs:96
Functionprf_msg_shake128f
()
slh-dsa/src/hashes.rs:91
Methodprf_sk
(&self, sk_seed: &SkSeed<Self::N>, adrs: &impl Address)
slh-dsa/src/hashes/shake.rs:80
Functionprivate_key_serialization
()
ml-dsa/tests/pkcs8.rs:17
Functionpublic_from_private
()
ml-dsa/src/lib.rs:336
Functionpublic_from_private_test
()
ml-dsa/src/lib.rs:323
Methodq
Returns the current value of the signing index q
lms/src/lms/private.rs:101
Methodrandom
(rng: &mut R)
ecdsa/src/signing.rs:125
Methodrecover_from_digest
Recover a [`VerifyingKey`] from the given message [`Digest`], signature, and [`RecoveryId`]. # Errors Returns [`Error`] if the recovered elliptic cur
ecdsa/src/recovery.rs:335
Methodrecover_from_msg
Recover a [`VerifyingKey`] from the given message, signature, and [`RecoveryId`]. The message is first hashed using this curve's [`DigestAlgorithm`].
ecdsa/src/recovery.rs:320
← previousnext →501–600 of 881, ranked by callers