Home
last modified time | relevance | path

Searched refs:cipher_type (Results 1 – 10 of 10) sorted by relevance

/fs/smb/server/
A Dauth.c756 conn->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) in generate_key()
878 if (conn->cipher_type == SMB2_ENCRYPTION_AES256_CCM || in generate_smb3encryptionkey()
879 conn->cipher_type == SMB2_ENCRYPTION_AES256_GCM) { in generate_smb3encryptionkey()
1115 if (conn->cipher_type == SMB2_ENCRYPTION_AES128_GCM || in ksmbd_crypt_message()
1116 conn->cipher_type == SMB2_ENCRYPTION_AES256_GCM) in ksmbd_crypt_message()
1125 if (conn->cipher_type == SMB2_ENCRYPTION_AES128_GCM || in ksmbd_crypt_message()
1126 conn->cipher_type == SMB2_ENCRYPTION_AES256_GCM) in ksmbd_crypt_message()
1131 if (conn->cipher_type == SMB2_ENCRYPTION_AES256_CCM || in ksmbd_crypt_message()
1132 conn->cipher_type == SMB2_ENCRYPTION_AES256_GCM) in ksmbd_crypt_message()
1172 if (conn->cipher_type == SMB2_ENCRYPTION_AES128_GCM || in ksmbd_crypt_message()
[all …]
A Dconnection.h110 __le16 cipher_type; member
A Dsmb2pdu.c787 __le16 cipher_type) in build_encrypt_ctxt() argument
793 pneg_ctxt->Ciphers[0] = cipher_type; in build_encrypt_ctxt()
845 if (conn->cipher_type) { in assemble_neg_contexts()
852 conn->cipher_type); in assemble_neg_contexts()
916 conn->cipher_type = 0; in decode_encrypt_ctxt()
937 conn->cipher_type = pneg_ctxt->Ciphers[i]; in decode_encrypt_ctxt()
959 conn->cipher_type; in smb3_encryption_negotiated()
1049 if (conn->cipher_type) in deassemble_neg_contexts()
9039 if (cipher_type == SMB2_ENCRYPTION_AES128_GCM || in fill_transform_hdr()
9040 cipher_type == SMB2_ENCRYPTION_AES256_GCM) in fill_transform_hdr()
[all …]
/fs/smb/client/
A Dsmb2transport.c393 if ((server->cipher_type == SMB2_ENCRYPTION_AES256_CCM) || in generate_key()
394 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) { in generate_key()
505 cifs_dbg(VFS, "Cipher type %d\n", server->cipher_type); in generate_smb3signingkey()
510 if ((server->cipher_type == SMB2_ENCRYPTION_AES256_CCM) || in generate_smb3signingkey()
511 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) { in generate_smb3signingkey()
944 if ((server->cipher_type == SMB2_ENCRYPTION_AES128_GCM) || in smb3_crypto_aead_allocate()
945 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) in smb3_crypto_aead_allocate()
958 if ((server->cipher_type == SMB2_ENCRYPTION_AES128_GCM) || in smb3_crypto_aead_allocate()
959 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) in smb3_crypto_aead_allocate()
A Dcifs_ioctl.h63 __u16 cipher_type; member
81 __u16 cipher_type; member
A Dioctl.c292 switch (ses->server->cipher_type) { in cifs_dump_full_key()
316 out.cipher_type = le16_to_cpu(ses->server->cipher_type); in cifs_dump_full_key()
505 pkey_inf.cipher_type = in cifs_ioctl()
506 le16_to_cpu(tcon->ses->server->cipher_type); in cifs_ioctl()
A Dsmb2ops.c4180 struct smb_rqst *old_rq, __le16 cipher_type) in fill_transform_hdr() argument
4189 if ((cipher_type == SMB2_ENCRYPTION_AES128_GCM) || in fill_transform_hdr()
4190 (cipher_type == SMB2_ENCRYPTION_AES256_GCM)) in fill_transform_hdr()
4340 if ((server->cipher_type == SMB2_ENCRYPTION_AES256_CCM) || in crypt_message()
4341 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) in crypt_message()
4367 if ((server->cipher_type == SMB2_ENCRYPTION_AES128_GCM) || in crypt_message()
4368 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) in crypt_message()
4523 fill_transform_hdr(tr_hdr, orig_len, old_rq, server->cipher_type); in smb3_init_transform_rq()
4569 if ((server->cipher_type == SMB2_ENCRYPTION_AES128_GCM) || in decrypt_raw_data()
4570 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) in decrypt_raw_data()
A Dcifs_debug.c582 if (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM) in cifs_debug_data_proc_show()
A Dsmb2pdu.c864 server->cipher_type = 0; in decode_encrypt_ctx()
875 server->cipher_type = ctxt->Ciphers[0]; in decode_encrypt_ctx()
1234 server->cipher_type = SMB2_ENCRYPTION_AES128_CCM; in SMB2_negotiate()
1269 if (server->cipher_type && !rc) in SMB2_negotiate()
A Dcifsglob.h824 __le16 cipher_type; member

Completed in 378 milliseconds