8#include "EciesP256EncryptedKey.h"
11memb_c_constraint_1(
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_t_constraint_1(
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__);
62#if !defined(ASN_DISABLE_OER_SUPPORT)
63static asn_oer_constraints_t asn_OER_memb_c_constr_3 CC_NOTUSED = {
67#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
68static asn_per_constraints_t asn_PER_memb_c_constr_3 CC_NOTUSED = {
69 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
70 { APC_CONSTRAINED, 0, 0, 16, 16 } ,
74#if !defined(ASN_DISABLE_OER_SUPPORT)
75static asn_oer_constraints_t asn_OER_memb_t_constr_4 CC_NOTUSED = {
79#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
80static asn_per_constraints_t asn_PER_memb_t_constr_4 CC_NOTUSED = {
81 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
82 { APC_CONSTRAINED, 0, 0, 16, 16 } ,
86asn_TYPE_member_t asn_MBR_EciesP256EncryptedKey_1[] = {
88 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
90 &asn_DEF_EccP256CurvePoint,
93#if !defined(ASN_DISABLE_OER_SUPPORT)
96#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
105 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
107 &asn_DEF_OCTET_STRING,
110#if !defined(ASN_DISABLE_OER_SUPPORT)
111 &asn_OER_memb_c_constr_3,
113#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
114 &asn_PER_memb_c_constr_3,
122 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
124 &asn_DEF_OCTET_STRING,
127#if !defined(ASN_DISABLE_OER_SUPPORT)
128 &asn_OER_memb_t_constr_4,
130#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
131 &asn_PER_memb_t_constr_4,
139static const ber_tlv_tag_t asn_DEF_EciesP256EncryptedKey_tags_1[] = {
140 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
142static const asn_TYPE_tag2member_t asn_MAP_EciesP256EncryptedKey_tag2el_1[] = {
143 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
144 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 },
145 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }
147asn_SEQUENCE_specifics_t asn_SPC_EciesP256EncryptedKey_specs_1 = {
150 asn_MAP_EciesP256EncryptedKey_tag2el_1,
155asn_TYPE_descriptor_t asn_DEF_EciesP256EncryptedKey = {
156 "EciesP256EncryptedKey",
157 "EciesP256EncryptedKey",
159 asn_DEF_EciesP256EncryptedKey_tags_1,
160 sizeof(asn_DEF_EciesP256EncryptedKey_tags_1)
161 /
sizeof(asn_DEF_EciesP256EncryptedKey_tags_1[0]),
162 asn_DEF_EciesP256EncryptedKey_tags_1,
163 sizeof(asn_DEF_EciesP256EncryptedKey_tags_1)
164 /
sizeof(asn_DEF_EciesP256EncryptedKey_tags_1[0]),
166#if !defined(ASN_DISABLE_OER_SUPPORT)
169#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
174 asn_MBR_EciesP256EncryptedKey_1,
176 &asn_SPC_EciesP256EncryptedKey_specs_1