8#include "EccP256CurvePoint.h"
11memb_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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)
201static asn_oer_constraints_t asn_OER_type_EccP256CurvePoint_constr_1 CC_NOTUSED = {
205#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
206asn_per_constraints_t asn_PER_type_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_uncompressedP256_6[] = {
213 { ATF_NOFLAGS, 0, offsetof(
struct 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_x_constr_7,
222#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
223 &asn_PER_memb_x_constr_7,
230 { ATF_NOFLAGS, 0, offsetof(
struct EccP256CurvePoint__uncompressedP256, y),
231 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
233 &asn_DEF_OCTET_STRING,
236#if !defined(ASN_DISABLE_OER_SUPPORT)
237 &asn_OER_memb_y_constr_8,
239#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
240 &asn_PER_memb_y_constr_8,
248static const ber_tlv_tag_t asn_DEF_uncompressedP256_tags_6[] = {
249 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
250 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
252static const asn_TYPE_tag2member_t asn_MAP_uncompressedP256_tag2el_6[] = {
253 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
254 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }
256static asn_SEQUENCE_specifics_t asn_SPC_uncompressedP256_specs_6 = {
257 sizeof(
struct EccP256CurvePoint__uncompressedP256),
258 offsetof(struct EccP256CurvePoint__uncompressedP256, _asn_ctx),
259 asn_MAP_uncompressedP256_tag2el_6,
265asn_TYPE_descriptor_t asn_DEF_uncompressedP256_6 = {
269 asn_DEF_uncompressedP256_tags_6,
270 sizeof(asn_DEF_uncompressedP256_tags_6)
271 /
sizeof(asn_DEF_uncompressedP256_tags_6[0]) - 1,
272 asn_DEF_uncompressedP256_tags_6,
273 sizeof(asn_DEF_uncompressedP256_tags_6)
274 /
sizeof(asn_DEF_uncompressedP256_tags_6[0]),
276#if !defined(ASN_DISABLE_OER_SUPPORT)
279#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
284 asn_MBR_uncompressedP256_6,
286 &asn_SPC_uncompressedP256_specs_6
289asn_TYPE_member_t asn_MBR_EccP256CurvePoint_1[] = {
291 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
293 &asn_DEF_OCTET_STRING,
296#if !defined(ASN_DISABLE_OER_SUPPORT)
297 &asn_OER_memb_x_only_constr_2,
299#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
300 &asn_PER_memb_x_only_constr_2,
302 memb_x_only_constraint_1
308 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
313#if !defined(ASN_DISABLE_OER_SUPPORT)
316#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
325 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
327 &asn_DEF_OCTET_STRING,
330#if !defined(ASN_DISABLE_OER_SUPPORT)
331 &asn_OER_memb_compressed_y_0_constr_4,
333#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
334 &asn_PER_memb_compressed_y_0_constr_4,
336 memb_compressed_y_0_constraint_1
342 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
344 &asn_DEF_OCTET_STRING,
347#if !defined(ASN_DISABLE_OER_SUPPORT)
348 &asn_OER_memb_compressed_y_1_constr_5,
350#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
351 &asn_PER_memb_compressed_y_1_constr_5,
353 memb_compressed_y_1_constraint_1
359 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
361 &asn_DEF_uncompressedP256_6,
364#if !defined(ASN_DISABLE_OER_SUPPORT)
367#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
376static const asn_TYPE_tag2member_t asn_MAP_EccP256CurvePoint_tag2el_1[] = {
377 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
378 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 },
379 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 },
380 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 },
381 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }
383asn_CHOICE_specifics_t asn_SPC_EccP256CurvePoint_specs_1 = {
388 asn_MAP_EccP256CurvePoint_tag2el_1,
393asn_TYPE_descriptor_t asn_DEF_EccP256CurvePoint = {
402#if !defined(ASN_DISABLE_OER_SUPPORT)
403 &asn_OER_type_EccP256CurvePoint_constr_1,
405#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
406 &asn_PER_type_EccP256CurvePoint_constr_1,
410 asn_MBR_EccP256CurvePoint_1,
412 &asn_SPC_EccP256CurvePoint_specs_1