summaryrefslogtreecommitdiff
path: root/include/aes.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-03-05 19:58:36 +0100
committerTom Rini <trini@ti.com>2014-03-21 16:43:52 -0400
commit957ba85ce9bbf9d82716798287e50612afb07fc7 (patch)
tree034914ddf1860056e9b9c07ef6c955944aa9bd5c /include/aes.h
parent29a23f9d6c533f8371be3ae0268c4c75866291b2 (diff)
downloadu-boot-imx-957ba85ce9bbf9d82716798287e50612afb07fc7.zip
u-boot-imx-957ba85ce9bbf9d82716798287e50612afb07fc7.tar.gz
u-boot-imx-957ba85ce9bbf9d82716798287e50612afb07fc7.tar.bz2
aes: Fix kerneldoc for aes.h
Fix the function annotations in aes.h so they're compatible with kerneldoc. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/aes.h')
-rw-r--r--include/aes.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/include/aes.h b/include/aes.h
index ea06308..c70eda6 100644
--- a/include/aes.h
+++ b/include/aes.h
@@ -25,29 +25,31 @@ enum {
};
/**
+ * aes_expand_key() - Expand the AES key
+ *
* Expand a key into a key schedule, which is then used for the other
* operations.
*
- * \param key Key, of length AES_KEY_LENGTH bytes
- * \param expkey Buffer to place expanded key, AES_EXPAND_KEY_LENGTH
+ * @key Key, of length AES_KEY_LENGTH bytes
+ * @expkey Buffer to place expanded key, AES_EXPAND_KEY_LENGTH
*/
void aes_expand_key(u8 *key, u8 *expkey);
/**
- * Encrypt a single block of data
+ * aes_encrypt() - Encrypt single block of data with AES 128
*
- * in Input data
- * expkey Expanded key to use for encryption (from aes_expand_key())
- * out Output data
+ * @in Input data
+ * @expkey Expanded key to use for encryption (from aes_expand_key())
+ * @out Output data
*/
void aes_encrypt(u8 *in, u8 *expkey, u8 *out);
/**
- * Decrypt a single block of data
+ * aes_decrypt() - Decrypt single block of data with AES 128
*
- * in Input data
- * expkey Expanded key to use for decryption (from aes_expand_key())
- * out Output data
+ * @in Input data
+ * @expkey Expanded key to use for decryption (from aes_expand_key())
+ * @out Output data
*/
void aes_decrypt(u8 *in, u8 *expkey, u8 *out);