dp14txss
Vitis Drivers API Documentation
aes.c File Reference

Overview

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...
 

Function Documentation

void XHdcp22Cmn_Aes128Decrypt ( const u8 *  Data,
const u8 *  Key,
u8 *  Output 
)

This function encrypts 128 bits data with a key of size 128 bits.

Parameters
Inputis the 16 byte ciphertext
Keyis the user supplied input key
Outputis the 16 byte plaintext
Returns
None.
Note
None.
void XHdcp22Cmn_Aes128Encrypt ( const u8 *  Data,
const u8 *  Key,
u8 *  Output 
)

This function encrypts 128 bits data with a key of size 128 bits.

Parameters
Inputis the 16 byte plaintext
Keyis the user supplied input key
Outputis the 16 byte ciphertext
Returns
None.
Note
None.