Delta Electronics PCI-DMC-B01 Computer Hardware User Manual


 
Chapter 37 Security API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 37-5
37.7 _DMC_01_check_verifykey
FORMAT
I16 PASCAL _DMC_01_check_verifykey (U16 CardNo, U32 Verifykey, U16state)
Purpose
Master Card: Checks verify key matches.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
Verifykey U32 Number Verify key to check
State U16 Flag
Response after verify key check. 0Lock
1Pass
Example
U16 CardNo=0;
U32 Verifykey; //128bit data
U16 State;
I16 status = _DMC_01_ check_verifykey ( CardNo, Verifykey, &state );
37.8 _DMC_01_write_verifykey
FORMAT
I16 PASCAL _DMC_01_write_verifykey (U16 CardNo, U32 Verifykey)
Purpose
Writes verify key to the Master Card.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
Verifykey U32 Number Verify key data to write
Example
U16 CardNo=0;
U32 Verifykey; //128bit data
I16 status = _DMC_01_ write_verifykey (CardNo, Verifykey);