2
3
4
5
6
11memb_Vanetza_Security_x_constraint_6(
const asn_TYPE_descriptor_t *td,
const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
13 const OCTET_STRING_t *st = (
const OCTET_STRING_t *)sptr;
17 ASN__CTFAIL(app_key, td, sptr,
18 "%s: value not given (%s:%d)",
19 td->name, __FILE__, __LINE__);
29 ASN__CTFAIL(app_key, td, sptr,
30 "%s: constraint failed (%s:%d)",
31 td->name, __FILE__, __LINE__);
37memb_Vanetza_Security_y_constraint_6(
const asn_TYPE_descriptor_t *td,
const void *sptr,
38 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
39 const OCTET_STRING_t *st = (
const OCTET_STRING_t *)sptr;
43 ASN__CTFAIL(app_key, td, sptr,
44 "%s: value not given (%s:%d)",
45 td->name, __FILE__, __LINE__);
55 ASN__CTFAIL(app_key, td, sptr,
56 "%s: constraint failed (%s:%d)",
57 td->name, __FILE__, __LINE__);
63memb_Vanetza_Security_x_only_constraint_1(
const asn_TYPE_descriptor_t *td,
const void *sptr,
64 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
65 const OCTET_STRING_t *st = (
const OCTET_STRING_t *)sptr;
69 ASN__CTFAIL(app_key, td, sptr,
70 "%s: value not given (%s:%d)",
71 td->name, __FILE__, __LINE__);
81 ASN__CTFAIL(app_key, td, sptr,
82 "%s: constraint failed (%s:%d)",
83 td->name, __FILE__, __LINE__);
89memb_Vanetza_Security_compressed_y_0_constraint_1(
const asn_TYPE_descriptor_t *td,
const void *sptr,
90 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
91 const OCTET_STRING_t *st = (
const OCTET_STRING_t *)sptr;
95 ASN__CTFAIL(app_key, td, sptr,
96 "%s: value not given (%s:%d)",
97 td->name, __FILE__, __LINE__);
107 ASN__CTFAIL(app_key, td, sptr,
108 "%s: constraint failed (%s:%d)",
109 td->name, __FILE__, __LINE__);
115memb_Vanetza_Security_compressed_y_1_constraint_1(
const asn_TYPE_descriptor_t *td,
const void *sptr,
116 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
117 const OCTET_STRING_t *st = (
const OCTET_STRING_t *)sptr;
121 ASN__CTFAIL(app_key, td, sptr,
122 "%s: value not given (%s:%d)",
123 td->name, __FILE__, __LINE__);
133 ASN__CTFAIL(app_key, td, sptr,
134 "%s: constraint failed (%s:%d)",
135 td->name, __FILE__, __LINE__);
140#if !defined(ASN_DISABLE_OER_SUPPORT)
141static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_x_constr_7 CC_NOTUSED = {
145#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
146static asn_per_constraints_t asn_PER_memb_Vanetza_Security_x_constr_7 CC_NOTUSED = {
147 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
148 { APC_CONSTRAINED, 0, 0, 32, 32 } ,
152#if !defined(ASN_DISABLE_OER_SUPPORT)
153static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_y_constr_8 CC_NOTUSED = {
157#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
158static asn_per_constraints_t asn_PER_memb_Vanetza_Security_y_constr_8 CC_NOTUSED = {
159 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
160 { APC_CONSTRAINED, 0, 0, 32, 32 } ,
164#if !defined(ASN_DISABLE_OER_SUPPORT)
165static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_x_only_constr_2 CC_NOTUSED = {
169#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
170static asn_per_constraints_t asn_PER_memb_Vanetza_Security_x_only_constr_2 CC_NOTUSED = {
171 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
172 { APC_CONSTRAINED, 0, 0, 32, 32 } ,
176#if !defined(ASN_DISABLE_OER_SUPPORT)
177static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_compressed_y_0_constr_4 CC_NOTUSED = {
181#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
182static asn_per_constraints_t asn_PER_memb_Vanetza_Security_compressed_y_0_constr_4 CC_NOTUSED = {
183 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
184 { APC_CONSTRAINED, 0, 0, 32, 32 } ,
188#if !defined(ASN_DISABLE_OER_SUPPORT)
189static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_compressed_y_1_constr_5 CC_NOTUSED = {
193#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
194static asn_per_constraints_t asn_PER_memb_Vanetza_Security_compressed_y_1_constr_5 CC_NOTUSED = {
195 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
196 { APC_CONSTRAINED, 0, 0, 32, 32 } ,
200#if !defined(ASN_DISABLE_OER_SUPPORT)
201asn_oer_constraints_t asn_OER_type_Vanetza_Security_EccP256CurvePoint_constr_1 CC_NOTUSED = {
205#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
206asn_per_constraints_t asn_PER_type_Vanetza_Security_EccP256CurvePoint_constr_1 CC_NOTUSED = {
207 { APC_CONSTRAINED, 3, 3, 0, 4 } ,
208 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
212static asn_TYPE_member_t asn_MBR_Vanetza_Security_uncompressedP256_6[] = {
213 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_EccP256CurvePoint__uncompressedP256, x),
214 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
216 &asn_DEF_OCTET_STRING,
219#if !defined(ASN_DISABLE_OER_SUPPORT)
220 &asn_OER_memb_Vanetza_Security_x_constr_7,
222#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
223 &asn_PER_memb_Vanetza_Security_x_constr_7,
225#if !defined(ASN_DISABLE_JER_SUPPORT)
228 memb_Vanetza_Security_x_constraint_6
233 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_EccP256CurvePoint__uncompressedP256, y),
234 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
236 &asn_DEF_OCTET_STRING,
239#if !defined(ASN_DISABLE_OER_SUPPORT)
240 &asn_OER_memb_Vanetza_Security_y_constr_8,
242#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
243 &asn_PER_memb_Vanetza_Security_y_constr_8,
245#if !defined(ASN_DISABLE_JER_SUPPORT)
248 memb_Vanetza_Security_y_constraint_6
254static const ber_tlv_tag_t asn_DEF_Vanetza_Security_uncompressedP256_tags_6[] = {
255 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
256 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
258static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_uncompressedP256_tag2el_6[] = {
259 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
260 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }
262static asn_SEQUENCE_specifics_t asn_SPC_Vanetza_Security_uncompressedP256_specs_6 = {
263 sizeof(
struct Vanetza_Security_EccP256CurvePoint__uncompressedP256),
264 offsetof(
struct Vanetza_Security_EccP256CurvePoint__uncompressedP256, _asn_ctx),
265 asn_MAP_Vanetza_Security_uncompressedP256_tag2el_6,
271asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_uncompressedP256_6 = {
275 asn_DEF_Vanetza_Security_uncompressedP256_tags_6,
276 sizeof(asn_DEF_Vanetza_Security_uncompressedP256_tags_6)
277 /
sizeof(asn_DEF_Vanetza_Security_uncompressedP256_tags_6[0]) - 1,
278 asn_DEF_Vanetza_Security_uncompressedP256_tags_6,
279 sizeof(asn_DEF_Vanetza_Security_uncompressedP256_tags_6)
280 /
sizeof(asn_DEF_Vanetza_Security_uncompressedP256_tags_6[0]),
282#if !defined(ASN_DISABLE_OER_SUPPORT)
285#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
288#if !defined(ASN_DISABLE_JER_SUPPORT)
293 asn_MBR_Vanetza_Security_uncompressedP256_6,
295 &asn_SPC_Vanetza_Security_uncompressedP256_specs_6
298asn_TYPE_member_t asn_MBR_Vanetza_Security_EccP256CurvePoint_1[] = {
299 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_EccP256CurvePoint, choice.x_only),
300 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
302 &asn_DEF_OCTET_STRING,
305#if !defined(ASN_DISABLE_OER_SUPPORT)
306 &asn_OER_memb_Vanetza_Security_x_only_constr_2,
308#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
309 &asn_PER_memb_Vanetza_Security_x_only_constr_2,
311#if !defined(ASN_DISABLE_JER_SUPPORT)
314 memb_Vanetza_Security_x_only_constraint_1
319 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_EccP256CurvePoint, choice.fill),
320 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
325#if !defined(ASN_DISABLE_OER_SUPPORT)
328#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
331#if !defined(ASN_DISABLE_JER_SUPPORT)
339 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_EccP256CurvePoint, choice.compressed_y_0),
340 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
342 &asn_DEF_OCTET_STRING,
345#if !defined(ASN_DISABLE_OER_SUPPORT)
346 &asn_OER_memb_Vanetza_Security_compressed_y_0_constr_4,
348#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
349 &asn_PER_memb_Vanetza_Security_compressed_y_0_constr_4,
351#if !defined(ASN_DISABLE_JER_SUPPORT)
354 memb_Vanetza_Security_compressed_y_0_constraint_1
359 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_EccP256CurvePoint, choice.compressed_y_1),
360 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
362 &asn_DEF_OCTET_STRING,
365#if !defined(ASN_DISABLE_OER_SUPPORT)
366 &asn_OER_memb_Vanetza_Security_compressed_y_1_constr_5,
368#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
369 &asn_PER_memb_Vanetza_Security_compressed_y_1_constr_5,
371#if !defined(ASN_DISABLE_JER_SUPPORT)
374 memb_Vanetza_Security_compressed_y_1_constraint_1
379 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_EccP256CurvePoint, choice.uncompressedP256),
380 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
382 &asn_DEF_Vanetza_Security_uncompressedP256_6,
385#if !defined(ASN_DISABLE_OER_SUPPORT)
388#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
391#if !defined(ASN_DISABLE_JER_SUPPORT)
400static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_EccP256CurvePoint_tag2el_1[] = {
401 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
402 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 },
403 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 },
404 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 },
405 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }
407asn_CHOICE_specifics_t asn_SPC_Vanetza_Security_EccP256CurvePoint_specs_1 = {
408 sizeof(
struct Vanetza_Security_EccP256CurvePoint),
409 offsetof(
struct Vanetza_Security_EccP256CurvePoint, _asn_ctx),
410 offsetof(
struct Vanetza_Security_EccP256CurvePoint, present),
411 sizeof(((
struct Vanetza_Security_EccP256CurvePoint *)0)->present),
412 asn_MAP_Vanetza_Security_EccP256CurvePoint_tag2el_1,
417asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_EccP256CurvePoint = {
426#if !defined(ASN_DISABLE_OER_SUPPORT)
427 &asn_OER_type_Vanetza_Security_EccP256CurvePoint_constr_1,
429#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
430 &asn_PER_type_Vanetza_Security_EccP256CurvePoint_constr_1,
432#if !defined(ASN_DISABLE_JER_SUPPORT)
437 asn_MBR_Vanetza_Security_EccP256CurvePoint_1,
439 &asn_SPC_Vanetza_Security_EccP256CurvePoint_specs_1