Changes between Version 2 and Version 3 of spec/CnV2xSec


Ignore:
Timestamp:
Oct 19, 2023, 9:44:02 AM (7 months ago)
Author:
fujisft-kaji
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/CnV2xSec

    v2 v3  
    77[[BR]]
    88
    9 {{{#!comment
    10 [執筆開始時削除エリア]ここから
    11 ※コメントごと削除してください
    12 }}}
    13 * '''本項目は、まだ執筆されていません'''
    14 * '''要望等ございましたら、[wiki: Wikiトップページ]にあります[wiki:#本サイトに関して 問い合わせ先]までお願いします'''
    15 ----
    16 {{{#!comment
    17 [執筆開始時削除エリア]ここまで
    18 ※コメントごと削除してください
    19 }}}
     9= 概要 =
    2010
    21 = 概要 =
    2211* API一覧
     12
     13  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R22-11 =||
     14  || [#CnV2xSec_Init CnV2xSec_Init]                     ||   1|| 0x01||  ○  ||
     15  || [#CnV2xSec_GetVersionInfo CnV2xSec_GetVersionInfo] ||   2|| 0x02||  ○  ||
     16  || [#CnV2xSec_ReqEncap CnV2xSec_ReqEncap]             ||   3|| 0x03||  ○  ||
     17  || [#CnV2xSec_ReqDecap CnV2xSec_ReqDecap]             ||   4|| 0x04||  ○  ||
     18  || [#CnV2xSec_MainFunction CnV2xSec_MainFunction]     ||   5|| 0x05||  ○  ||
     19
    2320* コンフィギュレーション一覧 (R22-11)
    2421  * [#CnV2xSecGeneral CnV2xSecGeneral] (○)
     
    3027    * [#CnV2xSecSignatureVerifyConfigRef CnV2xSecSignatureVerifyConfigRef] (○)
    3128
     29* エラーコード一覧
     30
     31  ||= エラーコード =||= Dec =||= Hex =||= R22-11 =||
     32  || CNV2XSEC_E_PARAM         ||  1|| 0x01||  ○  ||
     33  || CNV2XSEC_E_PARAM_POINTER ||  2|| 0x02||  ○  ||
     34  || CNV2XSEC_E_UNINIT        ||  3|| 0x03||  ○  ||
     35  || CNV2XSEC_E_INIT_FAILED   ||  4|| 0x04||  ○  ||
     36
    3237----
    3338
    3439= API仕様 =
     40
     41== CnV2xSec_Init ==
     42{{{
     43void CnV2xSec_Init (const CnV2xSec_ConfigType* CfgPtr)
     44}}}
     45
     46== CnV2xSec_GetVersionInfo ==
     47{{{
     48void CnV2xSec_GetVersionInfo (Std_VersionInfoType* VersionInfoPtr)
     49}}}
     50
     51== CnV2xSec_ReqEncap ==
     52{{{
     53CnV2xSec_SecReturnType CnV2xSec_ReqEncap (uint16 TransactionId16, CnV2xSec_SecProfileType SecProfile, uint16 UnsecuredDataLength, const uint8* UnsecuredDataPtr, uint16* SecuredDataLength, uint8* SecuredDataPtr)
     54}}}
     55
     56== CnV2xSec_ReqDecap ==
     57{{{
     58CnV2xSec_SecReturnType CnV2xSec_ReqDecap (uint32 TransactionId32, uint16 SecuredDataLength, const uint8* SecuredDataPtr, uint16* UnsecuredDataLength, uint8* UnsecuredDataPtr, CnV2xSec_SecReportType* SecReport, uint32* Aid)
     59}}}
     60
     61== CnV2xSec_MainFunction ==
     62{{{
     63void CnV2xSec_MainFunction (void)
     64}}}
    3565
    3666----