MCPcopy Create free account

hub / github.com/RustCrypto/signatures / functions

Functions881 in github.com/RustCrypto/signatures

Methodeq
(&self, other: &Self)
lms/src/ots/signature.rs:35
Methodeq
(&self, other: &Self)
lms/src/ots/public.rs:38
Methodeq
(&self, other: &Self)
lms/src/lms/signature.rs:37
Methodeq
(&self, other: &Self)
lms/src/lms/public.rs:37
Methodexpand
Expands a message into its Winternitz coefficients and checksum
lms/src/ots/modes.rs:35
Functionexpand_mask
Algorithm 34 ExpandMask
ml-dsa/src/sampling.rs:197
Functionexpand_s
Algorithm 33 ExpandS We only do half of the algorithm here, because it's inconvenient to return two vectors of different sizes. So the caller has to
ml-dsa/src/sampling.rs:189
Methodexpecting
(&self, formatter: &mut fmt::Formatter<'_>)
ed25519/src/serde.rs:50
Methodexpecting
(&self, formatter: &mut fmt::Formatter<'_>)
ed448/src/serde.rs:50
Methodf
(&self, adrs: &impl Address, m: &Array<u8, Self::N>)
slh-dsa/src/hashes/shake.rs:120
Methodfill_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.
bign-genk/src/lib.rs:128
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
xmss/src/params.rs:1383
Methodfmt
(&self, f: &mut core::fmt::Formatter<'_>)
xmss/src/xmss.rs:40
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ed25519/src/lib.rs:435
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ed25519/src/pkcs8.rs:203
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ed25519/src/hex.rs:11
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ecdsa/src/lib.rs:344
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ecdsa/src/der.rs:199
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ecdsa/src/signing.rs:448
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ml-dsa/src/signing.rs:153
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
dsa/src/signing_key.rs:337
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bign-genk/src/lib.rs:202
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
slh-dsa/tests/known_answer_tests.rs:100
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ed448/src/lib.rs:216
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ed448/src/pkcs8.rs:190
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
ed448/src/hex.rs:6
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
rfc6979/src/lib.rs:106
Methodfmt
(&self, f: &mut fmt::Formatter)
rfc6979/src/hmac_drbg.rs:86
Methodfmt
(&self, f: &mut Formatter<'_>)
lms/src/ots/error.rs:10
Methodfmt
(&self, f: &mut Formatter<'_>)
lms/src/lms/error.rs:10
Functionfors_sign_kat
KAT is long
slh-dsa/src/fors.rs:229
Methodfrom
(sk: &SigningKey<P>)
xmss/src/xmss.rs:344
Methodfrom
(err: pkcs8::Error)
xmss/src/error.rs:62
Methodfrom
(sig: Signature)
ed25519/src/lib.rs:403
Methodfrom
(verifying_key: VerifyingKey<C>)
ecdsa/src/verifying.rs:316
Methodfrom
(signature: Signature<C>)
ecdsa/src/lib.rs:317
Methodfrom
(id: RecoveryId)
ecdsa/src/recovery.rs:173
Methodfrom
(sig: crate::Signature<C>)
ecdsa/src/der.rs:263
Methodfrom
(secret_scalar: NonZeroScalar<C>)
ecdsa/src/signing.rs:483
Methodfrom
(sig: Signature)
dsa/src/lib.rs:162
Methodfrom
(slice: &[u8])
slh-dsa/src/verifying_key.rs:31
Methodfrom
(sig: &Signature<P>)
slh-dsa/src/signature_encoding.rs:106
Methodfrom
(slice: &[u8])
slh-dsa/src/signing_key.rs:36
Methodfrom
(sig: Signature)
ed448/src/lib.rs:184
Methodfrom
(sig: Signature<Mode>)
lms/src/ots/signature.rs:53
Methodfrom
(pk: VerifyingKey<Mode>)
lms/src/ots/public.rs:82
Methodfrom
(pk: SigningKey<Mode>)
lms/src/lms/private.rs:154
Methodfrom
(val: Signature<Mode>)
lms/src/lms/signature.rs:67
Methodfrom
(pk: VerifyingKey<Mode>)
lms/src/lms/public.rs:113
Methodfrom_affine
Initialize [`VerifyingKey`] from an affine point. # Errors Returns [`Error`] if the `affine` point is the additive identity (a.k.a. point at infinity
ecdsa/src/verifying.rs:94
Methodfrom_byte
(byte: u8)
ecdsa/src/recovery.rs:71
Methodfrom_bytes
(bytes: &SignatureBytes)
ed25519/src/lib.rs:323
Methodfrom_bytes
(bytes: &[u8; Self::BYTE_SIZE])
ed25519/src/pkcs8.rs:91
Methodfrom_bytes
Parse a signature from fixed-width bytes, i.e. 2 * the size of [`FieldBytes`] for a particular curve. # Errors If the `r` and/or `s` component of the
ecdsa/src/lib.rs:200
Methodfrom_bytes
Parse signature from DER-encoded bytes. # Errors Returns [`Error`] if `input` failed to parse as an ASN.1 DER-encoded ECDSA signature.
ecdsa/src/der.rs:90
Methodfrom_bytes
Initialize signing key from a raw scalar serialized as a byte array. # Errors Returns an error if `bytes` is not a valid element of the scalar field
ecdsa/src/signing.rs:84
Methodfrom_bytes
(bytes: &SignatureBytes)
ed448/src/lib.rs:122
Methodfrom_bytes
(bytes: &[u8; Self::BYTE_SIZE])
ed448/src/pkcs8.rs:87
Methodfrom_bytes_with_digest
Parse a signature from fixed-with bytes. # Errors Returns [`Error`] if [`Signature`] fails to parse, or if `D` is not a valid digest. See [`Signature
ecdsa/src/lib.rs:558
Methodfrom_components
(R: ComponentBytes, s: ComponentBytes)
ed25519/src/lib.rs:336
Methodfrom_components
Create an ASN.1 DER encoded signature from big endian `r` and `s` scalar components.
ecdsa/src/der.rs:117
Methodfrom_components
Construct a new public key from the common components and the public component. # Errors Returns an error if `y < 2`.
dsa/src/verifying_key.rs:43
Methodfrom_components
(r: BoxedUint, s: BoxedUint)
dsa/src/lib.rs:108
Methodfrom_components
Construct the common components container from its inner values (`p`, `q`, and `g`). - `p` must be odd - `g` must less than `p` # Errors Returns [`s
dsa/src/components.rs:44
Methodfrom_components
Construct a new private key from the public key and private component. # Errors Returns an error in the event `x` is zero or equal to or larger than
dsa/src/signing_key.rs:57
Methodfrom_components
Create a [`Signature`] from the serialized `r` and `s` component values which comprise the signature.
ed448/src/lib.rs:167
Methodfrom_components_unchecked
( p: BoxedUint, q: BoxedUint, g: BoxedUint, )
dsa/src/components.rs:71
Methodfrom_der
(bytes: &[u8])
ecdsa/src/lib.rs:223
Methodfrom_der_with_digest
(der_bytes: &[u8])
ecdsa/src/lib.rs:583
Methodfrom_der_with_oid
(der_bytes: &[u8], oid: ObjectIdentifier)
ecdsa/src/lib.rs:598
Methodfrom_expanded
(enc: &ExpandedSigningKeyBytes<P>)
ml-dsa/src/signing.rs:479
Methodfrom_pkcs8_der
Decodes a key pair from PKCS#8 DER bytes.
xmss/src/pkcs8.rs:83
Methodfrom_scalars
Create a [`Signature`] from the serialized `r` and `s` scalar values which comprise the signature. # Errors If the `r` and/or `s` component of the si
ecdsa/src/lib.rs:237
Methodfrom_sec1_bytes
Initialize [`VerifyingKey`] from a SEC1-encoded public key. # Errors Returns [`Error`] if `bytes` is not a valid SEC1 encoding of a compressed or unc
ecdsa/src/verifying.rs:84
Methodfrom_sec1_point
Initialize [`VerifyingKey`] from an [`Sec1Point`]. # Errors Returns [`Error`] if `public_key` does not represent a valid elliptic curve point for `C`
ecdsa/src/verifying.rs:104
Methodfrom_seed
Generates a key pair from a deterministic seed. Seed must be `P::SEED_LEN` bytes (3*n).
xmss/src/xmss.rs:620
Methodfrom_seed
(xi: &Seed)
ml-dsa/src/signing.rs:55
Methodfrom_seed
(sk_seed: SkSeed<P::N>, sk_prf: SkPrf<P::N>, pk_seed: PkSeed<P::N>)
slh-dsa/src/signing_key.rs:115
Functionfrom_seed_implementations_match
()
ml-dsa/src/lib.rs:431
Methodfrom_slice
Parse an Ed25519 signature from a byte slice. # Errors - Returns [`Error`] if the input byte slice is not 64-bytes.
ed25519/src/lib.rs:344
Methodfrom_slice
Parse a signature from a byte slice. # Errors Returns [`Error`] in the event the signature is not the expected size, i.e. 2 * the size of [`FieldByte
ecdsa/src/lib.rs:212
Methodfrom_slice
Initialize signing key from a raw scalar serialized as a byte slice. # Errors Returns an error if `bytes` is not the length of [`FieldBytes`] for `C`
ecdsa/src/signing.rs:95
Methodfrom_slice
Parse an Ed448 signature from a byte slice. # Errors - Returns [`Error`] if the input byte slice is not 114-bytes.
ed448/src/lib.rs:137
Methodfrom_slice_with_digest
Parse a signature from a byte slice. # Errors Returns [`Error`] if [`Signature`] fails to parse, or if `D` is not a valid digest. See [`SignatureWith
ecdsa/src/lib.rs:570
Methodfrom_str
(s: &str)
xmss/src/params.rs:1296
Methodfrom_str
(pem: &str)
ed25519/src/pkcs8.rs:214
Methodfrom_str
(hex: &str)
ed25519/src/hex.rs:52
Methodfrom_str
(s: &str)
ecdsa/src/verifying.rs:498
Methodfrom_str
(hex: &str)
ecdsa/src/lib.rs:404
Methodfrom_str
(s: &str)
ecdsa/src/signing.rs:639
Methodfrom_str
(hex: &str)
ed448/src/hex.rs:34
Functionfrom_str_lower
()
ed25519/tests/hex.rs:44
Functionfrom_str_lower
()
ed448/tests/hex.rs:48
Functionfrom_str_rejects_mixed_case
()
ed25519/tests/hex.rs:56
Functionfrom_str_rejects_mixed_case
()
ed448/tests/hex.rs:60
Functionfrom_str_signature
Create a signature container from the two components in their textual hexadecimal form
dsa/tests/deterministic.rs:134
Functionfrom_str_upper
()
ed25519/tests/hex.rs:50
Functionfrom_str_upper
()
ed448/tests/hex.rs:54
Methodfrom_xmssmt_raw_oid
Constructs an `XmssOid` from a raw XMSSMT OID value (as stored in keys).
xmss/src/params.rs:1031
Functiong
()
ml-dsa/src/crypto.rs:69
← previousnext →401–500 of 881, ranked by callers