obu-firmware builds against the vanetza-idf C-ITS library, which until now came from the colleague's microbu-esp32c5 tree beside the repository and was not tracked here, so a clone of this repository could not build the firmware it ships. The library alone is now part of obu-firmware, as obu-firmware/external/vanetza-idf: their external/vanetza-idf at commit cf4b99f, unchanged (9775 files; see its PROVENANCE.md). CMake takes it from there by default; -DVANETZA_IDF_DIR still points the build elsewhere. The rest of the colleague's tree (their own VAM firmware, PKI tooling, station-link Python tools, the V2X2MAP bridge) stays out of this repository and gitignored; nothing is pushed to their repository. NOTES.md, docs/06, TODO.md and the pcap verifier's usage line point at the new location.
64 lines
2.0 KiB
C
64 lines
2.0 KiB
C
/*
|
|
* Generated by asn1c
|
|
* From ASN.1 module "Ieee1609Dot2"
|
|
* found in "Ieee1609Dot2.asn"
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_Security2_ -R`
|
|
*/
|
|
|
|
#ifndef _Vanetza_Security2_IssuerIdentifier_H_
|
|
#define _Vanetza_Security2_IssuerIdentifier_H_
|
|
|
|
|
|
#include "asn_application.h"
|
|
|
|
/* Including external dependencies */
|
|
#include "HashedId8.h"
|
|
#include "HashAlgorithm.h"
|
|
#include "constr_CHOICE.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum Vanetza_Security2_IssuerIdentifier_PR {
|
|
Vanetza_Security2_IssuerIdentifier_PR_NOTHING, /* No components present */
|
|
Vanetza_Security2_IssuerIdentifier_PR_sha256AndDigest,
|
|
Vanetza_Security2_IssuerIdentifier_PR_self,
|
|
/* Extensions may appear below */
|
|
Vanetza_Security2_IssuerIdentifier_PR_sha384AndDigest,
|
|
Vanetza_Security2_IssuerIdentifier_PR_sm3AndDigest
|
|
} Vanetza_Security2_IssuerIdentifier_PR;
|
|
|
|
/* Vanetza_Security2_IssuerIdentifier */
|
|
typedef struct Vanetza_Security2_IssuerIdentifier {
|
|
Vanetza_Security2_IssuerIdentifier_PR present;
|
|
union Vanetza_Security2_IssuerIdentifier_u {
|
|
Vanetza_Security2_HashedId8_t sha256AndDigest;
|
|
Vanetza_Security2_HashAlgorithm_t self;
|
|
/*
|
|
* This type is extensible,
|
|
* possible extensions are below.
|
|
*/
|
|
Vanetza_Security2_HashedId8_t sha384AndDigest;
|
|
Vanetza_Security2_HashedId8_t sm3AndDigest;
|
|
} choice;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} Vanetza_Security2_IssuerIdentifier_t;
|
|
|
|
/* Implementation */
|
|
extern asn_TYPE_descriptor_t asn_DEF_Vanetza_Security2_IssuerIdentifier;
|
|
extern asn_CHOICE_specifics_t asn_SPC_Vanetza_Security2_IssuerIdentifier_specs_1;
|
|
extern asn_TYPE_member_t asn_MBR_Vanetza_Security2_IssuerIdentifier_1[4];
|
|
extern asn_oer_constraints_t asn_OER_type_Vanetza_Security2_IssuerIdentifier_constr_1;
|
|
extern asn_per_constraints_t asn_PER_type_Vanetza_Security2_IssuerIdentifier_constr_1;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _Vanetza_Security2_IssuerIdentifier_H_ */
|
|
#include "asn_internal.h"
|