Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbedEndpointNetwork mbedEndpointNetworkMJK
Fork of Nanostack_lib by
Diff: inc/hal/arm_hal_aes.h
- Revision:
- 4:c449bead5cf3
- Child:
- 11:1b7aaf37a131
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inc/hal/arm_hal_aes.h Tue Jun 24 16:48:01 2014 +0300 @@ -0,0 +1,24 @@ +/* + * \file arm_hal_aes.h + * \brief This file define Nanostack AES block encoder and AES init function. + * Copyrigth ARM Ltd 2013 + * + */ + +#ifndef ARM_HAL_AES_H_ +#define ARM_HAL_AES_H_ +/** + * \brief This function performs Si=E[key,Ai] (Simple OCB block). + * + * \param key_ptr pointer to 128-bit AES key + * \param Ai_ptr pointer to 128-bit data block in + * \param Si_ptr pointer for encoded sum by key and input data + * + */ +extern void arm_aes_block_encode(uint8_t * key_ptr , uint8_t * Ai_ptr, uint8_t * Si_ptr); +/** + * \brief This function initialize AES Hardware. + */ +extern void arm_aes_init(void); + +#endif /* ARM_HAL_AES_H_ */
