Signalyzer

Recommend Print

AUX_DecypherBlock

AUX_DecypherBlock

  • Favourites
    Add to favourites

Decypher block of data using one of the Signalyzer H internally stored keys and return decoded block of data back to device.

This function call and the feature is primarely oriented at cusomized and OEM application allowing Signalyzer H to be also used as security hardware dongle. Please contact us at support@signalyzer.com for details of this feature.

Syntax

C

SIGNALYZER_STATUS SIGNALYZER_AUX_DecypherBlock(
SIGNALYZER_HANDLE sHandle,
unsigned short keyIndex,
unsigned long dataLength,
unsigned char * writeBuffer,
unsigned char * readBuffer
);

Parameters

SIGNALYZER_HANDLE - pointer to a variable of FT_HANDLE where handle will be stored when used with FTDI D2XX

keyIndex - index value to internally stored key.

dataLengt - length of the data array to be written to Signalyzer H and then read back after decoding.

Maximum supported length for this function is 64 bytes

writeBuffer - pointer to the buffer that contains the data to be written to the device.

readBuffer - pointer to the buffer that receives the data from the device.

 

Return value

SIGNALYZER_STATUS - returns result of executed command. The result value will depend on type of library signalyzer_aux library is being used with ( FTD2XX or LIBFTDI ).

FT2XX:

FT_OK - on successful return.

FT_INVALID_ARGS - if one of the function passed parameters did not meet specific criteria

FT_OTHER_ERROR - for any other errors.

LIBFTDI:

0 - will be returned on successful function call

-1 - if one of the function passed parameters did not meet specific criteria

-2 - for any other errors.

Examples

CODE HERE

Requirements

WindowsLinuxMac OSWindows CE
2000 and later all soon soon

See Also

 

  • Created
    Friday, 12 February 2010
  • Created by
    Administrator
  • Last modified
    Wednesday, 24 February 2010
  • Revised by
    Administrator
  • Voting
    (0 votes)
  • Version
    8
Comments (0)Add Comment

Write comment

busy