11.12.3.4.72. Function Se05x_API_DFAuthenticateFirstPart2¶
Defined in File se05x_APDU_apis.h
11.12.3.4.72.1. Function Documentation¶
-
smStatus_t
Se05x_API_DFAuthenticateFirstPart2
(pSe05xSession_t session_ctx, const uint8_t *inputData, size_t inputDataLen, uint8_t *outputData, size_t *poutputDataLen)¶ Se05x_API_DFAuthenticateFirstPart2
For First part 2, the key identifier is implicitly set to the identifier used for the First authentication. DFAuthenticateFirstPart1 needs to be called before; otherwise an error is returned.
Command to Applet
Field
Value
Description
CLA
0x80
INS
INS_CRYPTO
P1
P1_DEFAULT
See
SE05x_P1_t
P2
P2_AUTH_FIRST_PART2
See
SE05x_P2_t
Lc
#(Payload)
TLV[TAG_1]
32 byte input: E(Kx,TI||RndA’||PDcap2||PCDcap2)
Le
0x00
R-APDU Body
Value
Description
TLV[TAG_1]
12-byte array returning PDcap2||PCDcap2.
R-APDU Trailer
SW
Description
SW_NO_ERROR
The command is handled successfully.
SW_WRONG_DATA
SW_CONDITIONS_NOT_SATISFIED
- Parameters
[in] session_ctx
: Session Context [0:kSE05x_pSession][in] inputData
: inputData [1:kSE05x_TAG_1][in] inputDataLen
: Length of inputData[out] outputData
: [0:kSE05x_TAG_1][inout] poutputDataLen
: Length for outputData