SAM commands used for OriginalityCheck communication in S-Mode and X-Mode.
More...
|
| | Defines |
| | Definitions for Originality Check commands.
|
| |
SAM commands used for OriginalityCheck communication in S-Mode and X-Mode.
◆ phhalHw_Sam_Cmd_SAM_ISOInternalAuthenticate()
Performs Originality Check of SAM .
The authentication is initiated by ISOInternalAuthenticate.
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bOption | [In] Challenge usage (RndA)
|
| [in] | pOptsA | [In] PCD Option.
- Will be exchanged if bOptsALen has a value other than zero
- User should provide Value field only. Tag and Length will be included internally.
|
| [in] | bOptsALen | [In] Length of bytes available in pOptsA buffer. |
| [in,out] | pRndA | [In, Out] Authentication Data Object: random challenge from PCD.
- Empty buffer if Generate Challenge internally is provided in bOption parameter. Will be updated with Random Challenge generated internally. The buffer size should be equal to the RndA size that is expected.
- Random Challenge if Challenge provided by user is provided in bOption parameter. User should provide Value field only. AuthDOHdr (Tag and Length) will be included internally.
|
| [in,out] | pRndALen | [In, Out] Length of bytes available in pRndA buffer. |
| [out] | ppResponse | [Out] RndB and Signature returned by SAM. |
| [out] | pRespLen | [Out] Length pf bytes available in ppResponse parameter. |