Atmel Software Framework

stb_armcrypto.h File Reference

Declarations for security tool box required for ARM crypto engine.

Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.

#include "pal.h"

Macros

#define AES_BLOCKSIZE   (16)
 Size of AES blocks. More...
 
#define AES_DIR_DECRYPT   (1)
 Defines AES direction as decryption. More...
 
#define AES_DIR_ENCRYPT   (0)
 Defines AES direction as encryption. More...
 
#define AES_KEYSIZE   (16)
 Size of AES key. More...
 

Functions

void sal_aes_restart (void)
 Re-inits key and state after a sleep or chip reset. More...
 

#define AES_BLOCKSIZE   (16)

Size of AES blocks.

#define AES_DIR_DECRYPT   (1)

Defines AES direction as decryption.

#define AES_DIR_ENCRYPT   (0)

Defines AES direction as encryption.

#define AES_KEYSIZE   (16)

Size of AES key.

void sal_aes_restart ( void  )

Re-inits key and state after a sleep or chip reset.

Re-inits key and state after a sleep or TRX reset.

This function is void for ATxmega since the key must be re-initialized before every block encryption anyway.