|
void | AES_ECB_EncryptData (uint8_t *text, uint16_t textLen, uint8_t *aesKey) |
| Use a random 128 bit key to encrypt data with the AES. More...
|
|
void | AES_ECB_DecryptData (uint8_t *text, uint16_t textLen, uint8_t *aesKey) |
| Use a random 128 bit key to decrypt data with the AES. More...
|
|
int8_t | AES_CCM_EncryptData (uint8_t encryptFlag, uint8_t MACLen, uint8_t *nonce, uint8_t *plainText, uint16_t textLen, uint8_t *addDataBuf, uint16_t addBufLen, uint8_t *aesKey, uint8_t *MAC, uint8_t ccmLVal) |
| Authenticate and optionally encrypt message plainText. More...
|
|
int8_t | AES_CCM_DecryptData (uint8_t decryptFlag, uint8_t MACLen, uint8_t *nonce, uint8_t *cipherText, uint16_t textLen, uint8_t *addDataBuf, uint16_t addBufLen, uint8_t *aesKey, uint8_t *MAC, uint8_t ccmLVal) |
| Authenticate and optionally decrypt message cipherText. More...
|
|
uint8_t | AES_CTR_EncryptData (uint8_t *plainText, uint16_t textLen, uint8_t *aesKey, uint8_t *nonce, uint8_t *initVector) |
| Encrypt plaintext using the AES key, nonce and initialization vector. More...
|
|
uint8_t | AES_CTR_DecryptData (uint8_t *cipherText, uint16_t textLen, uint8_t *aesKey, uint8_t *nonce, uint8_t *initVector) |
| Decrypt ciphertext using the AES key, nonce and initialization vector. More...
|
|
void | ECC_initialize (uint32_t *pWorkzone) |
| Pass pointer to ECC memory allocation to ECC engine. More...
|
|
uint8_t | ECC_generateKey (uint32_t *randString, uint32_t *privateKey, uint32_t *publicKey_x, uint32_t *publicKey_y) |
| Generate a key. More...
|
|
uint8_t | ECC_ECDSA_sign (uint32_t *secretKey, uint32_t *text, uint32_t *randString, uint32_t *sign1, uint32_t *sign2) |
| Sign data. More...
|
|
uint8_t | ECC_ECDSA_verify (uint32_t *publicKey_x, uint32_t *publicKey_y, uint32_t *text, uint32_t *sign1, uint32_t *sign2) |
| Verify signature. More...
|
|
uint8_t | ECC_ECDH_computeSharedSecret (uint32_t *privateKey, uint32_t *publicKey_x, uint32_t *publicKey_y, uint32_t *sharedSecret_x, uint32_t *sharedSecret_y) |
| Compute the shared secret. More...
|
|
uint8_t | SHA256_runFullAlgorithm (SHA256_memory_t *memory, uint8_t *pBufIn, uint32_t bufLen, uint8_t *pBufOut) |
| Perform SHA256 on the the input data. More...
|
|
uint8_t | SHA256_initialize (SHA256_memory_t *workZone) |
| Intializes the SHA256 engine. More...
|
|
uint8_t | SHA256_execute (SHA256_memory_t *config, uint8_t *pBufIn, uint32_t bufLen) |
| Perform SHA256. More...
|
|
uint8_t | SHA256_output (SHA256_memory_t *memory, uint8_t *pBufOut) |
| Complete the process by passing the modified data back. More...
|
|