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
inc/hal/arm_hal_aes.h@4:c449bead5cf3, 2014-06-24 (annotated)
- Committer:
- Mika Karjalainen
- Date:
- Tue Jun 24 16:48:01 2014 +0300
- Revision:
- 4:c449bead5cf3
- Child:
- 11:1b7aaf37a131
Creating initial nanostack release
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Mika Karjalainen |
4:c449bead5cf3 | 1 | /* |
| Mika Karjalainen |
4:c449bead5cf3 | 2 | * \file arm_hal_aes.h |
| Mika Karjalainen |
4:c449bead5cf3 | 3 | * \brief This file define Nanostack AES block encoder and AES init function. |
| Mika Karjalainen |
4:c449bead5cf3 | 4 | * Copyrigth ARM Ltd 2013 |
| Mika Karjalainen |
4:c449bead5cf3 | 5 | * |
| Mika Karjalainen |
4:c449bead5cf3 | 6 | */ |
| Mika Karjalainen |
4:c449bead5cf3 | 7 | |
| Mika Karjalainen |
4:c449bead5cf3 | 8 | #ifndef ARM_HAL_AES_H_ |
| Mika Karjalainen |
4:c449bead5cf3 | 9 | #define ARM_HAL_AES_H_ |
| Mika Karjalainen |
4:c449bead5cf3 | 10 | /** |
| Mika Karjalainen |
4:c449bead5cf3 | 11 | * \brief This function performs Si=E[key,Ai] (Simple OCB block). |
| Mika Karjalainen |
4:c449bead5cf3 | 12 | * |
| Mika Karjalainen |
4:c449bead5cf3 | 13 | * \param key_ptr pointer to 128-bit AES key |
| Mika Karjalainen |
4:c449bead5cf3 | 14 | * \param Ai_ptr pointer to 128-bit data block in |
| Mika Karjalainen |
4:c449bead5cf3 | 15 | * \param Si_ptr pointer for encoded sum by key and input data |
| Mika Karjalainen |
4:c449bead5cf3 | 16 | * |
| Mika Karjalainen |
4:c449bead5cf3 | 17 | */ |
| Mika Karjalainen |
4:c449bead5cf3 | 18 | extern void arm_aes_block_encode(uint8_t * key_ptr , uint8_t * Ai_ptr, uint8_t * Si_ptr); |
| Mika Karjalainen |
4:c449bead5cf3 | 19 | /** |
| Mika Karjalainen |
4:c449bead5cf3 | 20 | * \brief This function initialize AES Hardware. |
| Mika Karjalainen |
4:c449bead5cf3 | 21 | */ |
| Mika Karjalainen |
4:c449bead5cf3 | 22 | extern void arm_aes_init(void); |
| Mika Karjalainen |
4:c449bead5cf3 | 23 | |
| Mika Karjalainen |
4:c449bead5cf3 | 24 | #endif /* ARM_HAL_AES_H_ */ |
