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
Method
decrypt
(&self, ciphertext: &[u8])
src/pkcs1v15/decrypting_key.rs:40
Function
decrypt_digest
( rng: Option<&mut R>, priv_key: &PrivateKey, ciphertext: &[u8], label: Option<Box<[u8]>>, )
src/oaep.rs:378
Function
decrypt_ignores_first_octet
()
src/algorithms/oaep.rs:271
Function
decrypt_rejects_invalid_db
()
src/algorithms/oaep.rs:315
Method
decrypt_with_rng
( &self, rng: &mut R, ciphertext: &[u8], )
src/pkcs1v15/decrypting_key.rs:57
Method
default
()
src/oaep.rs:131
Method
default
()
src/pss.rs:174
Function
default_public_key_size_limits
()
tests/key_size.rs:19
Function
default_rng_reaches_signature_scheme
()
tests/signing_blinding.rs:108
Method
derive
Computes `HMAC-SHA256(SHA256(I2OSP(d, k)), ciphertext)`. The caller must establish that d fits in k octets and that its storage precision is public.
src/algorithms/pkcs1v15/implicit_rejection.rs:30
Method
deserialize
(deserializer: D)
src/public_key.rs:216
Method
deserialize
(deserializer: D)
src/private_key.rs:760
Method
deserialize
(deserializer: De)
src/pss/verifying_key.rs:237
Method
deserialize
(deserializer: D)
src/pss/signature.rs:129
Method
deserialize
(deserializer: De)
src/pss/signing_key.rs:334
Method
deserialize
(deserializer: De)
src/pkcs1v15/verifying_key.rs:240
Method
deserialize
(deserializer: D)
src/pkcs1v15/signature.rs:129
Method
deserialize
(deserializer: De)
src/pkcs1v15/signing_key.rs:354
Function
do_test_encrypt_decrypt_oaep
(prk: &PrivateKey)
src/oaep.rs:491
Function
do_test_encrypt_decrypt_oaep_traits
(prk: &PrivateKey)
src/oaep.rs:624
Function
do_test_oaep_with_different_hashes
( prk: &PrivateKey, )
src/oaep.rs:534
Function
do_test_oaep_with_different_hashes_traits
( prk: &PrivateKey, )
src/oaep.rs:628
Method
dp
(&self)
checkct/driver/src/raw_rsa.rs:84
Method
dq
(&self)
checkct/driver/src/raw_rsa.rs:88
Function
draft_10_vectors
(#[case] section: &str)
src/algorithms/pkcs1v15/implicit_rejection.rs:173
Method
drop
(&mut self)
src/private_key.rs:89
Method
drop
(&mut self)
src/traits/keys.rs:103
Method
drop
(&mut self)
tests/wycheproof.rs:133
Method
e
(&self)
src/private_key.rs:134
Method
e
(&self)
checkct/driver/src/raw_rsa.rs:58
Method
e_bytes
Returns the big endian serialization of the public exponent of the key
src/traits/keys.rs:44
Function
emsa_pss_encode_digest
( m_hash: &[u8], em_bits: usize, salt: &[u8], )
src/algorithms/pss.rs:95
Function
emsa_pss_verify_digest
( m_hash: &[u8], em: &mut [u8], s_len: Option<usize>, em_bits: usize, )
src/algorithms/pss.rs:330
Function
encode_rsa2048_priv_der
()
tests/pkcs1.rs:248
Function
encode_rsa2048_priv_der
()
tests/pkcs8.rs:214
Function
encode_rsa2048_priv_pem
()
tests/pkcs1.rs:478
Function
encode_rsa2048_priv_pem
()
tests/pkcs8.rs:325
Function
encode_rsa2048_pub_der
()
tests/pkcs1.rs:262
Function
encode_rsa2048_pub_der
()
tests/pkcs8.rs:226
Function
encode_rsa2048_pub_pem
()
tests/pkcs1.rs:494
Function
encode_rsa2048_pub_pem
()
tests/pkcs8.rs:333
Function
encode_rsa4096_priv_der
()
tests/pkcs1.rs:255
Function
encode_rsa4096_priv_pem
()
tests/pkcs1.rs:486
Function
encode_rsa4096_pub_der
()
tests/pkcs1.rs:269
Function
encode_rsa4096_pub_pem
()
tests/pkcs1.rs:502
Method
encrypt
( self, rng: &mut Rng, pub_key: &PublicKey, msg: &[u8], )
src/pkcs1v15.rs:245
Function
encrypt_digest
Encrypts the given message with RSA and the padding scheme from [PKCS#1 OAEP]. The message must be no longer than the length of the public modulus mi
src/oaep.rs:308
Method
encrypt_with_rng
( &self, rng: &mut R, msg: &[u8], )
src/pkcs1v15/encrypting_key.rs:26
Function
encryption_interoperability
()
tests/private_key.rs:22
Method
eq
(&self, other: &PublicKey)
src/public_key.rs:155
Method
eq
(&self, other: &PrivateKey)
src/private_key.rs:67
Method
eq
(&self, other: &Self)
src/pss/verifying_key.rs:213
Method
eq
(&self, other: &Self)
src/pss/signing_key.rs:310
Method
eq
(&self, other: &Self)
src/pkcs1v15/verifying_key.rs:216
Method
eq
(&self, other: &Self)
src/pkcs1v15/signing_key.rs:330
Method
eq
(&self, other: &Self)
src/oaep/decrypting_key.rs:111
Method
eq
(&self, other: &Self)
src/oaep/encrypting_key.rs:72
Function
every_separator_and_header
()
src/algorithms/pkcs1v15/selection.rs:89
Function
explicit_public_key_size_limits
()
tests/key_size.rs:46
Function
exponent_blinding_arithmetic
()
src/algorithms/blinding.rs:128
Function
exponent_blinding_totient_128
()
checkct/driver/src/exponent_blinding.rs:23
Method
fmt
(&self, f: &mut core::fmt::Formatter)
src/errors.rs:85
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/private_key.rs:49
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/oaep.rs:263
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/pss.rs:246
Method
fmt
(&self, f: &mut Formatter<'_>)
src/pss/signature.rs:94
Method
fmt
(&self, f: &mut Formatter<'_>)
src/pkcs1v15/signature.rs:94
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
tests/signing_blinding.rs:28
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
tests/generate.rs:66
Method
from
(private_key: PrivateKey)
src/public_key.rs:161
Method
from
(err: pkcs1::Error)
src/errors.rs:120
Method
from
(key: PublicKey)
src/pss/verifying_key.rs:174
Method
from
(signature: Signature)
src/pss/signature.rs:88
Method
from
(key: PrivateKey)
src/pss/signing_key.rs:264
Method
from
(key: PublicKey)
src/pkcs1v15/verifying_key.rs:170
Method
from
(signature: Signature)
src/pkcs1v15/signature.rs:88
Method
from
(key: PrivateKey)
src/pkcs1v15/signing_key.rs:266
Method
from_bytes_with_max_len
Decode a signature with an explicit maximum encoded length in bytes. The length is checked before allocating. This can be used to accept signatures f
src/pss/signature.rs:48
Method
from_bytes_with_max_len
Decode a signature with an explicit maximum encoded length in bytes. The length is checked before allocating. This can be used to accept signatures f
src/pkcs1v15/signature.rs:48
Method
from_components
( n: BoxedUint, e: BoxedUint, d: BoxedUint, primes: Vec<BoxedUint>, )
src/private_key.rs:372
Method
from_components_inner
Private helper function that constructs an RSA key pair from components WITHOUT performing any validation or precomputation. This is the shared imple
src/private_key.rs:233
Method
from_components_with_large_exponent
( n: BoxedUint, e: BoxedUint, d: BoxedUint, primes: Vec<BoxedUint>, )
src/private_key.rs:338
Method
from_components_with_wide_primes
( n: BoxedUint, e: BoxedUint, d: BoxedUint, primes: Vec<BoxedUint>, )
src/private_key.rs:394
Method
from_p_q
(p: BoxedUint, q: BoxedUint, public_exponent: BoxedUint)
src/private_key.rs:415
Method
from_pkcs1_der
(bytes: &[u8])
src/encoding.rs:30
Method
from_primes
(primes: Vec<BoxedUint>, public_exponent: BoxedUint)
src/private_key.rs:435
Function
generate_pkcs1v15_signing_key
()
tests/generate.rs:42
Function
generate_preserves_rng_errors
()
tests/generate.rs:116
Function
generate_private_key
()
tests/generate.rs:31
Function
generate_pss_signing_key
()
tests/generate.rs:53
Function
generate_with_system_rng
()
tests/generate.rs:135
Function
get_default_pss_signature_algo_id
()
src/pss.rs:398
Function
get_pss_signature_algo_id
(salt_len: usize)
src/pss.rs:406
Function
half_width_bit_bound_is_independent_of_limb_size
()
tests/crt_coefficient.rs:127
Method
hash
(&self, state: &mut H)
src/public_key.rs:180
Method
hash
(&self, state: &mut H)
src/private_key.rs:81
Function
i2osp
()
checkct/driver/src/driver.rs:8
Function
i2osp_zeroizing_equal_width
()
checkct/driver/src/driver.rs:27
Function
i2osp_zeroizing_left_pad
()
checkct/driver/src/driver.rs:32
Function
i2osp_zeroizing_truncate_storage
()
checkct/driver/src/driver.rs:37
← previous
next →
201–300 of 529, ranked by callers