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.
Modules | |
CryptoCell POLY specific errors | |
Typedefs | |
typedef uint32_t | CRYS_POLY_Mac_t [CRYS_POLY_MAC_SIZE_IN_WORDS] |
typedef uint32_t | CRYS_POLY_Key_t [CRYS_POLY_KEY_SIZE_IN_WORDS] |
Functions | |
CIMPORT_C CRYSError_t | CRYS_POLY (CRYS_POLY_Key_t pKey, uint8_t *pDataIn, size_t dataInSize, CRYS_POLY_Mac_t macRes) |
This function is used to perform the POLY MAC Calculation. |
Typedef Documentation
typedef uint32_t CRYS_POLY_Key_t[CRYS_POLY_KEY_SIZE_IN_WORDS] |
CHACHA key buffer definition.
Definition at line 75 of file crys_poly.h.
typedef uint32_t CRYS_POLY_Mac_t[CRYS_POLY_MAC_SIZE_IN_WORDS] |
CHACHA MAC buffer definition.
Definition at line 72 of file crys_poly.h.
Function Documentation
CIMPORT_C CRYSError_t CRYS_POLY | ( | CRYS_POLY_Key_t | pKey, |
uint8_t * | pDataIn, | ||
size_t | dataInSize, | ||
CRYS_POLY_Mac_t | macRes | ||
) |
This function is used to perform the POLY MAC Calculation.
- Returns:
- CRYS_OK on success.
- A non-zero value on failure as defined crys_poly_error.h.
- Parameters:
-
[in] pKey A pointer to the user's key buffer. [in] pDataIn A pointer to the buffer of the input data to the CHACHA. must not be null. [in] dataInSize The size of the input data. must not be 0. [in,out] macRes Pointer to the MAC result buffer.
Generated on Tue Jul 12 2022 12:46:37 by
