#include "xf_security/des.hpp"
static void des3Decrypt ( ap_uint <64> in, ap_uint <64> key1, ap_uint <64> key2, ap_uint <64> key3, ap_uint <64>& out )
des3Decrypt is the basic function for decrypt one block with three cipher keys using 3DES
Parameters:
in | input one encrypted text to be decrypted, 64 bits. |
key1 | input cipher key, 64 bits. |
key2 | input cipher key, 64 bits. |
key3 | input cipher key, 64 bits. |
out | output decrypted text, 64 bits. |