...
If Guardant API functions are present in the loadable code (for instance, an algorithm which was previously protected by Guardant dongles is transferred into a dongle), then for most of these functions there is an analog in Guardant Code API and porting will be confined to the change of prefix from GrdXXX to GcaXXX or GccaXXX.
Function | Description |
---|
GcaCrash() |
|
|
GcaExit() | Exiting the loadable code |
GcaLedOn() | Turning LED on |
GcaLedOff() | Turning LED off |
GcaRead() | Read EEPROM data, GrdRead() analog |
GcaWrite() | Write EEPROM data, GrdWrite() analog |
GcaPI_Read() | Read protected item data, GrdPI_Read() analog |
GcaPI_Update() | Read protected item data, GrdPI_Update() analog |
GcaPI_GetTimeLimit() | Receiving the remaining algorithm operating time |
GcaPI_GetCounter() | Get algorithm counter value, GrdPI_GetCounter() analog |
GcaGetTime() | Get dongle’s timer state, GrdGetTime() analog. For Guardant Code Time only |
GcaGetRTCQuality() | Real time clock testing |
GcaGetLastError() | Receiving the last error code |
GccaCryptEx() | Data encryption, GrdCryptEx() analog |
GccaSign() | Generate the digital signature, GrdSign() analog |
GccaVerifySign() | Verify the digital signature, GrdVerifySign() analog |
GccaGenerateKeyPair() | Creating key pairs |
GccaHash() | Calculate hash, GrdHash() analog |
GccaGetRandom() | Random number generation |
GcaSetTimeout | Setting the maximum allowed loadable code operating time |
GcaCodeGetInfo | Request information from the loadable code descriptor |
GcaCodeRun | Real time clock (RTC) testing |
Info |
---|
title | Important information |
---|
| See Guardant API help for more detailed description of Guardant Code API internal functions (GrdAPI.chm file). |
Since GSII64 algorithm and its derivatives (HASH64, RAND64, etc.) are not implemented in Guardant Code, you will probably have to rework the existing protection scheme for the use of AES128 algorithms for encryption and SHA256 for hashing. All other capabilities of the previous dongle models are present in Guardant Code. |