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.
66 lines
2.3 KiB
C
66 lines
2.3 KiB
C
/*
|
|
* Generated by asn1c
|
|
* From ASN.1 module "Ieee1609Dot2BaseTypes"
|
|
* found in "Ieee1609Dot2BaseTypes.asn"
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_Security2_ -R`
|
|
*/
|
|
|
|
#ifndef _Vanetza_Security2_PublicVerificationKey_H_
|
|
#define _Vanetza_Security2_PublicVerificationKey_H_
|
|
|
|
|
|
#include "asn_application.h"
|
|
|
|
/* Including external dependencies */
|
|
#include "EccP256CurvePoint.h"
|
|
#include "EccP384CurvePoint.h"
|
|
#include "constr_CHOICE.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum Vanetza_Security2_PublicVerificationKey_PR {
|
|
Vanetza_Security2_PublicVerificationKey_PR_NOTHING, /* No components present */
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecdsaNistP256,
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecdsaBrainpoolP256r1,
|
|
/* Extensions may appear below */
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecdsaBrainpoolP384r1,
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecdsaNistP384,
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecsigSm2
|
|
} Vanetza_Security2_PublicVerificationKey_PR;
|
|
|
|
/* Vanetza_Security2_PublicVerificationKey */
|
|
typedef struct Vanetza_Security2_PublicVerificationKey {
|
|
Vanetza_Security2_PublicVerificationKey_PR present;
|
|
union Vanetza_Security2_PublicVerificationKey_u {
|
|
Vanetza_Security2_EccP256CurvePoint_t ecdsaNistP256;
|
|
Vanetza_Security2_EccP256CurvePoint_t ecdsaBrainpoolP256r1;
|
|
/*
|
|
* This type is extensible,
|
|
* possible extensions are below.
|
|
*/
|
|
Vanetza_Security2_EccP384CurvePoint_t ecdsaBrainpoolP384r1;
|
|
Vanetza_Security2_EccP384CurvePoint_t ecdsaNistP384;
|
|
Vanetza_Security2_EccP256CurvePoint_t ecsigSm2;
|
|
} choice;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} Vanetza_Security2_PublicVerificationKey_t;
|
|
|
|
/* Implementation */
|
|
extern asn_TYPE_descriptor_t asn_DEF_Vanetza_Security2_PublicVerificationKey;
|
|
extern asn_CHOICE_specifics_t asn_SPC_Vanetza_Security2_PublicVerificationKey_specs_1;
|
|
extern asn_TYPE_member_t asn_MBR_Vanetza_Security2_PublicVerificationKey_1[5];
|
|
extern asn_oer_constraints_t asn_OER_type_Vanetza_Security2_PublicVerificationKey_constr_1;
|
|
extern asn_per_constraints_t asn_PER_type_Vanetza_Security2_PublicVerificationKey_constr_1;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _Vanetza_Security2_PublicVerificationKey_H_ */
|
|
#include "asn_internal.h"
|