Vanetza
Loading...
Searching...
No Matches
HashedData.c
1/*
2 * Generated by asn1c
3 * From ASN.1 module "Ieee1609Dot2"
4 * found in "Ieee1609Dot2.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_Security_ -R`
6 */
7
8#include "HashedData.h"
9
10#if !defined(ASN_DISABLE_OER_SUPPORT)
11asn_oer_constraints_t asn_OER_type_Vanetza_Security_HashedData_constr_1 CC_NOTUSED = {
12 { 0, 0 },
13 -1};
14#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
15#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
16asn_per_constraints_t asn_PER_type_Vanetza_Security_HashedData_constr_1 CC_NOTUSED = {
17 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
19 0, 0 /* No PER value map */
20};
21#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
22asn_TYPE_member_t asn_MBR_Vanetza_Security_HashedData_1[] = {
23 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_HashedData, choice.sha256HashedData),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 -1, /* IMPLICIT tag at current level */
26 &asn_DEF_Vanetza_Security_HashedId32,
27 0,
28 {
29#if !defined(ASN_DISABLE_OER_SUPPORT)
30 0,
31#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
32#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
33 0,
34#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
35#if !defined(ASN_DISABLE_JER_SUPPORT)
36 0,
37#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
38 0
39 },
40 0, 0, /* No default value */
41 "sha256HashedData"
42 },
43 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_HashedData, choice.sha384HashedData),
44 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
45 -1, /* IMPLICIT tag at current level */
46 &asn_DEF_Vanetza_Security_HashedId48,
47 0,
48 {
49#if !defined(ASN_DISABLE_OER_SUPPORT)
50 0,
51#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
52#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
53 0,
54#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
55#if !defined(ASN_DISABLE_JER_SUPPORT)
56 0,
57#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
58 0
59 },
60 0, 0, /* No default value */
61 "sha384HashedData"
62 },
63 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_HashedData, choice.sm3HashedData),
64 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
65 -1, /* IMPLICIT tag at current level */
66 &asn_DEF_Vanetza_Security_HashedId32,
67 0,
68 {
69#if !defined(ASN_DISABLE_OER_SUPPORT)
70 0,
71#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
72#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
73 0,
74#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
75#if !defined(ASN_DISABLE_JER_SUPPORT)
76 0,
77#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
78 0
79 },
80 0, 0, /* No default value */
81 "sm3HashedData"
82 },
83};
84static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_HashedData_tag2el_1[] = {
85 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sha256HashedData */
86 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sha384HashedData */
87 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* sm3HashedData */
88};
89asn_CHOICE_specifics_t asn_SPC_Vanetza_Security_HashedData_specs_1 = {
90 sizeof(struct Vanetza_Security_HashedData),
91 offsetof(struct Vanetza_Security_HashedData, _asn_ctx),
92 offsetof(struct Vanetza_Security_HashedData, present),
93 sizeof(((struct Vanetza_Security_HashedData *)0)->present),
94 asn_MAP_Vanetza_Security_HashedData_tag2el_1,
95 3, /* Count of tags in the map */
96 0, 0,
97 1 /* Extensions start */
98};
99asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_HashedData = {
100 "HashedData",
101 "HashedData",
102 &asn_OP_CHOICE,
103 0, /* No effective tags (pointer) */
104 0, /* No effective tags (count) */
105 0, /* No tags (pointer) */
106 0, /* No tags (count) */
107 {
108#if !defined(ASN_DISABLE_OER_SUPPORT)
109 &asn_OER_type_Vanetza_Security_HashedData_constr_1,
110#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
111#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
112 &asn_PER_type_Vanetza_Security_HashedData_constr_1,
113#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
114#if !defined(ASN_DISABLE_JER_SUPPORT)
115 0,
116#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
117 CHOICE_constraint
118 },
119 asn_MBR_Vanetza_Security_HashedData_1,
120 3, /* Elements count */
121 &asn_SPC_Vanetza_Security_HashedData_specs_1 /* Additional specs */
122};