open5gs/lib/asn1c/common
Sukchan Lee 843c4950ac [ASN1C] Fixed asn1c library on 32bit (#2934)
APER encoding fails when using the asn_uint642INTEGER function on a 32-bit machine as shown below.

```C
   asn_uint642INTEGER(AMF_UE_NGAP_ID, 0xffffffff);
   ...
   aper_encode_to_buffer(...)
```

INTEGER APER encode/decode functions seem to be operating internally with long variables instead of intmax_t.
That is probably the reason of the failure.

@v0-e fixed this issues in the mouse07410/asn1c pull request.
https://github.com/mouse07410/asn1c/pull/176
https://github.com/mouse07410/asn1c/pull/177
2024-02-12 14:00:06 +09:00
..
ANY.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
ANY.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
ANY_aper.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
ANY_jer.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
BIT_STRING.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
BIT_STRING.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
BIT_STRING_jer.c [ASN.1] Fix buffer overflow (mouse07410/asn1c#134) (#2742) 2023-11-20 21:16:35 +09:00
BIT_STRING_oer.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
BIT_STRING_print.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
BIT_STRING_rfill.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
ENUMERATED.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
ENUMERATED.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
ENUMERATED_aper.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
GraphicString.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
GraphicString.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
INTEGER.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
INTEGER.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
INTEGER_aper.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
INTEGER_jer.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
INTEGER_oer.c Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
INTEGER_print.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
INTEGER_rfill.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
NULL.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
NULL.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
NULL_aper.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
NULL_jer.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
NULL_print.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
NULL_rfill.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
NativeEnumerated.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
NativeEnumerated.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
NativeEnumerated_aper.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
NativeEnumerated_jer.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
NativeEnumerated_oer.c Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
NativeInteger.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
NativeInteger.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
NativeInteger_aper.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
NativeInteger_jer.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
NativeInteger_oer.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
NativeInteger_print.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
NativeInteger_rfill.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
OBJECT_IDENTIFIER.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
OBJECT_IDENTIFIER.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
OBJECT_IDENTIFIER_jer.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
OBJECT_IDENTIFIER_print.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
OBJECT_IDENTIFIER_rfill.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
OCTET_STRING.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
OCTET_STRING.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
OCTET_STRING_aper.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
OCTET_STRING_jer.c [ASN.1] Fix buffer overflow (mouse07410/asn1c#134) (#2742) 2023-11-20 21:16:35 +09:00
OCTET_STRING_oer.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
OCTET_STRING_print.c [MME] fix the crash (#1263) 2021-12-28 17:38:11 +09:00
OCTET_STRING_rfill.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
OPEN_TYPE.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
OPEN_TYPE.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
OPEN_TYPE_aper.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
OPEN_TYPE_oer.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
ObjectDescriptor.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
ObjectDescriptor.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
PrintableString.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
PrintableString.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
UTF8String.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
UTF8String.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
UTF8String_print.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
UTF8String_rfill.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
VisibleString.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
VisibleString.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
aper_decoder.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
aper_decoder.h spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
aper_encoder.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
aper_encoder.h spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
aper_opentype.c [Release-17] Upgrade S1AP/NGAP to v17.3.9 2023-02-21 21:48:06 +09:00
aper_opentype.h spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
aper_support.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
aper_support.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
asn_SEQUENCE_OF.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
asn_SEQUENCE_OF.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
asn_SET_OF.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
asn_SET_OF.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
asn_application.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
asn_application.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
asn_bit_data.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
asn_bit_data.h Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
asn_codecs.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
asn_codecs_prim.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
asn_codecs_prim.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
asn_config.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
asn_internal.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
asn_internal.h [ASN.1] Fix buffer overflow (mouse07410/asn1c#134) (#2742) 2023-11-20 21:16:35 +09:00
asn_ioc.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
asn_random_fill.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
asn_random_fill.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
asn_system.h [MME] fix the crash (#1263) 2021-12-28 17:38:11 +09:00
ber_decoder.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
ber_decoder.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
ber_tlv_length.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
ber_tlv_length.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
ber_tlv_tag.c Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
ber_tlv_tag.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
constr_CHOICE.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_CHOICE.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_CHOICE_aper.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_CHOICE_jer.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
constr_CHOICE_oer.c Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
constr_CHOICE_print.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
constr_CHOICE_rfill.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
constr_SEQUENCE.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_SEQUENCE.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_SEQUENCE_OF.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_SEQUENCE_OF.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_SEQUENCE_OF_aper.c [Release-17] Upgrade S1AP/NGAP to v17.3.9 2023-02-21 21:48:06 +09:00
constr_SEQUENCE_OF_jer.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
constr_SEQUENCE_aper.c [Release-17] Upgrade S1AP/NGAP to v17.3.9 2023-02-21 21:48:06 +09:00
constr_SEQUENCE_jer.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
constr_SEQUENCE_oer.c Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
constr_SEQUENCE_print.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
constr_SEQUENCE_rfill.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
constr_SET_OF.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_SET_OF.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_SET_OF_aper.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_SET_OF_jer.c [Release-17] Upgrade S1AP/NGAP to v17.3.9 2023-02-21 21:48:06 +09:00
constr_SET_OF_oer.c Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
constr_SET_OF_print.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
constr_SET_OF_rfill.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
constr_TYPE.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constr_TYPE.h [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
constraints.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
constraints.h spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
der_encoder.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
der_encoder.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
jer_encoder.c [asn1c] rework aper from mouse07410/asn1c#94 2022-07-16 14:30:00 +09:00
jer_encoder.h [Release-17] Upgrade S1AP/NGAP to v17.3.9 2023-02-21 21:48:06 +09:00
meson.build [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
oer_decoder.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
oer_decoder.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
oer_encoder.c Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
oer_encoder.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
oer_support.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
oer_support.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
per_decoder.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
per_decoder.h spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
per_encoder.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
per_encoder.h spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
per_opentype.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
per_opentype.h spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
per_support.c spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
per_support.h spec: S1AP/NGAP update to v16.4.0(2021-01-04) 2021-01-24 23:43:42 -05:00
xer_decoder.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
xer_decoder.h Integration with OGSLib 2019-04-27 23:54:30 +09:00
xer_encoder.c Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
xer_encoder.h Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
xer_support.c Integration with OGSLib 2019-04-27 23:54:30 +09:00
xer_support.h Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00