SAM command for EMV feature.
More...
|
| phStatus_t | phhalHw_SamAV3_Cmd_EMVCo_RecoverStaticData (phhalHw_SamAV3_DataParams_t *pDataParams, uint16_t wOption, uint8_t *pSignedStaticAppData, uint8_t bSignedStaticAppDataLen, uint8_t **ppResponse, uint8_t *pRespLen) |
| | Performs EMV Offline Static Data Authentication. More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_EMVCo_RecoverDynamicData (phhalHw_SamAV3_DataParams_t *pDataParams, uint16_t wOption, uint8_t *pSignedDynamicAppData, uint8_t bSignedDynamicAppDataLen, uint8_t **ppResponse, uint8_t *pRespLen) |
| | Performs EMV Offline Dynamic Data Authentication. More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_EMVCo_EncipherPin (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t *pPinBlock, uint8_t *pIccNum, uint8_t **ppEncPin, uint8_t *pEncPinLen) |
| | Performs EMV Personal Identification Number Encipherment. More...
|
| |
SAM command for EMV feature.
◆ phhalHw_SamAV3_Cmd_EMVCo_RecoverStaticData()
Performs EMV Offline Static Data Authentication.
This command recovers the static application data for the Static Data Authentication.
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wOption | [In] Option for exchanging the data in chaining or in one frame.
|
| [in] | pSignedStaticAppData | [In] Signed Static Application Data. |
| [in] | bSignedStaticAppDataLen | [In] Signed Static Application Data length. |
| [out] | ppResponse | [Out] Buffer containing Hash Algorithm Indicator, Data Authentication Code and Hash Result. |
| [out] | pRespLen | [Out] Length of the output data |
◆ phhalHw_SamAV3_Cmd_EMVCo_RecoverDynamicData()
Performs EMV Offline Dynamic Data Authentication.
This command recovers the dynamic application data for the Dynamic Data Authentication or Combined Dynamic Data Authentication with Application Cryptogram Generation. The ICC Public Key or ICC PIN Encipherment Public Key must have been loaded previously with Cmd.PKI_LoadIccPk
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wOption | [In] Option for exchanging the data in chaining or in one frame.
|
| [in] | pSignedDynamicAppData | [In] Signed Dynamic Application Data. |
| [in] | bSignedDynamicAppDataLen | [In] Length of Signed Dynamic Application Data. |
| [out] | ppResponse | [Out] Buffer containing Hash Algorithm Indicator, ICC Dynamic Data Length, ICC Dynamic Data and Hash result. |
| [out] | pRespLen | [Out] Length of the output data. |
◆ phhalHw_SamAV3_Cmd_EMVCo_EncipherPin()
Performs EMV Personal Identification Number Encipherment.
This command is used to encipher the PIN to support offline PIN verification by the ICC. The ICC Public Key or ICC PIN Encipherment Public Key must have been loaded previously with Cmd.PKI_LoadIccPk
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pPinBlock | [In] Pin Block Number. |
| [in] | pIccNum | [In] ICC Unpredictable Number. |
| [out] | ppEncPin | [Out] Enciphered PIN Data. |
| [out] | pEncPinLen | [Out] Length of the Enciphered PIN Data. |