Sergio Scaglia / Nanostack_lib

Dependents:   mbedEndpointNetwork mbedEndpointNetworkMJK

Fork of Nanostack_lib by Sensinode

Revision:
4:c449bead5cf3
Child:
11:1b7aaf37a131
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/hal/arm_hal_aes.h	Tue Jun 24 16:48:01 2014 +0300
@@ -0,0 +1,24 @@
+/*
+ * \file arm_hal_aes.h
+ * \brief This file define Nanostack AES block encoder and AES init function.
+ * Copyrigth ARM Ltd 2013
+ *
+ */
+
+#ifndef ARM_HAL_AES_H_
+#define ARM_HAL_AES_H_
+/**
+ * \brief This function performs Si=E[key,Ai] (Simple OCB block).
+ *
+ * \param key_ptr pointer to 128-bit AES key
+ * \param Ai_ptr pointer to 128-bit data block in
+ * \param Si_ptr pointer for encoded sum by key and input data
+ *
+ */
+extern void arm_aes_block_encode(uint8_t * key_ptr , uint8_t * Ai_ptr, uint8_t * Si_ptr);
+/**
+ * \brief This function initialize AES Hardware.
+ */
+extern void arm_aes_init(void);
+
+#endif /* ARM_HAL_AES_H_ */