Unitech mr350 mkii Software Guide

Page of 33
 
28
3.19 
F_SET_FKEY 
This function is used to set temporary session key which has been established by function 
“F_SEL_FKEY”. 
 
 
Compatible with ISO7816 or Gemplus command set 
 
 
Genplus 
 
 
Function call 
void F_SET_FKEY( S_SEL_FKEY* GG ,unsigned char* key ) 
 
    Input parameter : 
GG 
: a structure pointer and it is previously returned by function           
“F_SEL_FKEY”. 
key 
: point to a specified key which you want to Computes a temporary         
administration key   
 
   Output parameter : This function updates the following parameters. 
IdOk 
:0:OK      
8:key error