]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
aes: Fix kerneldoc for aes.h
authorMarek Vasut <marex@denx.de>
Wed, 5 Mar 2014 18:58:36 +0000 (19:58 +0100)
committerTom Rini <trini@ti.com>
Fri, 21 Mar 2014 20:43:52 +0000 (16:43 -0400)
Fix the function annotations in aes.h so they're compatible with kerneldoc.

Signed-off-by: Marek Vasut <marex@denx.de>
include/aes.h

index ea063082790ec608726ecbd27fec12f82d02bf62..c70eda6f981578e3fd42ca97bedcf5b9ea6f0cf5 100644 (file)
@@ -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);