Home
last modified time | relevance | path

Searched refs:Ciphers (Results 1 – 4 of 4) sorted by relevance

/fs/cifs/
Dsmb2pdu.c477 pneg_ctxt->Ciphers[0] = SMB2_ENCRYPTION_AES256_GCM; in build_encrypt_ctxt()
481 pneg_ctxt->Ciphers[0] = SMB2_ENCRYPTION_AES128_GCM; in build_encrypt_ctxt()
482 pneg_ctxt->Ciphers[1] = SMB2_ENCRYPTION_AES256_GCM; in build_encrypt_ctxt()
483 pneg_ctxt->Ciphers[2] = SMB2_ENCRYPTION_AES128_CCM; in build_encrypt_ctxt()
487 pneg_ctxt->Ciphers[0] = SMB2_ENCRYPTION_AES128_GCM; in build_encrypt_ctxt()
488 pneg_ctxt->Ciphers[1] = SMB2_ENCRYPTION_AES128_CCM; in build_encrypt_ctxt()
651 cifs_dbg(FYI, "SMB311 cipher type:%d\n", le16_to_cpu(ctxt->Ciphers[0])); in decode_encrypt_ctx()
653 if (ctxt->Ciphers[0] != SMB2_ENCRYPTION_AES256_GCM) { in decode_encrypt_ctx()
657 } else if (ctxt->Ciphers[0] == 0) { in decode_encrypt_ctx()
671 } else if ((ctxt->Ciphers[0] != SMB2_ENCRYPTION_AES128_CCM) && in decode_encrypt_ctx()
[all …]
Dsmb2pdu.h373 __le16 Ciphers[3]; member
/fs/ksmbd/
Dsmb2pdu.c797 pneg_ctxt->Ciphers[0] = cipher_type; in build_encrypt_ctxt()
934 if (pneg_ctxt->Ciphers[i] == SMB2_ENCRYPTION_AES128_GCM || in decode_encrypt_ctxt()
935 pneg_ctxt->Ciphers[i] == SMB2_ENCRYPTION_AES128_CCM || in decode_encrypt_ctxt()
936 pneg_ctxt->Ciphers[i] == SMB2_ENCRYPTION_AES256_CCM || in decode_encrypt_ctxt()
937 pneg_ctxt->Ciphers[i] == SMB2_ENCRYPTION_AES256_GCM) { in decode_encrypt_ctxt()
939 pneg_ctxt->Ciphers[i]); in decode_encrypt_ctxt()
940 conn->cipher_type = pneg_ctxt->Ciphers[i]; in decode_encrypt_ctxt()
Dsmb2pdu.h297 __le16 Ciphers[]; member