[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / IntegrityProtAlgorithm.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "./22April22_Paging/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "IntegrityProtAlgorithm.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 static asn_oer_constraints_t asn_OER_type_IntegrityProtAlgorithm_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_IntegrityProtAlgorithm_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  7 }    /* (0..7,...) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static const asn_INTEGER_enum_map_t asn_MAP_IntegrityProtAlgorithm_value2enum_1[] = {
23         { 0,    4,      "nia0" },
24         { 1,    4,      "nia1" },
25         { 2,    4,      "nia2" },
26         { 3,    4,      "nia3" },
27         { 4,    6,      "spare4" },
28         { 5,    6,      "spare3" },
29         { 6,    6,      "spare2" },
30         { 7,    6,      "spare1" }
31         /* This list is extensible */
32 };
33 static const unsigned int asn_MAP_IntegrityProtAlgorithm_enum2value_1[] = {
34         0,      /* nia0(0) */
35         1,      /* nia1(1) */
36         2,      /* nia2(2) */
37         3,      /* nia3(3) */
38         7,      /* spare1(7) */
39         6,      /* spare2(6) */
40         5,      /* spare3(5) */
41         4       /* spare4(4) */
42         /* This list is extensible */
43 };
44 const asn_INTEGER_specifics_t asn_SPC_IntegrityProtAlgorithm_specs_1 = {
45         asn_MAP_IntegrityProtAlgorithm_value2enum_1,    /* "tag" => N; sorted by tag */
46         asn_MAP_IntegrityProtAlgorithm_enum2value_1,    /* N => "tag"; sorted by N */
47         8,      /* Number of elements in the maps */
48         9,      /* Extensions before this member */
49         1,      /* Strict enumeration */
50         0,      /* Native long size */
51         0
52 };
53 static const ber_tlv_tag_t asn_DEF_IntegrityProtAlgorithm_tags_1[] = {
54         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
55 };
56 asn_TYPE_descriptor_t asn_DEF_IntegrityProtAlgorithm = {
57         "IntegrityProtAlgorithm",
58         "IntegrityProtAlgorithm",
59         &asn_OP_NativeEnumerated,
60         asn_DEF_IntegrityProtAlgorithm_tags_1,
61         sizeof(asn_DEF_IntegrityProtAlgorithm_tags_1)
62                 /sizeof(asn_DEF_IntegrityProtAlgorithm_tags_1[0]), /* 1 */
63         asn_DEF_IntegrityProtAlgorithm_tags_1,  /* Same as above */
64         sizeof(asn_DEF_IntegrityProtAlgorithm_tags_1)
65                 /sizeof(asn_DEF_IntegrityProtAlgorithm_tags_1[0]), /* 1 */
66         { &asn_OER_type_IntegrityProtAlgorithm_constr_1, &asn_PER_type_IntegrityProtAlgorithm_constr_1, NativeEnumerated_constraint },
67         0, 0,   /* Defined elsewhere */
68         &asn_SPC_IntegrityProtAlgorithm_specs_1 /* Additional specs */
69 };
70