Searched refs:enc (Results 1 – 9 of 9) sorted by relevance
/fs/smb/server/ |
D | auth.c | 1001 int enc, u8 *key) in ksmbd_get_encryption_key() argument 1006 if (enc) in ksmbd_get_encryption_key() 1013 ses_enc_key = enc ? sess->smb3encryptionkey : in ksmbd_get_encryption_key() 1105 unsigned int nvec, int enc) in ksmbd_crypt_message() argument 1123 enc, in ksmbd_crypt_message() 1126 pr_err("Could not get %scryption key\n", enc ? "en" : "de"); in ksmbd_crypt_message() 1168 if (!enc) { in ksmbd_crypt_message() 1199 if (enc) in ksmbd_crypt_message() 1206 if (enc) in ksmbd_crypt_message()
|
D | auth.h | 40 unsigned int nvec, int enc);
|
D | server.c | 244 if (work->sess && work->sess->enc && work->encrypted && in __handle_ksmbd_work()
|
D | smb2pdu.c | 1533 sess->enc = true; in ntlm_authenticate() 1619 sess->enc = true; in krb5_authenticate()
|
/fs/smb/client/ |
D | smb2transport.c | 918 if (!server->secmech.enc) { in smb3_crypto_aead_allocate() 929 server->secmech.enc = tfm; in smb3_crypto_aead_allocate() 939 crypto_free_aead(server->secmech.enc); in smb3_crypto_aead_allocate() 940 server->secmech.enc = NULL; in smb3_crypto_aead_allocate()
|
D | cifsencrypt.c | 852 if (server->secmech.enc) { in cifs_crypto_secmech_release() 853 crypto_free_aead(server->secmech.enc); in cifs_crypto_secmech_release() 854 server->secmech.enc = NULL; in cifs_crypto_secmech_release()
|
D | smb2ops.c | 4178 smb2_get_enc_key(struct TCP_Server_Info *server, __u64 ses_id, int enc, u8 *key) in smb2_get_enc_key() argument 4191 ses_enc_key = enc ? ses->smb3encryptionkey : in smb2_get_enc_key() 4214 struct smb_rqst *rqst, int enc) in crypt_message() argument 4231 rc = smb2_get_enc_key(server, le64_to_cpu(tr_hdr->SessionId), enc, key); in crypt_message() 4234 enc ? "en" : "de", le64_to_cpu(tr_hdr->SessionId)); in crypt_message() 4244 tfm = enc ? server->secmech.enc : server->secmech.dec; in crypt_message() 4268 if (!enc) { in crypt_message() 4288 rc = crypto_wait_req(enc ? crypto_aead_encrypt(req) in crypt_message() 4291 if (!rc && enc) in crypt_message()
|
D | cifsglob.h | 187 struct crypto_aead *enc; /* smb3 encryption AEAD TFM (AES-CCM and AES-GCM) */ member
|
/fs/smb/server/mgmt/ |
D | user_session.h | 43 bool enc; member
|