des3Encrypt - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "xf_security/des.hpp"
static void des3Encrypt (
    ap_uint <64> in,
    ap_uint <64> key1,
    ap_uint <64> key2,
    ap_uint <64> key3,
    ap_uint <64>& out
    )

des3Encrypt is the basic function for ciphering one block with three cipher keys using 3DES

Parameters:

in input one plain text to be encrypted, 64 bits.
key1 input cipher key, 64 bits.
key2 input cipher key, 64 bits.
key3 input cipher key, 64 bits.
out output encrypted text, 64 bits.