Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/RSA
/ functions
Functions
529 in github.com/RustCrypto/RSA
⨍
Functions
529
◇
Types & classes
57
Function
reduction_with_leading_zero_moduli_and_partial_digits
()
src/algorithms/reduction.rs:45
Function
reject_oversized_private_key
()
src/private_key.rs:1288
Function
repeated_prime_factors
()
src/private_key.rs:830
Function
rsa_decrypt_unblinded_crt_128
()
checkct/driver/src/raw_rsa.rs:105
Function
rsa_decrypt_unblinded_non_crt_128
()
checkct/driver/src/raw_rsa.rs:18
Method
salt_len
(&self)
src/pss/verifying_key.rs:68
Method
salt_len
(&self)
src/pss/signing_key.rs:95
Function
secret_modulus_reduction_192_to_128
()
checkct/driver/src/raw_rsa.rs:133
Method
serialize
(&self, serializer: S)
src/public_key.rs:205
Method
serialize
(&self, serializer: S)
src/private_key.rs:749
Method
serialize
(&self, serializer: S)
src/pss/verifying_key.rs:223
Method
serialize
(&self, serializer: S)
src/pss/signature.rs:119
Method
serialize
(&self, serializer: S)
src/pss/signing_key.rs:320
Method
serialize
(&self, serializer: S)
src/pkcs1v15/verifying_key.rs:226
Method
serialize
(&self, serializer: S)
src/pkcs1v15/signature.rs:119
Method
serialize
(&self, serializer: S)
src/pkcs1v15/signing_key.rs:340
Method
sign
( mut self, rng: Option<&mut Rng>, priv_key: &PrivateKey, hashed: &[u8], )
src/pss.rs:224
Function
sign_digest
( rng: &mut T, blind: bool, priv_key: &PrivateKey, hashed: &[u8], salt_len: usize, )
src/pss.rs:333
Method
sign_prehash
(&self, prehash: &[u8])
src/pkcs1v15/signing_key.rs:142
Function
sign_pss_with_salt_digest
( blind_rng: Option<&mut T>, priv_key: &PrivateKey, hashed: &[u8], salt: &[u8], )
src/pss.rs:375
Function
sign_with_large_key
()
tests/signature_size.rs:78
Function
signature_algorithm_identifier_rejects_oversized_salt_len
()
src/pss.rs:752
Function
signature_octet_strings_round_trip_pkcs1v15
()
tests/rfc8017.rs:80
Function
signature_octet_strings_round_trip_pss
()
tests/rfc8017.rs:90
Function
signature_stringify
()
tests/pkcs1v15.rs:6
Function
signatures_require_exact_modulus_length_pkcs1v15
()
tests/rfc8017.rs:101
Function
signatures_require_exact_modulus_length_pss
()
tests/rfc8017.rs:124
Function
signing_interoperability
()
tests/private_key.rs:73
Function
signing_key_new_same_as_from
()
tests/pkcs1v15.rs:29
Function
size_override_preserves_public_key_validation
()
tests/key_size.rs:78
Function
system_rng_methods
()
tests/private_key.rs:264
Function
test_decrypt_oaep_invalid_hash
()
src/oaep.rs:583
Function
test_decrypt_oaep_invalid_hash_traits
()
src/oaep.rs:677
Function
test_decrypt_pkcs1v15
(#[case] ciphertext: &str, #[case] plaintext: &str)
src/pkcs1v15.rs:540
Function
test_decrypt_pkcs1v15_rejects_wrong_length
()
src/pkcs1v15.rs:601
Function
test_decrypt_pkcs1v15_traits
(#[case] ciphertext: &str, #[case] plaintext: &str)
src/pkcs1v15.rs:590
Function
test_encrypt_decrypt_oaep
()
src/oaep.rs:459
Function
test_encrypt_decrypt_oaep_traits
()
src/oaep.rs:603
Function
test_encrypt_decrypt_pkcs1v15
()
src/pkcs1v15.rs:550
Function
test_encrypt_decrypt_pkcs1v15_traits
()
src/pkcs1v15.rs:701
Function
test_encrypt_tiny_no_crash
()
src/algorithms/pkcs1v15.rs:155
Function
test_from_components_with_large_exponent
()
src/private_key.rs:1413
Function
test_from_components_with_small_exponent
()
src/private_key.rs:1461
Function
test_from_into
()
src/private_key.rs:979
Function
test_impossible_keys
()
src/algorithms/generate.rs:161
Function
test_key_invalid_primes
()
src/private_key.rs:1516
Function
test_negative_decryption_value
()
src/private_key.rs:1139
Function
test_non_zero_bytes
()
src/algorithms/pkcs1v15.rs:143
Function
test_pss_algo_id_default_salt_len_unchanged
()
src/pss.rs:809
Function
test_pss_algo_id_salt_len_out_of_range
(#[case] salt_len: usize)
src/pss.rs:798
Function
test_pss_algo_id_salt_len_representable
(#[case] salt_len: usize)
src/pss.rs:772
Function
test_rsa_oaep_decrypt
(#[case] file: &str)
tests/wycheproof.rs:341
Function
test_rsa_pkcs1_verify
(#[case] file: &str)
tests/wycheproof.rs:161
Function
test_rsa_pss_verify
(#[case] file: &str)
tests/wycheproof.rs:217
Function
test_serde
()
src/private_key.rs:1171
Function
test_serde
()
src/pss/verifying_key.rs:250
Function
test_serde
()
src/pss/signature.rs:144
Function
test_serde
()
src/pss/signing_key.rs:347
Function
test_serde
()
src/pkcs1v15/verifying_key.rs:253
Function
test_serde
()
src/pkcs1v15/signature.rs:144
Function
test_serde
()
src/pkcs1v15/decrypting_key.rs:81
Function
test_serde
()
src/pkcs1v15/encrypting_key.rs:39
Function
test_serde
()
src/pkcs1v15/signing_key.rs:367
Function
test_serde
()
src/oaep/decrypting_key.rs:120
Function
test_serde
()
src/oaep/encrypting_key.rs:82
Function
test_sign_and_verify_2049bit_key
Tests the corner case where the key is multiple of 8 + 1 bits long
src/pss.rs:699
Function
test_sign_and_verify_pss_differing_salt_len
(#[case] test: &str)
src/pss.rs:721
Function
test_sign_and_verify_pss_hazmat
(#[case] test: &str)
src/pss.rs:681
Function
test_sign_and_verify_roundtrip
(#[case] test: &str)
src/pss.rs:573
Function
test_sign_and_verify_roundtrip_digest_signer
(#[case] test: &str)
src/pss.rs:624
Function
test_sign_and_verify_roundtrip_signer
(#[case] test: &str)
src/pss.rs:609
Function
test_sign_blinded_and_verify_roundtrip
(#[case] test: &str)
src/pss.rs:591
Function
test_sign_pkcs1v15
(#[case] text: &str, #[case] expected: [u8; 64])
src/pkcs1v15.rs:735
Function
test_sign_pkcs1v15_digest_signer
(#[case] text: &str, #[case] expected: [u8; 64])
src/pkcs1v15.rs:820
Function
test_sign_pkcs1v15_signer
(#[case] text: &str, #[case] expected: [u8; 64])
src/pkcs1v15.rs:756
Function
test_sign_pkcs1v15_signer_sha2_256
(#[case] text: &str, #[case] expected: [u8; 64])
src/pkcs1v15.rs:777
Function
test_sign_pkcs1v15_signer_sha3_256
(#[case] text: &str, #[case] expected: [u8; 64])
src/pkcs1v15.rs:797
Function
test_unpadded_signature
()
src/pkcs1v15.rs:954
Function
test_unpadded_signature_hazmat
()
src/pkcs1v15.rs:969
Function
test_verify_pkcs1v15
(#[case] text: &str, #[case] sig: [u8; 64], #[case] expected: bool)
src/pkcs1v15.rs:857
Function
test_verify_pkcs1v15_digest_signer
( #[case] text: &str, #[case] sig: [u8; 64], #[case] expected: bool, )
src/pkcs1v15.rs:928
Function
test_verify_pkcs1v15_signer
( #[case] text: &str, #[case] sig: [u8; 64], #[case] expected: bool, )
src/pkcs1v15.rs:889
Function
test_verify_pss
(#[case] text: &str, #[case] sig: [u8; 64], #[case] expected: bool)
src/pss.rs:481
Function
test_verify_pss_digest_signer
( #[case] text: &str, #[case] sig: [u8; 64], #[case] expected: bool, )
src/pss.rs:547
Function
test_verify_pss_hazmat
(#[case] text: &str, #[case] sig: [u8; 64], #[case] expected: bool)
src/pss.rs:662
Function
test_verify_pss_signer
(#[case] text: &str, #[case] sig: [u8; 64], #[case] expected: bool)
src/pss.rs:513
Method
to_bitstring
(&self)
src/pss/signature.rs:65
Method
to_bitstring
(&self)
src/pkcs1v15/signature.rs:65
Function
to_monty_matches_reference_reduction
()
src/algorithms/rsa.rs:493
Function
totient_requires_factors
()
src/algorithms/blinding.rs:287
Method
try_fill_bytes
(&mut self, _: &mut [u8])
src/dummy_rng.rs:19
Method
try_from
(pkcs1_key: pkcs1::RsaPrivateKey<U>)
src/encoding.rs:44
Method
try_from
(spki: pkcs8::SubjectPublicKeyInfoRef<'_>)
src/pss/verifying_key.rs:195
Method
try_from
(bytes: &[u8])
src/pss/signature.rs:73
Method
try_from
(private_key_info: pkcs8::PrivateKeyInfoRef<'_>)
src/pss/signing_key.rs:299
Method
try_from
(spki: pkcs8::SubjectPublicKeyInfoRef<'_>)
src/pkcs1v15/verifying_key.rs:205
Method
try_from
(bytes: &[u8])
src/pkcs1v15/signature.rs:73
Method
try_from
(private_key_info: pkcs8::PrivateKeyInfoRef<'_>)
src/pkcs1v15/signing_key.rs:316
Method
try_generate_from_rng
( rng: &mut R, )
src/private_key.rs:619
Method
try_generate_from_rng
( rng: &mut R, )
src/pss/signing_key.rs:107
← previous
next →
401–500 of 529, ranked by callers