Changeset 988 for vendor/current/libcli/auth/proto.h
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/libcli/auth/proto.h
r919 r988 17 17 void netlogon_creds_des_decrypt(struct netlogon_creds_CredentialState *creds, struct samr_Password *pass); 18 18 void netlogon_creds_arcfour_crypt(struct netlogon_creds_CredentialState *creds, uint8_t *data, size_t len); 19 void netlogon_creds_aes_encrypt(struct netlogon_creds_CredentialState *creds, uint8_t *data, size_t len); 20 void netlogon_creds_aes_decrypt(struct netlogon_creds_CredentialState *creds, uint8_t *data, size_t len); 19 21 20 22 /***************************************************************** … … 25 27 const char *client_account, 26 28 const char *client_computer_name, 29 uint16_t secure_channel_type, 27 30 const struct netr_Credential *client_challenge, 28 31 const struct netr_Credential *server_challenge, … … 50 53 const struct netr_Credential *server_challenge, 51 54 const struct samr_Password *machine_password, 52 struct netr_Credential *credentials_in,55 const struct netr_Credential *credentials_in, 53 56 struct netr_Credential *credentials_out, 54 57 uint32_t negotiate_flags); 55 58 NTSTATUS netlogon_creds_server_step_check(struct netlogon_creds_CredentialState *creds, 56 struct netr_Authenticator *received_authenticator,59 const struct netr_Authenticator *received_authenticator, 57 60 struct netr_Authenticator *return_authenticator) ; 58 void netlogon_creds_decrypt_samlogon(struct netlogon_creds_CredentialState *creds, 59 uint16_t validation_level, 60 union netr_Validation *validation) ; 61 void netlogon_creds_decrypt_samlogon_validation(struct netlogon_creds_CredentialState *creds, 62 uint16_t validation_level, 63 union netr_Validation *validation); 64 void netlogon_creds_encrypt_samlogon_validation(struct netlogon_creds_CredentialState *creds, 65 uint16_t validation_level, 66 union netr_Validation *validation); 67 void netlogon_creds_decrypt_samlogon_logon(struct netlogon_creds_CredentialState *creds, 68 enum netr_LogonInfoClass level, 69 union netr_LogonLevel *logon); 70 void netlogon_creds_encrypt_samlogon_logon(struct netlogon_creds_CredentialState *creds, 71 enum netr_LogonInfoClass level, 72 union netr_LogonLevel *logon); 73 union netr_LogonLevel *netlogon_creds_shallow_copy_logon(TALLOC_CTX *mem_ctx, 74 enum netr_LogonInfoClass level, 75 const union netr_LogonLevel *in); 61 76 62 77 /* The following definitions come from /home/jeremy/src/samba/git/master/source3/../source4/../libcli/auth/session.c */ … … 112 127 uint8_t kr_buf[16]); 113 128 void SMBOWFencrypt(const uint8_t passwd[16], const uint8_t *c8, uint8_t p24[24]); 114 void SMBNTencrypt_hash(const uint8_t nt_hash[16], uint8_t *c8, uint8_t *p24);115 void SMBNTencrypt(const char *passwd, uint8_t *c8, uint8_t *p24);129 void SMBNTencrypt_hash(const uint8_t nt_hash[16], const uint8_t *c8, uint8_t *p24); 130 void SMBNTencrypt(const char *passwd, const uint8_t *c8, uint8_t *p24); 116 131 void SMBOWFencrypt_ntv2(const uint8_t kr[16], 117 132 const DATA_BLOB *srv_chal, … … 130 145 const char *user, const char *domain, const uint8_t nt_hash[16], 131 146 const DATA_BLOB *server_chal, 147 const NTTIME *server_timestamp, 132 148 const DATA_BLOB *names_blob, 133 149 DATA_BLOB *lm_response, DATA_BLOB *nt_response, … … 180 196 bool extract_pw_from_buffer(TALLOC_CTX *mem_ctx, 181 197 uint8_t in_buffer[516], DATA_BLOB *new_pass); 198 struct wkssvc_PasswordBuffer; 182 199 void encode_wkssvc_join_password_buffer(TALLOC_CTX *mem_ctx, 183 200 const char *pwd,
Note:
See TracChangeset
for help on using the changeset viewer.