STM8L15x Standard Peripherals Drivers: AES Read and Write

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

AES Read and Write

AES Read and Write. More...

Functions

uint8_t AES_ReadSubData (void)
 Returns the data in DOUTR register processed by AES peripheral.
uint8_t AES_ReadSubKey (void)
 Returns the DOUTR register content.
void AES_WriteSubData (uint8_t Data)
 Write data in DINR register to be processed by AES peripheral.
void AES_WriteSubKey (uint8_t Key)
 Write key in DINR register.

Detailed Description

AES Read and Write.

 ===============================================================================
                        AES Read and Write operations
 ===============================================================================  


Function Documentation

uint8_t AES_ReadSubData ( void  )

Returns the data in DOUTR register processed by AES peripheral.

Note:
When an unexpected read of DOUTR register is detected, RDERR flag is set
Return values:
Theprocessed data.

Definition at line 189 of file stm8l15x_aes.c.

References AES.

uint8_t AES_ReadSubKey ( void  )

Returns the DOUTR register content.

Return values:
Thederivation key.
Note:
When an unexpected read of DOUTR register is detected, RDERR flag is set.

Definition at line 200 of file stm8l15x_aes.c.

References AES.

void AES_WriteSubData ( uint8_t  Data)

Write data in DINR register to be processed by AES peripheral.

Parameters:
Data,:The data to be processed.
Note:
When an unexpected write to DINR register is detected, WRERR flag is set.
Return values:
None

Definition at line 164 of file stm8l15x_aes.c.

References AES.

void AES_WriteSubKey ( uint8_t  Key)

Write key in DINR register.

Parameters:
Key,:The key to be used for encryption/decryption.
Note:
When an unexpected write to DINR register is detected, WRERR flag is set.
Return values:
None

Definition at line 177 of file stm8l15x_aes.c.

References AES.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com