MCPcopy Create free account

hub / github.com/airbus-cert/kerlab / functions

Functions122 in github.com/airbus-cert/kerlab

↓ 158 callersMethodprint
(&mut self, object: &str)
src/display.rs:42
↓ 121 callersMethodnew_line
(&mut self)
src/display.rs:50
↓ 26 callersMethoddedent
(&mut self)
src/display.rs:59
↓ 26 callersMethodindent
(&mut self)
src/display.rs:55
↓ 17 callersFunctionfrom_ber
Deserialize an ASN1 message from a stream using BER
src/asn1.rs:382
↓ 13 callersMethodformat
(&self, f: &mut Formatter)
src/display.rs:70
↓ 10 callersFunctionto_der
Serialize an ASN1 message into der stream
src/asn1.rs:367
↓ 8 callersFunctionhmac_md5
(key: &[u8], data: &[u8])
src/hash.rs:7
↓ 7 callersMethodblock_size
(&self)
src/aeshmac.rs:40
↓ 4 callersFunctiondecrypt_aes_ecb
( key: &[u8], ciphertext: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:77
↓ 4 callersMethodmac_size
(&self)
src/aeshmac.rs:51
↓ 4 callersFunctionntlm
Compute the NTLM hash Compute NTLM hash of the user, use by the AS-REQ # Example ```rust use kekeo::ntlm::ntlm; let hash = ntlm(&String::from("foo")
src/ntlm.rs:51
↓ 4 callersMethodread
(&mut self, cursor: &mut Cursor<T>)
src/pac.rs:48
↓ 3 callersMethoddecrypt
(&self, key_usage: KeyUsage, data: &EncryptedData)
src/encryption.rs:210
↓ 3 callersFunctiondk
(key: &[u8], constant: &[u8], aes_sizes: &AesSizes)
src/aeshmac.rs:108
↓ 3 callersMethodencrypt
(&mut self, data: &[u8])
src/aeshmac.rs:490
↓ 3 callersFunctionread_utf16
(buf: &[u8])
src/pac.rs:8
↓ 3 callersMethodwith_preauth
Add pre authentication stuff for the request see padata.rs
src/krbkdcreq.rs:94
↓ 3 callersFunctionxorbytes
(v1: &[u8], v2: &[u8])
src/aeshmac.rs:56
↓ 2 callersFunctionaes_generate_key
( passphrase: &[u8], salt: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:427
↓ 2 callersFunctionaes_generate_salt
(realm: &str, username: &str)
src/aeshmac.rs:436
↓ 2 callersFunctionencrypt_aes_cbc
( key: &[u8], plaintext: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:95
↓ 2 callersFunctiongenerate_ki_ke
( key: &[u8], key_usage: i32, aes_sizes: &AesSizes, )
src/aeshmac.rs:342
↓ 2 callersFunctionhmac_sha1
(key: &[u8], data: &[u8])
src/hash.rs:15
↓ 2 callersMethodjoin
(options: &[TicketFlagsType])
src/base.rs:50
↓ 2 callersMethodnext
(&mut self)
src/rc4hmac.rs:26
↓ 2 callersMethodprint_indent
(&self)
src/display.rs:28
↓ 2 callersMethodprocess
(&mut self, input: &[u8], output: &mut [u8])
src/rc4hmac.rs:34
↓ 2 callersMethodread_asn1
Read asn1 sequence
src/asn1.rs:41
↓ 2 callersMethodseed_size
(&self)
src/aeshmac.rs:33
↓ 2 callersMethodwrite
(&self, writer: &mut dyn Write)
src/message.rs:13
↓ 1 callersFunctionadd_chunk_with_1s_complement
(chunk_1: &[u8], chunk_2: &[u8])
src/aeshmac.rs:181
↓ 1 callersFunctionadd_chunks_as_u16_vector
(chunk_1: &[u8], chunk_2: &[u8])
src/aeshmac.rs:191
↓ 1 callersFunctionadd_chunks_with_1s_complement_addition
(chunks: &[Vec<u8>])
src/aeshmac.rs:173
↓ 1 callersFunctionbasic_decrypt
( key: &[u8], ciphertext: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:310
↓ 1 callersFunctionbasic_encrypt
( key: &[u8], plaintext: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:239
↓ 1 callersFunctionconvert_u16_vector_to_u8_vector
(v: &[u16])
src/aeshmac.rs:214
↓ 1 callersFunctiondecrypt
Decrypt ciphertext by using the AES algorithm with HMAC-SHA1
src/aeshmac.rs:283
↓ 1 callersFunctiondecrypt_last_two_blocks
( key: &[u8], blocks: &[Vec<u8>], previous_block: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:397
↓ 1 callersFunctiondecrypt_several_blocks_xor_aes_ecb
( key: &[u8], blocks: &[Vec<u8>], aes_sizes: &AesSizes, )
src/aeshmac.rs:378
↓ 1 callersFunctiondivide_in_exact_n_bytes_chunks
(v: &[u8], nbytes: usize)
src/aeshmac.rs:161
↓ 1 callersFunctiondivide_in_n_bytes_blocks
(v: &[u8], nbytes: usize)
src/aeshmac.rs:361
↓ 1 callersFunctionencrypt
Encrypt plaintext by using the AES algorithm with HMAC-SHA1
src/aeshmac.rs:219
↓ 1 callersMethodfor_user
(mut self, user_name: PrincipalName, user_realm: Realm, key: &EncryptionKey)
src/krbkdcreq.rs:138
↓ 1 callersFunctionfrom_der
Deserialize an ASN1 message from a stream
src/asn1.rs:374
↓ 1 callersFunctiongenerate_13_bits_rotations_serie
(v: &[u8], nbytes: usize)
src/aeshmac.rs:126
↓ 1 callersFunctiongenerate_encryption_key_from_encryped_data
(encrypted_data: &EncryptedData, matches: &ArgMatches)
src/bin/kerasktgt.rs:60
↓ 1 callersFunctiongenerate_encryption_key_from_encryped_data
(encrypted_data: &EncryptedData, matches: &ArgMatches)
src/bin/kerticket.rs:18
↓ 1 callersFunctiongenerate_encryption_key_from_paramater
(matches: &ArgMatches)
src/bin/kerasktgt.rs:20
↓ 1 callersFunctiongenerate_preamble
(aes_sizes: &AesSizes)
src/aeshmac.rs:463
↓ 1 callersFunctionimpl_component
(ast: &syn::DeriveInput)
derive/src/lib.rs:68
↓ 1 callersFunctionimpl_sequence
(ast: &syn::DeriveInput)
derive/src/lib.rs:15
↓ 1 callersMethodinto_pac_struct
(&self, buffer: &[u8])
src/pac.rs:34
↓ 1 callersFunctionkerberos_hmac_md5
@see https://datatracker.ietf.org/doc/html/rfc4757
src/checksum.rs:23
↓ 1 callersFunctionmd4
Compute the MD4 Hash of input vector This is a convenient method to respect the initial specification of protocol # Example ```rust, ignore let hash
src/ntlm.rs:17
↓ 1 callersFunctionmd5
Compute the MD5 Hash of input vector This is a convenient method to respect the initial specification of protocol # Example ```rust, ignore let hash
src/checksum.rs:16
↓ 1 callersFunctionn_fold
(v: &[u8], nbytes: usize)
src/aeshmac.rs:120
↓ 1 callersFunctionnonce
()
src/rnd.rs:16
↓ 1 callersFunctionpbkdf2_sha1
(key: &[u8], salt: &[u8], seed_size: usize)
src/aeshmac.rs:67
↓ 1 callersFunctionpropagate_carry_bits
(tmp_add: &mut [u16])
src/aeshmac.rs:201
↓ 1 callersFunctionrandom
Generate a vector sized size fill with random value # Example ``` use rdp::model::rnd::random; let vector = random(128); assert_eq!(vector.len(), 128
src/rnd.rs:11
↓ 1 callersFunctionrandom_bytes
(size: usize)
src/aeshmac.rs:454
↓ 1 callersFunctionrotate_rigth_n_bits
(v: &[u8], nbits: usize)
src/aeshmac.rs:138
↓ 1 callersFunctionunicode
Encode a string into utf-16le This is a basic algorithm to encode an utf-8 string into utf-16le # Example ```rust, ignore let encoded_string = unico
src/ntlm.rs:32
↓ 1 callersMethodwrite_asn1
Write in asn1 format a SequenceOf
src/asn1.rs:31
Methodask_for
Kerberos is available over TCP in most of time
src/request.rs:17
Functioncomponent_derive
(input: TokenStream)
derive/src/lib.rs:63
Methoddatetime
(&self)
src/ndr.rs:29
Methoddecrypt
(&mut self, data: &[u8])
src/aeshmac.rs:494
Methoddecrypt
(&mut self, data: &[u8])
src/rc4hmac.rs:80
Methoddecrypt
decrypt the encrypte part of the response using user password
src/krbkdcrep.rs:37
Methoddecrypt_as
Conveninent function to decrypt a blob as an ASN.1 defined structure
src/encryption.rs:75
Methoddefault
()
src/pac.rs:57
Methoddefault
()
src/asn1.rs:88
Methodderef
(&self)
src/asn1.rs:115
Methodderef_mut
(&mut self)
src/asn1.rs:123
Methodencrypt
(&mut self, data: &[u8])
src/rc4hmac.rs:61
Methodencrypt
(&self, key_usage: KeyUsage, object: &dyn ASN1)
src/encryption.rs:177
Methodetype
(&self)
src/aeshmac.rs:483
Methodetype
Implement https://tools.ietf.org/html/rfc4757
src/rc4hmac.rs:57
Methodfrom
(buf: &[u8])
src/pac.rs:123
Methodfrom
(e: ASN1Error)
src/error.rs:68
Methodfrom_addata
Read pactype fields
src/pac.rs:77
Methodjoin
(options: &[KdcOptionsType])
src/krbkdcreq.rs:46
Methodkey_size
(&self)
src/aeshmac.rs:44
Methodkind
Return the kind of error # Example ``` use error::{KerlabError, KerlabErrorKind}; let error = KerlabError::new(KerlabErrorKind::Disconnect, "disconne
src/error.rs:45
Functionmain
()
src/bin/klist2kirbi.rs:21
Functionmain
()
src/bin/kerforce.rs:15
Functionmain
()
src/bin/kerasktgt.rs:102
Functionmain
()
src/bin/kerspray.rs:15
Functionmain
()
src/bin/kerasktgs.rs:22
Functionmain
()
src/bin/kerticket.rs:60
Methodnew
(key: Vec<u8>, usage: KeyUsage, size: AesSizes)
src/aeshmac.rs:475
Methodnew
(key: &[u8])
src/rc4hmac.rs:13
Methodnew
(etype: Integer, cipher: OctetString)
src/encryption.rs:66
Methodnew
()
src/display.rs:20
Methodnew
(patype: PaDataType, pavalue: &dyn ASN1)
src/padata.rs:75
Methodnew
constructor
src/krbkdcreq.rs:63
Methodnew
constructor
src/krbcred.rs:43
Methodnew
constructor
src/checksum.rs:50
next →1–100 of 122, ranked by callers