Vanetza
 
Loading...
Searching...
No Matches
SymmAlgorithm.c
1/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "IEEE1609dot2BaseTypes"
4 * found in "asn1/IEEE1609dot2BaseTypes.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
6 */
7
8#include "SymmAlgorithm.h"
9
10/*
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
13 */
14#if !defined(ASN_DISABLE_OER_SUPPORT)
15static asn_oer_constraints_t asn_OER_type_SymmAlgorithm_constr_1 CC_NOTUSED = {
16 { 0, 0 },
17 -1};
18#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
19#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
20asn_per_constraints_t asn_PER_type_SymmAlgorithm_constr_1 CC_NOTUSED = {
21 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
22 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
23 0, 0 /* No PER value map */
24};
25#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
26static const asn_INTEGER_enum_map_t asn_MAP_SymmAlgorithm_value2enum_1[] = {
27 { 0, 9, "aes128Ccm" }
28 /* This list is extensible */
29};
30static const unsigned int asn_MAP_SymmAlgorithm_enum2value_1[] = {
31 0 /* aes128Ccm(0) */
32 /* This list is extensible */
33};
34const asn_INTEGER_specifics_t asn_SPC_SymmAlgorithm_specs_1 = {
35 asn_MAP_SymmAlgorithm_value2enum_1, /* "tag" => N; sorted by tag */
36 asn_MAP_SymmAlgorithm_enum2value_1, /* N => "tag"; sorted by N */
37 1, /* Number of elements in the maps */
38 2, /* Extensions before this member */
39 1, /* Strict enumeration */
40 0, /* Native long size */
41 0
42};
43static const ber_tlv_tag_t asn_DEF_SymmAlgorithm_tags_1[] = {
44 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
45};
46asn_TYPE_descriptor_t asn_DEF_SymmAlgorithm = {
47 "SymmAlgorithm",
48 "SymmAlgorithm",
49 &asn_OP_NativeEnumerated,
50 asn_DEF_SymmAlgorithm_tags_1,
51 sizeof(asn_DEF_SymmAlgorithm_tags_1)
52 /sizeof(asn_DEF_SymmAlgorithm_tags_1[0]), /* 1 */
53 asn_DEF_SymmAlgorithm_tags_1, /* Same as above */
54 sizeof(asn_DEF_SymmAlgorithm_tags_1)
55 /sizeof(asn_DEF_SymmAlgorithm_tags_1[0]), /* 1 */
56 {
57#if !defined(ASN_DISABLE_OER_SUPPORT)
58 &asn_OER_type_SymmAlgorithm_constr_1,
59#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
60#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
61 &asn_PER_type_SymmAlgorithm_constr_1,
62#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
63 NativeEnumerated_constraint
64 },
65 0, 0, /* Defined elsewhere */
66 &asn_SPC_SymmAlgorithm_specs_1 /* Additional specs */
67};
68