observe fixes

Dependencies:   nanoservice_client_1_12_X Nanostack_lib

Fork of mbedEndpointNetwork_6LowPAN by Doug Anson

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers arm_aes.c Source File

arm_aes.c

00001 #include <stdint.h>
00002 #include "platform.h"
00003 #include "arm_hal_aes.h"
00004 
00005 void arm_aes_init(void)
00006 {
00007 #if DEVICE_AES
00008     aes_block_init();    
00009 #else
00010     // SW yet to be implemented
00011 #endif
00012 }
00013 
00014 void arm_aes_block_encode(uint8_t *key_ptr , uint8_t *Ai_ptr, uint8_t *Si_ptr)
00015 {
00016 #if DEVICE_AES
00017     aes_block_code(key_ptr, Ai_ptr, Si_ptr, 128, 10);
00018 #else
00019     // SW yet to be implemented
00020 #endif
00021 }