MCPcopy Create free account

hub / github.com/RustCrypto/RSA / functions

Functions529 in github.com/RustCrypto/RSA

Functionimplicit_rejection_preserves_public_errors
()
src/pkcs1v15.rs:625
Functionimplicit_rejection_preserves_rng_errors
()
src/pkcs1v15.rs:677
Functioninvalid_coeff_private_key_regression
()
src/private_key.rs:1194
Functioninvalid_factors_before_exponent_derivation
()
src/private_key.rs:888
Functioninvalid_inputs
()
tests/private_key.rs:183
Functionkey_generation_rejects_repeated_factors
()
src/private_key.rs:919
Functionlast_admissible_length
()
src/algorithms/pkcs1v15/selection.rs:77
Functionlength_mask_boundary
()
src/algorithms/pkcs1v15/implicit_rejection.rs:97
Functionmain
()
marvin-toolkit/src/main.rs:70
Functionminimum_modulus_length
()
src/algorithms/pkcs1v15/selection.rs:126
Functionmodulus_blinding_arithmetic
()
src/algorithms/blinding.rs:167
Functionmodulus_blinding_reduces_to_original_prime
()
src/algorithms/blinding.rs:191
Methodn
(&self)
checkct/driver/src/raw_rsa.rs:54
Methodn_bytes
Returns the big endian serialization of the modulus of the key
src/traits/keys.rs:39
Methodn_params
(&self)
src/private_key.rs:138
Methodn_params
(&self)
checkct/driver/src/raw_rsa.rs:62
Methodnew
(n: BoxedUint, e: BoxedUint)
src/public_key.rs:89
Methodnew
()
src/pkcs1v15.rs:271
Methodnew
Generate a new RSA key pair with a modulus of the given bit size using the passed in `rng`. # Errors - If `bit_size` is lower than the minimum 1024-b
src/private_key.rs:158
Methodnew
()
src/oaep.rs:161
Methodnew
()
src/pss.rs:186
Methodnew
(key: PublicKey)
src/pss/verifying_key.rs:41
Methodnew
(key: PrivateKey)
src/pss/signing_key.rs:58
Methodnew
(key: PublicKey)
src/pkcs1v15/verifying_key.rs:42
Methodnew
(key: PrivateKey)
src/pkcs1v15/decrypting_key.rs:34
Methodnew
(key: PublicKey)
src/pkcs1v15/encrypting_key.rs:20
Methodnew
(key: PrivateKey)
src/pkcs1v15/signing_key.rs:52
Methodnew
(key: PrivateKey)
src/oaep/decrypting_key.rs:43
Methodnew
(key: PublicKey)
src/oaep/encrypting_key.rs:33
Methodnew
()
tests/wycheproof.rs:90
Methodnew_blinded
()
src/pss.rs:203
Methodnew_blinded_with_salt
(len: usize)
src/pss.rs:210
Methodnew_unchecked
(n: BoxedUint, e: BoxedUint)
src/public_key.rs:143
Methodnew_unchecked
(rng: &mut R, bit_size: usize)
src/private_key.rs:171
Methodnew_unprefixed
()
src/pkcs1v15.rs:285
Methodnew_unprefixed
(key: PublicKey)
src/pkcs1v15/verifying_key.rs:61
Methodnew_unprefixed
(key: PrivateKey)
src/pkcs1v15/signing_key.rs:81
Methodnew_with_auto_salt_len
(key: PublicKey)
src/pss/verifying_key.rs:58
Methodnew_with_exp
( rng: &mut R, bit_size: usize, exp: BoxedUint, )
src/private_key.rs:180
Methodnew_with_exp_unchecked
( rng: &mut R, bit_size: usize, exp: BoxedUint, )
src/private_key.rs:210
Methodnew_with_label
Create a new OAEP `PaddingScheme` with an associated `label`, using `T` as the hash function for both the label and for MGF1.
src/oaep.rs:170
Methodnew_with_label
Create a new verifying key from an RSA public key using provided label
src/oaep/decrypting_key.rs:53
Methodnew_with_label
Create a new verifying key from an RSA public key using provided label
src/oaep/encrypting_key.rs:43
Methodnew_with_max_size
(n: BoxedUint, e: BoxedUint, max_size: usize)
src/public_key.rs:132
Methodnew_with_mgf_hash
()
src/oaep.rs:206
Methodnew_with_mgf_hash_and_label
Create a new OAEP `PaddingScheme` with an associated `label`, using `T` as the hash function for the label, and `U` as the hash function for MGF1.
src/oaep.rs:215
Methodnew_with_salt
(len: usize)
src/pss.rs:192
Methodnew_with_salt_len
(key: PublicKey, salt_len: usize)
src/pss/verifying_key.rs:47
Methodnew_with_salt_len
(key: PrivateKey, salt_len: usize)
src/pss/signing_key.rs:64
Methodnew_with_size_limits
Create a new public key with explicit, inclusive modulus size limits in bits. All other public-key checks still apply. Allowing a smaller minimum can
src/public_key.rs:105
Functionnon_coprime_factors_precompute_error
()
src/private_key.rs:783
Functionoaep_decrypt
(key: &PrivateKey, label: &[u8], ct: &[u8])
tests/wycheproof.rs:285
Methodoaep_decrypt
Decrypt `ciphertext` using OAEP. Uses `D` for both OAEP and MGF1, with an empty label. For a different MGF1 digest or a nonempty label, use [`Decrypt
src/oaep.rs:74
Functionoaep_decrypt_digest
( em: &mut [u8], label: Option<Box<[u8]>>, k: usize, )
src/algorithms/oaep.rs:181
Functionoaep_decrypt_with_mgf
( mgf_sha: &str, key: &PrivateKey, label: &[u8], ct: &[u8], )
tests/wycheproof.rs:297
Methodoaep_decrypt_with_rng
Decrypt `ciphertext` using OAEP, using the provided RNG for blinding. Uses `D` for both OAEP and MGF1, with an empty label. For a different MGF1 dige
src/oaep.rs:96
Methodoaep_encrypt
(&self, plaintext: &[u8])
src/oaep.rs:38
Functionoaep_encrypt_digest
( rng: &mut R, msg: &[u8], label: Option<Box<[u8]>>, k: usize, )
src/algorithms/oaep.rs:97
Methodoaep_encrypt_with_rng
Encrypt `plaintext` using OAEP and the provided RNG. Uses `D` for both OAEP and MGF1, with an empty label. For a different MGF1 digest or a nonempty
src/oaep.rs:52
Functionos2ip_rejects_oversized_input
()
src/algorithms/pad.rs:161
Functionos2ip_round_trip
()
src/algorithms/pad.rs:138
Methodp
(&self)
checkct/driver/src/raw_rsa.rs:76
Functionpanic
(_info: &core::panic::PanicInfo)
checkct/driver/src/main.rs:38
Methodparse
(input: ParseStream)
checkct/checkct_macros/src/lib.rs:14
Functionpkcs1_coefficient_wider_p
()
tests/crt_coefficient.rs:81
Functionpkcs1_coefficient_wider_q
()
tests/crt_coefficient.rs:87
Functionpkcs1_error_to_pkcs8
Convert `pkcs1::Result` to `pkcs8::Result`.
src/encoding.rs:231
Functionpkcs1_error_to_spki
Convert `pkcs1::Result` to `spki::Result`.
src/encoding.rs:239
Functionpkcs1v15_al
()
checkct/driver/src/pkcs1v15.rs:13
Functionpkcs1v15_decode_and_select
()
checkct/driver/src/pkcs1v15.rs:22
Methodpkcs1v15_decrypt
Decrypt `ciphertext` using PKCS#1 v1.5 with implicit rejection. Invalid padding returns a deterministic synthetic message. `Ok` does not establish au
src/pkcs1v15.rs:129
Functionpkcs1v15_default_signatures_are_unchanged
()
tests/signing_blinding.rs:129
Functionpkcs1v15_generate_prefix
()
src/algorithms/pkcs1v15.rs:116
Methodpkcs1v15_sign
Sign `msg` using PKCS#1 v1.5 after hashing it with `D`. Uses the operating system RNG for blinding when `getrandom` is enabled. Otherwise, this opera
src/pkcs1v15.rs:162
Methodpkcs1v15_sign_prehash
Sign a message hash computed using `D` with PKCS#1 v1.5. The hash is signed directly, without hashing it again. Blinding follows [`Self::pkcs1v15_sig
src/pkcs1v15.rs:177
Methodpkcs1v15_sign_prehash_with_rng
Sign a message hash computed using `D` with PKCS#1 v1.5, using the provided RNG for blinding. The hash is signed directly, without hashing it again.
src/pkcs1v15.rs:208
Methodpkcs1v15_sign_with_rng
Sign `msg` using PKCS#1 v1.5 after hashing it with `D`, using the provided RNG for blinding. Blinding does not change the signature. # Errors Returns
src/pkcs1v15.rs:194
Methodpkcs1v15_verify
Verify a PKCS#1 v1.5 signature after hashing `msg` with `D`. # Errors Returns an error if the signature is invalid.
src/pkcs1v15.rs:89
Methodpkcs1v15_verify_prehash
Verify a PKCS#1 v1.5 signature over a message hash computed using `D`. The hash is verified directly, without hashing it again. # Errors Returns [`E
src/pkcs1v15.rs:103
Methodprimes
(&self)
checkct/driver/src/raw_rsa.rs:72
Functionprivate_component_widths
()
src/private_key.rs:1033
Functionprivate_exponent_range_and_identity
()
src/private_key.rs:961
Functionpss_default_requests_blinding_randomness
()
tests/signing_blinding.rs:60
Functionpss_rejects_out_of_range_signature_alias
()
tests/rfc8017.rs:147
Functionpss_requires_digest_sized_salt
()
tests/private_key.rs:158
Methodpss_sign
(&self, msg: &[u8])
src/pss.rs:77
Methodpss_sign_prehash
(&self, hash: &[u8])
src/pss.rs:93
Methodpss_sign_prehash_with_rng
Sign a message hash computed using `D` with PSS, without hashing it again. Uses the provided RNG for the salt and blinding. The salt length is `D`'s
src/pss.rs:124
Methodpss_sign_with_rng
Sign `msg` using PSS after hashing it with `D`. Uses the provided RNG for the salt and blinding. The salt length is `D`'s output size. For other salt
src/pss.rs:108
Methodpss_verify
Verify a PSS signature after hashing `msg` with `D`. Requires a salt of `D`'s output size. For other salt lengths or automatic salt-length detection,
src/pss.rs:43
Methodpss_verify_prehash
Verify a PSS signature over a message hash computed using `D`. The hash is verified directly, without hashing it again. Requires a salt of `D`'s outp
src/pss.rs:59
Functionpublic_key_decoding_enforces_default_size_limits
()
tests/key_size.rs:96
Functionpublic_length_errors
()
src/algorithms/pkcs1v15/implicit_rejection.rs:107
Methodq
(&self)
checkct/driver/src/raw_rsa.rs:80
Methodqinv
(&self)
checkct/driver/src/raw_rsa.rs:92
Methodrandom
(rng: &mut R, bit_size: usize)
src/pss/signing_key.rs:75
Methodrandom
(rng: &mut R, bit_size: usize)
src/pkcs1v15/signing_key.rs:62
Methodrandom_unprefixed
( rng: &mut R, bit_size: usize, )
src/pkcs1v15/signing_key.rs:91
Methodrandom_with_salt_len
( rng: &mut R, bit_size: usize, salt_len: usize, )
src/pss/signing_key.rs:81
Functionrecover_primes_works
()
src/algorithms/rsa.rs:430
← previousnext →301–400 of 529, ranked by callers