Searched refs:enc (Results 1 – 6 of 6) sorted by relevance
/fs/ksmbd/ |
D | auth.c | 999 int enc, u8 *key) in ksmbd_get_encryption_key() argument 1004 if (enc) in ksmbd_get_encryption_key() 1011 ses_enc_key = enc ? sess->smb3encryptionkey : in ksmbd_get_encryption_key() 1103 unsigned int nvec, int enc) in ksmbd_crypt_message() argument 1121 enc, in ksmbd_crypt_message() 1124 pr_err("Could not get %scryption key\n", enc ? "en" : "de"); in ksmbd_crypt_message() 1166 if (!enc) { in ksmbd_crypt_message() 1197 if (enc) in ksmbd_crypt_message() 1204 if (enc) in ksmbd_crypt_message()
|
D | auth.h | 40 unsigned int nvec, int enc);
|
D | server.c | 247 if (work->sess && work->sess->enc && work->encrypted && in __handle_ksmbd_work()
|
D | smb2pdu.c | 1547 sess->enc = true; in ntlm_authenticate() 1633 sess->enc = true; in krb5_authenticate()
|
/fs/ksmbd/mgmt/ |
D | user_session.h | 43 bool enc; member
|
/fs/cifs/ |
D | smb2ops.c | 4500 smb2_get_enc_key(struct TCP_Server_Info *server, __u64 ses_id, int enc, u8 *key) in smb2_get_enc_key() argument 4509 ses_enc_key = enc ? ses->smb3encryptionkey : in smb2_get_enc_key() 4530 struct smb_rqst *rqst, int enc) in crypt_message() argument 4546 rc = smb2_get_enc_key(server, tr_hdr->SessionId, enc, key); in crypt_message() 4549 enc ? "en" : "de"); in crypt_message() 4559 tfm = enc ? server->secmech.ccmaesencrypt : in crypt_message() 4583 if (!enc) { in crypt_message() 4603 rc = crypto_wait_req(enc ? crypto_aead_encrypt(req) in crypt_message() 4606 if (!rc && enc) in crypt_message()
|