wiki:spec/CnV2xSec
Chinese Vehicle-2-X Security


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
R22-11
CnV2xSec_Init 1 0x01
CnV2xSec_GetVersionInfo 2 0x02
CnV2xSec_ReqEncap 3 0x03
CnV2xSec_ReqDecap 4 0x04
CnV2xSec_MainFunction 5 0x05
  • エラーコード一覧
エラーコード Dec Hex R22-11
CNV2XSEC_E_PARAM 1 0x01
CNV2XSEC_E_PARAM_POINTER 2 0x02
CNV2XSEC_E_UNINIT 3 0x03
CNV2XSEC_E_INIT_FAILED 4 0x04

API仕様

CnV2xSec_Init

void CnV2xSec_Init (const CnV2xSec_ConfigType* CfgPtr)

CnV2xSec_GetVersionInfo

void CnV2xSec_GetVersionInfo (Std_VersionInfoType* VersionInfoPtr)

CnV2xSec_ReqEncap

CnV2xSec_SecReturnType CnV2xSec_ReqEncap (uint16 TransactionId16, CnV2xSec_SecProfileType SecProfile, uint16 UnsecuredDataLength, const uint8* UnsecuredDataPtr, uint16* SecuredDataLength, uint8* SecuredDataPtr)

CnV2xSec_ReqDecap

CnV2xSec_SecReturnType CnV2xSec_ReqDecap (uint32 TransactionId32, uint16 SecuredDataLength, const uint8* SecuredDataPtr, uint16* UnsecuredDataLength, uint8* UnsecuredDataPtr, CnV2xSec_SecReportType* SecReport, uint32* Aid)

CnV2xSec_MainFunction

void CnV2xSec_MainFunction (void)

コンフィギュレーション仕様

CnV2xSecGeneral

/AUTOSAR/EcucDefs/CnV2xSec/CnV2xSecGeneral
  • 対象リビジョン:
  • SWSタグ: ECUC_CnV2xSec_00002
  • タイプ: PARAM-CONF-CONTAINER
  • 多重度: 1

CnV2xSecHashConfigRef

/AUTOSAR/EcucDefs/CnV2xSec/CnV2xSecGeneral/CnV2xSecHashConfigRef

CnV2xSecNvMBlockDescriptorLongTermCertificateRef

/AUTOSAR/EcucDefs/CnV2xSec/CnV2xSecGeneral/CnV2xSecNvMBlockDescriptorLongTermCertificateRef

CnV2xSecNvMBlockDescriptorPseudonymCertificateRef

/AUTOSAR/EcucDefs/CnV2xSec/CnV2xSecGeneral/CnV2xSecNvMBlockDescriptorPseudonymCertificateRef

CnV2xSecNvMBlockDescriptorRef

/AUTOSAR/EcucDefs/CnV2xSec/CnV2xSecGeneral/CnV2xSecNvMBlockDescriptorRef

CnV2xSecSignatureGenerationConfigRef

/AUTOSAR/EcucDefs/CnV2xSec/CnV2xSecGeneral/CnV2xSecSignatureGenerationConfigRef

CnV2xSecSignatureVerifyConfigRef

/AUTOSAR/EcucDefs/CnV2xSec/CnV2xSecGeneral/CnV2xSecSignatureVerifyConfigRef
Last modified 7 months ago Last modified on Oct 19, 2023, 9:44:02 AM
Note: See TracWiki for help on using the wiki.