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
Method
eq
(&self, other: &Self)
lms/src/ots/signature.rs:35
Method
eq
(&self, other: &Self)
lms/src/ots/public.rs:38
Method
eq
(&self, other: &Self)
lms/src/lms/signature.rs:37
Method
eq
(&self, other: &Self)
lms/src/lms/public.rs:37
Method
expand
Expands a message into its Winternitz coefficients and checksum
lms/src/ots/modes.rs:35
Function
expand_mask
Algorithm 34 ExpandMask
ml-dsa/src/sampling.rs:197
Function
expand_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
Method
expecting
(&self, formatter: &mut fmt::Formatter<'_>)
ed25519/src/serde.rs:50
Method
expecting
(&self, formatter: &mut fmt::Formatter<'_>)
ed448/src/serde.rs:50
Method
f
(&self, adrs: &impl Address, m: &Array<u8, Self::N>)
slh-dsa/src/hashes/shake.rs:120
Method
fill_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
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
xmss/src/params.rs:1383
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
xmss/src/xmss.rs:40
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ed25519/src/lib.rs:435
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ed25519/src/pkcs8.rs:203
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ed25519/src/hex.rs:11
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ecdsa/src/lib.rs:344
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ecdsa/src/der.rs:199
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ecdsa/src/signing.rs:448
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ml-dsa/src/signing.rs:153
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
dsa/src/signing_key.rs:337
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bign-genk/src/lib.rs:202
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
slh-dsa/tests/known_answer_tests.rs:100
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ed448/src/lib.rs:216
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ed448/src/pkcs8.rs:190
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ed448/src/hex.rs:6
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
rfc6979/src/lib.rs:106
Method
fmt
(&self, f: &mut fmt::Formatter)
rfc6979/src/hmac_drbg.rs:86
Method
fmt
(&self, f: &mut Formatter<'_>)
lms/src/ots/error.rs:10
Method
fmt
(&self, f: &mut Formatter<'_>)
lms/src/lms/error.rs:10
Function
fors_sign_kat
KAT is long
slh-dsa/src/fors.rs:229
Method
from
(sk: &SigningKey<P>)
xmss/src/xmss.rs:344
Method
from
(err: pkcs8::Error)
xmss/src/error.rs:62
Method
from
(sig: Signature)
ed25519/src/lib.rs:403
Method
from
(verifying_key: VerifyingKey<C>)
ecdsa/src/verifying.rs:316
Method
from
(signature: Signature<C>)
ecdsa/src/lib.rs:317
Method
from
(id: RecoveryId)
ecdsa/src/recovery.rs:173
Method
from
(sig: crate::Signature<C>)
ecdsa/src/der.rs:263
Method
from
(secret_scalar: NonZeroScalar<C>)
ecdsa/src/signing.rs:483
Method
from
(sig: Signature)
dsa/src/lib.rs:162
Method
from
(slice: &[u8])
slh-dsa/src/verifying_key.rs:31
Method
from
(sig: &Signature<P>)
slh-dsa/src/signature_encoding.rs:106
Method
from
(slice: &[u8])
slh-dsa/src/signing_key.rs:36
Method
from
(sig: Signature)
ed448/src/lib.rs:184
Method
from
(sig: Signature<Mode>)
lms/src/ots/signature.rs:53
Method
from
(pk: VerifyingKey<Mode>)
lms/src/ots/public.rs:82
Method
from
(pk: SigningKey<Mode>)
lms/src/lms/private.rs:154
Method
from
(val: Signature<Mode>)
lms/src/lms/signature.rs:67
Method
from
(pk: VerifyingKey<Mode>)
lms/src/lms/public.rs:113
Method
from_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
Method
from_byte
(byte: u8)
ecdsa/src/recovery.rs:71
Method
from_bytes
(bytes: &SignatureBytes)
ed25519/src/lib.rs:323
Method
from_bytes
(bytes: &[u8; Self::BYTE_SIZE])
ed25519/src/pkcs8.rs:91
Method
from_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
Method
from_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
Method
from_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
Method
from_bytes
(bytes: &SignatureBytes)
ed448/src/lib.rs:122
Method
from_bytes
(bytes: &[u8; Self::BYTE_SIZE])
ed448/src/pkcs8.rs:87
Method
from_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
Method
from_components
(R: ComponentBytes, s: ComponentBytes)
ed25519/src/lib.rs:336
Method
from_components
Create an ASN.1 DER encoded signature from big endian `r` and `s` scalar components.
ecdsa/src/der.rs:117
Method
from_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
Method
from_components
(r: BoxedUint, s: BoxedUint)
dsa/src/lib.rs:108
Method
from_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
Method
from_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
Method
from_components
Create a [`Signature`] from the serialized `r` and `s` component values which comprise the signature.
ed448/src/lib.rs:167
Method
from_components_unchecked
( p: BoxedUint, q: BoxedUint, g: BoxedUint, )
dsa/src/components.rs:71
Method
from_der
(bytes: &[u8])
ecdsa/src/lib.rs:223
Method
from_der_with_digest
(der_bytes: &[u8])
ecdsa/src/lib.rs:583
Method
from_der_with_oid
(der_bytes: &[u8], oid: ObjectIdentifier)
ecdsa/src/lib.rs:598
Method
from_expanded
(enc: &ExpandedSigningKeyBytes<P>)
ml-dsa/src/signing.rs:479
Method
from_pkcs8_der
Decodes a key pair from PKCS#8 DER bytes.
xmss/src/pkcs8.rs:83
Method
from_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
Method
from_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
Method
from_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
Method
from_seed
Generates a key pair from a deterministic seed. Seed must be `P::SEED_LEN` bytes (3*n).
xmss/src/xmss.rs:620
Method
from_seed
(xi: &Seed)
ml-dsa/src/signing.rs:55
Method
from_seed
(sk_seed: SkSeed<P::N>, sk_prf: SkPrf<P::N>, pk_seed: PkSeed<P::N>)
slh-dsa/src/signing_key.rs:115
Function
from_seed_implementations_match
()
ml-dsa/src/lib.rs:431
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_str
(s: &str)
xmss/src/params.rs:1296
Method
from_str
(pem: &str)
ed25519/src/pkcs8.rs:214
Method
from_str
(hex: &str)
ed25519/src/hex.rs:52
Method
from_str
(s: &str)
ecdsa/src/verifying.rs:498
Method
from_str
(hex: &str)
ecdsa/src/lib.rs:404
Method
from_str
(s: &str)
ecdsa/src/signing.rs:639
Method
from_str
(hex: &str)
ed448/src/hex.rs:34
Function
from_str_lower
()
ed25519/tests/hex.rs:44
Function
from_str_lower
()
ed448/tests/hex.rs:48
Function
from_str_rejects_mixed_case
()
ed25519/tests/hex.rs:56
Function
from_str_rejects_mixed_case
()
ed448/tests/hex.rs:60
Function
from_str_signature
Create a signature container from the two components in their textual hexadecimal form
dsa/tests/deterministic.rs:134
Function
from_str_upper
()
ed25519/tests/hex.rs:50
Function
from_str_upper
()
ed448/tests/hex.rs:54
Method
from_xmssmt_raw_oid
Constructs an `XmssOid` from a raw XMSSMT OID value (as stored in keys).
xmss/src/params.rs:1031
Function
g
()
ml-dsa/src/crypto.rs:69
← previous
next →
401–500 of 881, ranked by callers