TABLE OF CONTENTS

 

[Modules] Ciphering

NAME

   DesfireAPI :: Ciphering module

COPYRIGHT

DESCRIPTION

   Algorithm independant implementation of the DESFIRE ciphering schemes.

[Functions] DES_Decrypt

NAME

   DES_Decrypt

DESCRIPTION

   Standard DES decryption (D3 -> E2 -> D1)

SYNOPSIS

   [[sprox_desfire.dll]]
   SWORD SPROX_Desfire_DES_Decrypt(BYTE inoutbuf[8]);

   [[sprox_desfire_ex.dll]]
   Not applicable.

   [[pcsc_desfire.dll]]
   Not applicable.

RETURNS

   DF_OPERATION_OK   : success, data has been written
   Other code if internal or communication error has occured.

 SEE AL
   Desfire_DES_SetKey
   Desfire_DES_Encrypt

[Functions] DES_Encrypt

NAME

   DES_Encrypt

DESCRIPTION

   Standard DES encryption (E1 -> D2 -> E3)

SYNOPSIS

   [[sprox_desfire.dll]]
   SWORD SPROX_Desfire_DES_Encrypt(BYTE inoutbuf[8]);

   [[sprox_desfire_ex.dll]]
   Not applicable.

   [[pcsc_desfire.dll]]
   Not applicable.

RETURNS

   DF_OPERATION_OK   : success, data has been written
   Other code if internal or communication error has occured.

SEE ALSO

   Desfire_DES_SetKey
   Desfire_DES_Decrypt

[Functions] DES_SetKey

NAME

   DES_SetKey

DESCRIPTION

   Init a DES context with a 64-bit key
   Parity bits are not checked

SYNOPSIS

   [[sprox_desfire.dll]]
   SWORD SPROX_Desfire_DES_SetKey(const BYTE key[8]);

   [[sprox_desfire_ex.dll]]
   Not applicable.

   [[pcsc_desfire.dll]]
   Not applicable.

RETURNS

   DF_OPERATION_OK   : success, data has been written
   Other code if internal or communication error has occured.

SEE ALSO

   Desfire_DES_Encrypt
   Desfire_DES_Decrypt

[Functions] TDES_Decrypt

NAME

   TDES_Decrypt

DESCRIPTION

   Standard 3-DES decryption (D3 -> E2 -> D1)

SYNOPSIS

   [[sprox_desfire.dll]]
   SWORD SPROX_Desfire_TDES_Decrypt(BYTE inoutbuf[8]);

   [[sprox_desfire_ex.dll]]
   Not applicable.

   [[pcsc_desfire.dll]]
   Not applicable.

RETURNS

   DF_OPERATION_OK   : success, data has been written
   Other code if internal or communication error has occured.

 SEE AL
   Desfire_TDES_SetKey
   Desfire_TDES_Encrypt

[Functions] TDES_Encrypt

NAME

   TDES_Encrypt

DESCRIPTION

   Standard 3-DES encryption (E1 -> D2 -> E3)

SYNOPSIS

   [[sprox_desfire.dll]]
   SWORD SPROX_Desfire_TDES_Encrypt(BYTE inoutbuf[8]);

   [[sprox_desfire_ex.dll]]
   Not applicable.

   [[pcsc_desfire.dll]]
   Not applicable.

RETURNS

   DF_OPERATION_OK   : success, data has been written
   Other code if internal or communication error has occured.

SEE ALSO

   Desfire_TDES_SetKey
   Desfire_TDES_Decrypt

[Functions] TDES_SetKey

NAME

   TDES_SetKey

DESCRIPTION

   Init a 3-DES context with 2 64-bit keys
   Parity bits are not checked

SYNOPSIS

   [[sprox_desfire.dll]]
   SWORD SPROX_Desfire_TDES_SetKey(const BYTE key1[8],
                                   const BYTE key2[8],
                                   const BYTE key3[8]);

   [[sprox_desfire_ex.dll]]
   Not applicable.

   [[pcsc_desfire.dll]]
   Not applicable.

RETURNS

   DF_OPERATION_OK   : success, data has been written
   Other code if internal or communication error has occured.

SEE ALSO

   Desfire_TDES_Encrypt
   Desfire_TDES_Decrypt

Generated from sprox_desfire_cipher.c on Mon Aug 18 16:38:18 2014