From 198059669c4c2e920634f1a3369a4e17aa07c1ca Mon Sep 17 00:00:00 2001
From: Lionel Gauthier <lionel.gauthier@eurecom.fr>
Date: Tue, 29 Jul 2014 13:57:57 +0000
Subject: [PATCH] Security algorithms selection

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5625 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 .../GENERIC-LTE-EPC/CONF/GENERIC_VM/epc_sfr_mme0.conf      | 7 +++++++
 .../CONF/VIRTUAL.ENB_MME_IN_1_HOST/epc_sfr_calisson.conf   | 7 +++++++
 .../epc_sfr_olympie-Latitude-E6520.conf                    | 7 +++++++
 .../CONF/VLAN.VIRTUAL.YANG-HADES/epc.sfr.hades.vlan.conf   | 7 +++++++
 targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.memphis.conf | 7 +++++++
 targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.sud.conf     | 7 +++++++
 .../GENERIC-LTE-EPC/CONF/epc.sfr.default.vlan.conf         | 7 +++++++
 .../PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.hades.vlan.conf  | 7 +++++++
 .../GENERIC-LTE-EPC/CONF/epc.sfr.yang.vswitch.conf         | 7 +++++++
 9 files changed, 63 insertions(+)

diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/GENERIC_VM/epc_sfr_mme0.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/GENERIC_VM/epc_sfr_mme0.conf
index 404b995131..fbe5949444 100644
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/GENERIC_VM/epc_sfr_mme0.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/GENERIC_VM/epc_sfr_mme0.conf
@@ -68,6 +68,13 @@ MME :
         );
     };
     
+    NAS :
+    {
+        # 3GPP TS 33.401 section 7.2.4.3 Procedures for NAS algorithm selection
+        ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA1" , "EIA2" , "EIA0" ];
+        ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
+    };
+    
     NETWORK_INTERFACES : 
     {
         MME_INTERFACE_NAME_FOR_S1_MME         = "vboxnet0";
diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VIRTUAL.ENB_MME_IN_1_HOST/epc_sfr_calisson.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VIRTUAL.ENB_MME_IN_1_HOST/epc_sfr_calisson.conf
index 10bc3b2aca..d0234d872f 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VIRTUAL.ENB_MME_IN_1_HOST/epc_sfr_calisson.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VIRTUAL.ENB_MME_IN_1_HOST/epc_sfr_calisson.conf
@@ -68,6 +68,13 @@ MME :
         );
     };
     
+    NAS :
+    {
+        # 3GPP TS 33.401 section 7.2.4.3 Procedures for NAS algorithm selection
+        ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA1" , "EIA2" , "EIA0" ];
+        ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
+    };
+    
     NETWORK_INTERFACES : 
     {
         MME_INTERFACE_NAME_FOR_S1_MME         = "tun11";
diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VIRTUAL.ENB_MME_IN_1_HOST/epc_sfr_olympie-Latitude-E6520.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VIRTUAL.ENB_MME_IN_1_HOST/epc_sfr_olympie-Latitude-E6520.conf
index 3d1adb34a5..4b82bc8f66 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VIRTUAL.ENB_MME_IN_1_HOST/epc_sfr_olympie-Latitude-E6520.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VIRTUAL.ENB_MME_IN_1_HOST/epc_sfr_olympie-Latitude-E6520.conf
@@ -68,6 +68,13 @@ MME :
         );
     };
     
+    NAS :
+    {
+        # 3GPP TS 33.401 section 7.2.4.3 Procedures for NAS algorithm selection
+        ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA1" , "EIA2" , "EIA0" ];
+        ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
+    };
+    
     NETWORK_INTERFACES : 
     {
         MME_INTERFACE_NAME_FOR_S1_MME         = "tun11";
diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VLAN.VIRTUAL.YANG-HADES/epc.sfr.hades.vlan.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VLAN.VIRTUAL.YANG-HADES/epc.sfr.hades.vlan.conf
index 43eebac54b..61721244fb 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VLAN.VIRTUAL.YANG-HADES/epc.sfr.hades.vlan.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/VLAN.VIRTUAL.YANG-HADES/epc.sfr.hades.vlan.conf
@@ -75,6 +75,13 @@ MME :
         );
     };
     
+    NAS :
+    {
+        # 3GPP TS 33.401 section 7.2.4.3 Procedures for NAS algorithm selection
+        ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA1" , "EIA2" , "EIA0" ];
+        ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
+    };
+    
     NETWORK_INTERFACES : 
     {
         MME_INTERFACE_NAME_FOR_S1_MME         = "eth1.1";
diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.memphis.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.memphis.conf
index 7630c7b005..db374d5faa 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.memphis.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.memphis.conf
@@ -71,6 +71,13 @@ MME :
         );
     };
     
+    NAS :
+    {
+        # 3GPP TS 33.401 section 7.2.4.3 Procedures for NAS algorithm selection
+        ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA1" , "EIA2" , "EIA0" ];
+        ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
+    };
+    
     NETWORK_INTERFACES : 
     {
         MME_INTERFACE_NAME_FOR_S1_MME         = "eth0";
diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.sud.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.sud.conf
index a684b2ed96..23c92ee128 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.sud.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.pft.sud.conf
@@ -71,6 +71,13 @@ MME :
         );
     };
     
+    NAS :
+    {
+        # 3GPP TS 33.401 section 7.2.4.3 Procedures for NAS algorithm selection
+        ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA1" , "EIA2" , "EIA0" ];
+        ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
+    };
+    
     NETWORK_INTERFACES : 
     {
         MME_INTERFACE_NAME_FOR_S1_MME         = "eth0";
diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.default.vlan.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.default.vlan.conf
index 77bc1f0049..3f0a3811f4 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.default.vlan.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.default.vlan.conf
@@ -61,6 +61,13 @@ MME :
         );
     };
     
+    NAS :
+    {
+        # 3GPP TS 33.401 section 7.2.4.3 Procedures for NAS algorithm selection
+        ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA1" , "EIA2" , "EIA0" ];
+        ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
+    };
+    
     NETWORK_INTERFACES : 
     {
         MME_INTERFACE_NAME_FOR_S1_MME         = "eth2";
diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.hades.vlan.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.hades.vlan.conf
index b6e33646a1..13285428e3 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.hades.vlan.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.hades.vlan.conf
@@ -71,6 +71,13 @@ MME :
         );
     };
     
+    NAS :
+    {
+        # 3GPP TS 33.401 section 7.2.4.3 Procedures for NAS algorithm selection
+        ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA1" , "EIA2" , "EIA0" ];
+        ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
+    };
+    
     NETWORK_INTERFACES : 
     {
         MME_INTERFACE_NAME_FOR_S1_MME         = "eth1.1";
diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.yang.vswitch.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.yang.vswitch.conf
index f154c843c6..32d196a83d 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.yang.vswitch.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc.sfr.yang.vswitch.conf
@@ -61,6 +61,13 @@ MME :
         );
     };
     
+    NAS :
+    {
+        # 3GPP TS 33.401 section 7.2.4.3 Procedures for NAS algorithm selection
+        ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA1" , "EIA2" , "EIA0" ];
+        ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
+    };
+    
     NETWORK_INTERFACES : 
     {
         MME_INTERFACE_NAME_FOR_S1_MME         = "cpmme0";
-- 
GitLab