Describes about the MIFARE DUOX Secure Messaging related commands.
More...
|
| | Defines |
| | Macro Definitions for Secure Messaging commands.
|
| |
Describes about the MIFARE DUOX Secure Messaging related commands.
◆ phalMfDuoX_ISOInternalAuthenticate()
Performs Asymmetric Card-Unilateral Authentication.
The following operations are performed using this interface.
- Ephemeral Key Pair (E.Pub.A) is generated by the Library.
- The Signature (Sig.B) received as part of response is verified using the Key Number provided in wKeyNo_PubKeyB parameter.
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bPrivKeyNo | [In] Private Key number for signing the response.
- At PICC level, two keys are supported.
- At Application level, up to five keys are supported.
|
| [in] | bCurveID | [In] The targeted curve for the public key provided in pPubBKey parameter. Should be one of the below values.
|
| [in] | pPubBKey | [In] Public Key (Pub.B) to be used for verification. |
| [in] | wPubBKeyLen | [In] Length of bytes available in pPubBKey buffer. |
| [in] | pOptsA | [In] Complete PCD Options in TLV format. NULL in case of Optional scenario |
| [in] | bOptsALen | [In] Length of bytes available in pOptsA buffer. Zero in case of Optional scenario. |
| [in] | pExpRspLen | [In] Length of expected response from Device.
- This parameter is for exchanging the LE information.
- If NULL is provided, then the expected Response length will be taken as 0x00 (1 byte) by default or 2 bytes based on LC.
- Possible values are NULL, Array consisting of 1 byte or 2 bytes.
|
| [in] | bExpRspLen | [In] Length of bytes available in pExpRspLen buffer. |