2
3
4
5
6
11memb_Vanetza_Security_aes128Ccm_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_Vanetza_Security_sm4Ccm_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_Vanetza_Security_aes128Ccm_constr_2 CC_NOTUSED = {
67#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
68static asn_per_constraints_t asn_PER_memb_Vanetza_Security_aes128Ccm_constr_2 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_Vanetza_Security_sm4Ccm_constr_4 CC_NOTUSED = {
79#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
80static asn_per_constraints_t asn_PER_memb_Vanetza_Security_sm4Ccm_constr_4 CC_NOTUSED = {
81 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
82 { APC_CONSTRAINED, 0, 0, 16, 16 } ,
86#if !defined(ASN_DISABLE_OER_SUPPORT)
87asn_oer_constraints_t asn_OER_type_Vanetza_Security_SymmetricEncryptionKey_constr_1 CC_NOTUSED = {
91#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
92asn_per_constraints_t asn_PER_type_Vanetza_Security_SymmetricEncryptionKey_constr_1 CC_NOTUSED = {
93 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } ,
94 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
98asn_TYPE_member_t asn_MBR_Vanetza_Security_SymmetricEncryptionKey_1[] = {
99 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_SymmetricEncryptionKey, choice.aes128Ccm),
100 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
102 &asn_DEF_OCTET_STRING,
105#if !defined(ASN_DISABLE_OER_SUPPORT)
106 &asn_OER_memb_Vanetza_Security_aes128Ccm_constr_2,
108#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
109 &asn_PER_memb_Vanetza_Security_aes128Ccm_constr_2,
111#if !defined(ASN_DISABLE_JER_SUPPORT)
114 memb_Vanetza_Security_aes128Ccm_constraint_1
119 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_SymmetricEncryptionKey, choice.sm4Ccm),
120 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
122 &asn_DEF_OCTET_STRING,
125#if !defined(ASN_DISABLE_OER_SUPPORT)
126 &asn_OER_memb_Vanetza_Security_sm4Ccm_constr_4,
128#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
129 &asn_PER_memb_Vanetza_Security_sm4Ccm_constr_4,
131#if !defined(ASN_DISABLE_JER_SUPPORT)
134 memb_Vanetza_Security_sm4Ccm_constraint_1
140static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_SymmetricEncryptionKey_tag2el_1[] = {
141 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
142 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }
144asn_CHOICE_specifics_t asn_SPC_Vanetza_Security_SymmetricEncryptionKey_specs_1 = {
145 sizeof(
struct Vanetza_Security_SymmetricEncryptionKey),
146 offsetof(
struct Vanetza_Security_SymmetricEncryptionKey, _asn_ctx),
147 offsetof(
struct Vanetza_Security_SymmetricEncryptionKey, present),
148 sizeof(((
struct Vanetza_Security_SymmetricEncryptionKey *)0)->present),
149 asn_MAP_Vanetza_Security_SymmetricEncryptionKey_tag2el_1,
154asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_SymmetricEncryptionKey = {
155 "SymmetricEncryptionKey",
156 "SymmetricEncryptionKey",
163#if !defined(ASN_DISABLE_OER_SUPPORT)
164 &asn_OER_type_Vanetza_Security_SymmetricEncryptionKey_constr_1,
166#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
167 &asn_PER_type_Vanetza_Security_SymmetricEncryptionKey_constr_1,
169#if !defined(ASN_DISABLE_JER_SUPPORT)
174 asn_MBR_Vanetza_Security_SymmetricEncryptionKey_1,
176 &asn_SPC_Vanetza_Security_SymmetricEncryptionKey_specs_1