dp14txss
Vitis Drivers API Documentation
|
This code is the implementation of the AES algorithm and the CTR, CBC, and CCM modes of operation it can be used in.
AES is, specified by the NIST in in publication FIPS PUB 197, availible at:
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 MH 10/30/15 First Release 1.01 MH 01/28/17 Fixed warnings and errors.
Functions | |
void | XHdcp22Cmn_Aes128Encrypt (const u8 *Data, const u8 *Key, u8 *Output) |
This function encrypts 128 bits data with a key of size 128 bits. More... | |
void | XHdcp22Cmn_Aes128Decrypt (const u8 *Data, const u8 *Key, u8 *Output) |
This function encrypts 128 bits data with a key of size 128 bits. More... | |
void XHdcp22Cmn_Aes128Decrypt | ( | const u8 * | Data, |
const u8 * | Key, | ||
u8 * | Output | ||
) |
This function encrypts 128 bits data with a key of size 128 bits.
Input | is the 16 byte ciphertext |
Key | is the user supplied input key |
Output | is the 16 byte plaintext |
void XHdcp22Cmn_Aes128Encrypt | ( | const u8 * | Data, |
const u8 * | Key, | ||
u8 * | Output | ||
) |
This function encrypts 128 bits data with a key of size 128 bits.
Input | is the 16 byte plaintext |
Key | is the user supplied input key |
Output | is the 16 byte ciphertext |