34 lines
695 B
C
34 lines
695 B
C
/*! \file FGSMobileIdentity.h
|
|
|
|
\brief 5GS Mobile Identity for registration request procedures
|
|
\author Yoshio INOUE, Masayuki HARADA
|
|
\email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com
|
|
\date 2020
|
|
\version 0.1
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
|
|
#include "OctetString.h"
|
|
|
|
#ifndef NRUE_SECURITY_CAPABILITY_H_
|
|
#define NRUE_SECURITY_CAPABILITY_H_
|
|
|
|
|
|
typedef struct {
|
|
uint8_t iei;
|
|
uint8_t length;
|
|
uint8_t fg_EA;
|
|
uint8_t fg_IA;
|
|
uint8_t EEA;
|
|
uint8_t EIA;
|
|
} NrUESecurityCapability;
|
|
|
|
|
|
int encode_nrue_security_capability(NrUESecurityCapability *nruesecuritycapability, uint8_t iei, uint8_t *buffer, uint32_t len);
|
|
|
|
#endif /* NRUE_SECURITY_CAPABILITY_H_ */
|
|
|