(des_ctx *(Key Structure), unsigned char *pucData, short sBlocks, unsigned char *pucKey1,
unsigned char *pucKey2, unsigned char *pucKey3);
This function performs a 3DES encryption process in the form: Enckey3( Deckey2( Enckey1( Data ) ) ). Data and keys must be in hex form. Function does not convert ASCII text.
Inputs
- des_ctx *Ks -- Pointer to structure that will store the key scheduler
- unsigned char *pucData – Pointer to start of data array that will be enciphered
- short sBlocks – Value indicating how many 64-bit blocks need to be enciphered
- unsigned char *pucKey1 – Pointer to the first key array location
- unsigned char *pucKey2 – Pointer to the second key array location
- unsigned char *pucKey3 – Pointer to the third key array location