bsp/atsam: Add const qualifier to AES_SetInput()

This commit is contained in:
Sebastian Huber
2018-10-18 07:22:44 +02:00
parent c980eaff1d
commit 68799dac67
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ void AES_WriteKey(const uint32_t *pKey, uint32_t keyLength)
* used for encryption/decryption.
* \param data Pointer to the 16-bytes data to cipher/decipher.
*/
void AES_SetInput(uint32_t *data)
void AES_SetInput(const uint32_t *data)
{
uint8_t i;

View File

@@ -54,7 +54,7 @@ extern void AES_EnableIt(uint32_t sources);
extern void AES_DisableIt(uint32_t sources);
extern uint32_t AES_GetStatus(void);
extern void AES_WriteKey(const uint32_t *pKey, uint32_t keyLength);
extern void AES_SetInput(uint32_t *data);
extern void AES_SetInput(const uint32_t *data);
extern void AES_GetOutput(uint32_t *data);
extern void AES_SetVector(const uint32_t *pVector);
extern void AES_SetAadLen(uint32_t len);