Added support for WNC M14A2A Cellular LTE Data Module.

Dependencies:   WNC14A2AInterface

Dependents:   http-example-wnc http-example-wnc-modified

Embed: (wiki syntax)

« Back to documentation index

SPIRIT_Aes.c File Reference

SPIRIT_Aes.c File Reference

Configuration and management of SPIRIT AES Engine. More...

Go to the source code of this file.

Functions

void SpiritAesMode (SpiritFunctionalState xNewState)
 Enables or Disables the AES engine.
void SpiritAesWriteDataIn (uint8_t *pcBufferDataIn, uint8_t cDataLength)
 Writes the data to encrypt or decrypt, or the encryption key for the derive decryption key operation into the AES_DATA_IN registers.
void SpiritAesReadDataOut (uint8_t *pcBufferDataOut, uint8_t cDataLength)
 Returns the encrypted or decrypted data or the decription key from the AES_DATA_OUT register.
void SpiritAesWriteKey (uint8_t *pcKey)
 Writes the encryption key into the AES_KEY_IN register.
void SpiritAesReadKey (uint8_t *pcKey)
 Returns the encryption/decryption key from the AES_KEY_IN register.
void SpiritAesDeriveDecKeyFromEnc (void)
 Derives the decryption key from a given encryption key.
void SpiritAesExecuteEncryption (void)
 Executes the encryption operation.
void SpiritAesExecuteDecryption (void)
 Executes the decryption operation.
void SpiritAesDeriveDecKeyExecuteDec (void)
 Executes the key derivation and the decryption operation.

Detailed Description

Configuration and management of SPIRIT AES Engine.

Author:
VMA division - AMS
Version:
3.2.2
Date:
08-July-2015
Attention:

© COPYRIGHT(c) 2015 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file SPIRIT_Aes.c.