]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/NetworkDefines.dsc.inc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / NetworkPkg / NetworkDefines.dsc.inc
index 54deb6342aaa89830292b65eedec067c07bf8343..e39a9cb3dc09ae0afe72e0c0252dc85c0560e618 100644 (file)
@@ -19,6 +19,7 @@
 #   DEFINE NETWORK_HTTP_BOOT_ENABLE       = TRUE\r
 #   DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = FALSE\r
 #   DEFINE NETWORK_ISCSI_ENABLE           = FALSE\r
+#   DEFINE NETWORK_ISCSI_MD5_ENABLE       = TRUE\r
 #   DEFINE NETWORK_VLAN_ENABLE            = TRUE\r
 #\r
 # Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
   DEFINE NETWORK_ISCSI_ENABLE = FALSE\r
 !endif\r
 \r
+!ifndef NETWORK_ISCSI_MD5_ENABLE\r
+  #\r
+  # This flag enables the deprecated MD5 hash algorithm in iSCSI CHAP\r
+  # authentication.\r
+  #\r
+  # Note: The NETWORK_ISCSI_MD5_ENABLE flag only makes a difference if\r
+  #       NETWORK_ISCSI_ENABLE is TRUE; otherwise, NETWORK_ISCSI_MD5_ENABLE is\r
+  #       ignored.\r
+  #\r
+  #       With NETWORK_ISCSI_MD5_ENABLE set to TRUE, MD5 is enabled as the\r
+  #       least preferred CHAP hash algorithm. With NETWORK_ISCSI_MD5_ENABLE\r
+  #       set to FALSE, MD5 is disabled statically, at build time.\r
+  #\r
+  #       The default value is TRUE, because RFC 7143 mandates MD5, and because\r
+  #       several vendors' iSCSI targets only support MD5, for CHAP.\r
+  #\r
+  DEFINE NETWORK_ISCSI_MD5_ENABLE = TRUE\r
+!endif\r
+\r
 !if $(NETWORK_ENABLE) == TRUE\r
   #\r
   # Check the flags to see if there is any conflict.\r