#include "xf_security/des.hpp"
static void desEncrypt ( ap_uint <64> in, ap_uint <64> key, ap_uint <64>& out )
desEncrypt is the basic function for ciphering one block with one cipher key using DES
Parameters:
in | input one plain text to be encrypted, 64 bits. |
key | input cipher key, 64 bits. |
out | output encrypted text, 64 bits. |