MCPcopy Create free account

hub / github.com/RustCrypto/SSH / functions

Functions877 in github.com/RustCrypto/SSH

↓ 150 callersFunctiondecode
()
ssh-key/src/public/ssh_format.rs:185
↓ 62 callersMethodlen
(&self)
ssh-key/src/comment.rs:150
↓ 34 callersMethodchecked_sum
(self)
ssh-encoding/src/checked.rs:21
↓ 32 callersMethodkey_data
(&self)
ssh-key/src/public.rs:374
↓ 30 callersMethodas_slice
(&self)
ssh-key/src/private/ecdsa.rs:29
↓ 21 callersMethoddecrypt
(&self, buf: &mut [u8], kdf: &Kdf, password: &str)
ssh-key/src/ppk.rs:147
↓ 17 callersMethodas_bytes
(&self)
ssh-key/src/comment.rs:113
↓ 17 callersMethodas_bytes
(&self)
ssh-key/src/private/dsa.rs:41
↓ 17 callersMethodencode
(&self, writer: &mut impl Writer)
ssh-encoding/src/label.rs:31
↓ 17 callersMethodis_empty
(&self)
ssh-key/src/comment.rs:144
↓ 16 callersMethoditer
(&self)
ssh-key/src/authorized_keys.rs:243
↓ 16 callersMethodread_prefixed
(&mut self, f: F)
ssh-encoding/src/reader.rs:157
↓ 15 callersMethodread
(&mut self, out: &'o mut [u8])
ssh-encoding/src/reader.rs:146
↓ 15 callersMethodto_openssh
(&self)
ssh-key/src/public.rs:178
↓ 15 callersMethodunsupported_error
(self)
ssh-key/src/algorithm.rs:281
↓ 15 callersMethodwrite
(&mut self, bytes: &[u8])
ssh-encoding/src/writer.rs:26
↓ 14 callersMethodpublic_key
(&self)
ssh-key/src/sshsig.rs:269
↓ 13 callersMethodis_some
(&self)
ssh-key/src/kdf.rs:132
↓ 12 callersMethodremaining_len
(&self)
ssh-encoding/src/reader.rs:174
↓ 11 callersMethodas_bytes
(&self)
ssh-key/src/signature.rs:130
↓ 11 callersMethodas_ref
(&self)
ssh-key/src/private/ecdsa.rs:106
↓ 11 callersMethodencode
(&self, writer: &mut impl Writer)
ssh-key/src/certificate.rs:556
↓ 11 callersMethodto_string
(&self)
ssh-key/src/public.rs:482
↓ 10 callersMethodencrypt_with_cipher
( &self, rng: &mut R, cipher: Cipher, password: impl AsRef<[u8]>, )
ssh-key/src/private.rs:499
↓ 10 callersMethodinvalid_error
(self)
ssh-key/src/certificate/field.rs:75
↓ 10 callersMethodis_positive
(&self)
ssh-encoding/src/mpint.rs:116
↓ 9 callersMethodalgorithm
(&self)
ssh-key/src/signature.rs:124
↓ 9 callersMethodencode_vec
(&self)
ssh-encoding/src/encode.rs:53
↓ 9 callersMethodfingerprint
(&self, hash_alg: HashAlg)
ssh-key/src/public.rs:382
↓ 9 callersMethodfinish
Finish encoding PEM, writing the post-encapsulation boundary. On success, returns the total number of bytes written to the output buffer.
ssh-encoding/src/pem/writer.rs:31
↓ 9 callersMethodsign
Sign the given message with the provided signing key. See also: [`PrivateKey::sign`]. # Errors - Returns [`Error::AlgorithmUnsupported`] if this sig
ssh-key/src/sshsig.rs:120
↓ 8 callersMethodas_ref
(&self)
ssh-key/src/public/ecdsa.rs:102
↓ 8 callersMethodas_str
(&self)
ssh-key/src/algorithm.rs:202
↓ 8 callersMethodecdsa
(&self)
ssh-key/src/public/key_data.rs:95
↓ 8 callersMethodencode
(&self, writer: &mut impl Writer)
ssh-key/src/public/key_data.rs:344
↓ 8 callersMethodencoded_len
(&self)
ssh-key/src/public/key_data.rs:330
↓ 8 callersFunctionfields_variables
Generate a list of field variables for a struct or enum variant. If `use_self` is true, the fields are accessed using `self.<name>` (for struct field
ssh-derive/src/encode.rs:180
↓ 8 callersMethodverify
(&self, namespace: &str, msg: &[u8], signature: &SshSig)
ssh-key/src/public.rs:255
↓ 8 callersMethodzeroize
(&mut self)
ssh-encoding/src/mpint.rs:187
↓ 7 callersMethodas_bytes
(&self)
ssh-encoding/src/mpint.rs:96
↓ 7 callersMethodas_ref
(&self)
ssh-key/src/comment.rs:29
↓ 7 callersMethodas_ref
(&self)
ssh-key/src/private/ed25519.rs:45
↓ 7 callersMethodblock_size
(self)
ssh-cipher/src/lib.rs:212
↓ 7 callersMethoddigest_size
(self)
ssh-key/src/algorithm.rs:452
↓ 7 callersMethodencode
Encode data with OpenSSH public key encapsulation.
ssh-key/src/public/ssh_format.rs:56
↓ 7 callersMethodencode_prefixed
Encode this value, first prepending a `uint32` length prefix set to [`Encode::encoded_len`]. # Errors Returns errors specific to the concrete impleme
ssh-encoding/src/encode.rs:43
↓ 7 callersMethodencoded_len_prefixed
Return the length of this type after encoding when prepended with a `uint32` length prefix. # Errors Returns errors specific to the concrete implemen
ssh-encoding/src/encode.rs:35
↓ 7 callersFunctionencoding_test
(private_key: &str)
ssh-key/tests/private_key.rs:666
↓ 6 callersMethodapplication
(&self)
ssh-key/src/public/sk.rs:51
↓ 6 callersMethodas_positive_bytes
(&self)
ssh-encoding/src/mpint.rs:106
↓ 6 callersFunctionderive_for_fields
Generate decoding code for the given fields. This will also handle length-prefixed containers if it is marked as such.
ssh-derive/src/decode.rs:98
↓ 6 callersMethodencode
(&self, writer: &mut impl Writer)
ssh-key/src/private.rs:916
↓ 6 callersMethodrsa
(&self)
ssh-key/src/public/key_data.rs:123
↓ 6 callersMethodto_bytes
(&self)
ssh-key/src/private/ed25519.rs:39
↓ 5 callersMethodas_mut
(&mut self)
ssh-cipher/src/block_cipher/state.rs:72
↓ 5 callersMethodas_ref
(&self)
ssh-cipher/src/lib.rs:474
↓ 5 callersMethodas_ref
(&self)
ssh-encoding/src/mpint.rs:122
↓ 5 callersMethodas_str
Interpret the comment as a UTF-8 string. # Errors Returns [`Error::CharacterEncoding`] in the event the underlying bytes cannot be interpreted as val
ssh-key/src/comment.rs:122
↓ 5 callersMethodas_str_lossy
(&self)
ssh-key/src/comment.rs:132
↓ 5 callersMethodcurve
(&self)
ssh-key/src/public/ecdsa.rs:92
↓ 5 callersFunctiondot_ssh
Open `.ssh` using the `test/examples`.
ssh-key/tests/dot_ssh.rs:9
↓ 5 callersMethodencoded_len
(&self)
ssh-encoding/src/encode.rs:73
↓ 5 callersMethodis_finished
Is decoding finished?
ssh-encoding/src/reader.rs:23
↓ 5 callersMethodpath
(&self)
ssh-key/src/dot_ssh.rs:44
↓ 5 callersFunctionvalidate_rsa_3072
(key: PrivateKey)
ssh-key/tests/private_key.rs:410
↓ 4 callersMethodalgorithm
(&self)
ssh-key/src/kdf.rs:67
↓ 4 callersMethodalgorithm
(&self)
ssh-key/src/certificate.rs:249
↓ 4 callersMethodas_ref
(&self)
ssh-key/src/private/dsa.rs:53
↓ 4 callersMethoddecrypt_inout_detached
( &self, nonce: &ChaChaNonce, associated_data: &[u8], buffer: InOutBuf<'_, '_,
ssh-cipher/src/chacha20poly1305.rs:137
↓ 4 callersFunctionderive_for_fields
Generate encoding code for the given fields, bound to the given names. This will also handle length-prefixing the container if it is marked as such.
ssh-derive/src/encode.rs:81
↓ 4 callersFunctionderive_for_variants
( container_attributes: &ContainerAttributes, variants: impl Iterator<Item = &'a syn::Variant>, en
ssh-derive/src/encode.rs:101
↓ 4 callersMethode
(&self)
ssh-key/src/public/rsa.rs:56
↓ 4 callersMethodencode
(&self, writer: &mut impl Writer)
ssh-encoding/src/encode.rs:77
↓ 4 callersFunctionencode_str
Encode a segment of the public key.
ssh-key/src/public/ssh_format.rs:159
↓ 4 callersFunctionencode_string
()
ssh-encoding/tests/encode.rs:72
↓ 4 callersMethodencrypt_inout_detached
( &self, nonce: &ChaChaNonce, associated_data: &[u8], buffer: InOutBuf<'_, '_,
ssh-cipher/src/chacha20poly1305.rs:128
↓ 4 callersMethodis_encrypted
(&self)
ssh-key/src/private.rs:579
↓ 4 callersMethodkdf
(&self)
ssh-key/src/private.rs:589
↓ 4 callersFunctionmaybe_length_prefix
Generate length prefixing code or empty token streams if not needed.
ssh-derive/src/encode.rs:162
↓ 4 callersFunctionmaybe_length_prefixed_result
(length_prefix: bool, body: &TokenStream)
ssh-derive/src/decode.rs:133
↓ 4 callersMethodn
(&self)
ssh-key/src/public/rsa.rs:62
↓ 4 callersMethodpublic
(&self)
ssh-key/src/private/sk.rs:55
↓ 4 callersMethodpublic_key
(&self)
ssh-key/src/public/sk.rs:150
↓ 4 callersMethodto_certificate_type
(&self)
ssh-key/src/algorithm.rs:232
↓ 4 callersMethodto_pem
Encode signature as PEM which begins with the following: ```text -----BEGIN SSH SIGNATURE----- ``` # Errors Returns [`Error::Encoding`] in the event
ssh-key/src/sshsig.rs:106
↓ 4 callersMethodtry_sign
(&self, message: &[u8])
ssh-key/src/signature.rs:279
↓ 4 callersMethodwrite_openssh_file
(&self, path: impl AsRef<Path>)
ssh-key/src/public.rs:354
↓ 4 callersMethodxor_into
XOR the current state into the given block. This is used to implement CBC mode.
ssh-cipher/src/block_cipher/state.rs:58
↓ 3 callersMethodalgorithm
(&self)
ssh-key/src/public.rs:361
↓ 3 callersMethodas_ref
(&self)
ssh-key/src/signature.rs:171
↓ 3 callersMethodas_ref
(&self)
ssh-key/src/public/ed25519.rs:31
↓ 3 callersMethodas_sec1_bytes
(&self)
ssh-key/src/public/ecdsa.rs:74
↓ 3 callersMethodas_str
(&self)
ssh-key/src/known_hosts.rs:218
↓ 3 callersMethodas_str
(&self)
ssh-key/src/authorized_keys.rs:231
↓ 3 callersFunctioncompute_mac
Compute the MAC for a given input buffer (containing ciphertext).
ssh-cipher/src/chacha20poly1305.rs:208
↓ 3 callersFunctiondecode_keydata
(certificate_str: &str)
ssh-key/tests/certificate.rs:267
↓ 3 callersMethoddigest
(self, msg: &[u8])
ssh-key/src/algorithm.rs:462
↓ 3 callersMethoddrain_prefixed
Decode a `u32` length prefix, and then drain the length of the body. Upon success, returns the number of bytes drained sans the length of the `u32` l
ssh-encoding/src/reader.rs:113
↓ 3 callersMethoddsa
(&self)
ssh-key/src/public/key_data.rs:85
↓ 3 callersMethodencode_key_data
Encode the key data without a leading algorithm identifier.
ssh-key/src/public/key_data.rs:294
next →1–100 of 877, ranked by callers