template class xf::security::aesDec

#include "aes.hpp"

Overview

AES decryption.

Parameters:

W Bit width of AES key, which is 128, 192 or 256
template <int W>
class aesDec

Methods

updateKey

void updateKey (ap_uint <W> cipherkey)

Update key before using it to decrypt.

Parameters:

cipherkey Key to be used in decryption.

process

void process (
    ap_uint <128> ciphertext,
    ap_uint <W> cipherkey,
    ap_uint <128>& plaintext
    )

Decrypt message using AES algorithm.

Parameters:

ciphertext Cipher text to be decrypted.
cipherkey Key to be used in decryption.
plaintext Decryption result.