8#include "SymmetricEncryptionKey.h"
11memb_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__);
36#if !defined(ASN_DISABLE_OER_SUPPORT)
37static asn_oer_constraints_t asn_OER_memb_aes128Ccm_constr_2 CC_NOTUSED = {
41#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
42static asn_per_constraints_t asn_PER_memb_aes128Ccm_constr_2 CC_NOTUSED = {
43 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
44 { APC_CONSTRAINED, 0, 0, 16, 16 } ,
48#if !defined(ASN_DISABLE_OER_SUPPORT)
49static asn_oer_constraints_t asn_OER_type_SymmetricEncryptionKey_constr_1 CC_NOTUSED = {
53#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
54asn_per_constraints_t asn_PER_type_SymmetricEncryptionKey_constr_1 CC_NOTUSED = {
55 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } ,
56 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
60asn_TYPE_member_t asn_MBR_SymmetricEncryptionKey_1[] = {
62 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
64 &asn_DEF_OCTET_STRING,
67#if !defined(ASN_DISABLE_OER_SUPPORT)
68 &asn_OER_memb_aes128Ccm_constr_2,
70#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
71 &asn_PER_memb_aes128Ccm_constr_2,
73 memb_aes128Ccm_constraint_1
79static const asn_TYPE_tag2member_t asn_MAP_SymmetricEncryptionKey_tag2el_1[] = {
80 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }
82asn_CHOICE_specifics_t asn_SPC_SymmetricEncryptionKey_specs_1 = {
87 asn_MAP_SymmetricEncryptionKey_tag2el_1,
92asn_TYPE_descriptor_t asn_DEF_SymmetricEncryptionKey = {
93 "SymmetricEncryptionKey",
94 "SymmetricEncryptionKey",
101#if !defined(ASN_DISABLE_OER_SUPPORT)
102 &asn_OER_type_SymmetricEncryptionKey_constr_1,
104#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
105 &asn_PER_type_SymmetricEncryptionKey_constr_1,
109 asn_MBR_SymmetricEncryptionKey_1,
111 &asn_SPC_SymmetricEncryptionKey_specs_1