Home
last modified time | relevance | path

Searched refs:enc (Results 1 – 6 of 6) sorted by relevance

/fs/ksmbd/
Dauth.c999 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()
Dauth.h40 unsigned int nvec, int enc);
Dserver.c247 if (work->sess && work->sess->enc && work->encrypted && in __handle_ksmbd_work()
Dsmb2pdu.c1547 sess->enc = true; in ntlm_authenticate()
1633 sess->enc = true; in krb5_authenticate()
/fs/ksmbd/mgmt/
Duser_session.h43 bool enc; member
/fs/cifs/
Dsmb2ops.c4500 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()