From b1dd4a3b1acdfb4a5e912edee8ee51cf89a78b31 Mon Sep 17 00:00:00 2001 From: Lionel Gauthier <lionel.gauthier@eurecom.fr> Date: Tue, 5 Aug 2014 11:20:01 +0000 Subject: [PATCH] security algorithms git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5662 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair-cn/NAS/nas_itti_messaging.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openair-cn/NAS/nas_itti_messaging.h b/openair-cn/NAS/nas_itti_messaging.h index feeba3f6ecf..eaed684c120 100644 --- a/openair-cn/NAS/nas_itti_messaging.h +++ b/openair-cn/NAS/nas_itti_messaging.h @@ -130,7 +130,9 @@ static inline void nas_itti_establish_cnf( const uint32_t ue_idP, const nas_error_code_t error_codeP, void *const data_pP, - const uint32_t lengthP) + const uint32_t lengthP, + const uint16_t selected_encryption_algorithmP, + const uint16_t selected_integrity_algorithmP) { MessageDef *message_p = NULL; @@ -142,6 +144,8 @@ static inline void nas_itti_establish_cnf( NAS_CONNECTION_ESTABLISHMENT_CNF(message_p).errCode = error_codeP; NAS_CONNECTION_ESTABLISHMENT_CNF(message_p).nasMsg.data = data_pP; NAS_CONNECTION_ESTABLISHMENT_CNF(message_p).nasMsg.length = lengthP; + NAS_CONNECTION_ESTABLISHMENT_CNF(message_p).selected_encryption_algorithm = selected_encryption_algorithmP; + NAS_CONNECTION_ESTABLISHMENT_CNF(message_p).selected_integrity_algorithm = selected_integrity_algorithmP; itti_send_msg_to_task(TASK_MME_APP, INSTANCE_DEFAULT, message_p); } -- GitLab