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.
Fork of OmniWheels by
arm_hal_aes.h File Reference
AES Platform API. More...
Go to the source code of this file.
Functions | |
| void | arm_aes_start (const uint8_t key[__static 16]) |
| Set the AES key. | |
| void | arm_aes_encrypt (const uint8_t src[__static 16], uint8_t dst[__static 16]) |
| This function performs dst=E[preset key,src] (Simple ECB block). | |
| void | arm_aes_finish (void) |
| Finish AES operations. | |
Detailed Description
AES Platform API.
Definition in file arm_hal_aes.h.
Function Documentation
| void arm_aes_encrypt | ( | const uint8_t | src[__static 16], |
| uint8_t | dst[__static 16] | ||
| ) |
This function performs dst=E[preset key,src] (Simple ECB block).
This function performs a single-block AES encryption, using the preset key. It is called between arm_aes_start() and arm_aes_finish(). Note that src and dst pointers may be equal.
- Parameters:
-
src pointer to 128-bit plaintext in dst pointer for 128-bit ciphertext out
| void arm_aes_finish | ( | void | ) |
Finish AES operations.
This function is called to terminate a series of AES operations. It may be a no-op, or it may disable AES hardware. Use of the preset key is no longer valid after this call.
Definition at line 76 of file aes_mbedtls_adapter.c.
| void arm_aes_start | ( | const uint8_t | key[__static 16] ) |
Set the AES key.
This function sets the 128-bit AES key that will be used for future calls to arm_aes_encrypt(). The key must be copied by the function.
- Parameters:
-
key pointer to 128-bit AES key
Generated on Fri Jul 22 2022 04:54:06 by
1.7.2
