aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2022-09-25 01:51:30 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-17 09:56:47 +0200
commit0baa6871acef3dccbb208b4b6101b34c281305ae (patch)
tree0ec11b1a11a046a505fc1a59540ac724617f66c8
parent0d341379253a107466a31f0491beec6caefc4220 (diff)
downloadffmpeg-0baa6871acef3dccbb208b4b6101b34c281305ae.tar.gz
avutil/aes: document some missing arguments
-rw-r--r--libavutil/aes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavutil/aes.h b/libavutil/aes.h
index d243286c86..4e73473688 100644
--- a/libavutil/aes.h
+++ b/libavutil/aes.h
@@ -42,6 +42,9 @@ struct AVAES *av_aes_alloc(void);
/**
* Initialize an AVAES context.
+ *
+ * @param a The AVAES context
+ * @param key Pointer to the key
* @param key_bits 128, 192 or 256
* @param decrypt 0 for encryption, 1 for decryption
*/
@@ -49,9 +52,11 @@ int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt);
/**
* Encrypt or decrypt a buffer using a previously initialized context.
- * @param count number of 16 byte blocks
+ *
+ * @param a The AVAES context
* @param dst destination array, can be equal to src
* @param src source array, can be equal to dst
+ * @param count number of 16 byte blocks
* @param iv initialization vector for CBC mode, if NULL then ECB will be used
* @param decrypt 0 for encryption, 1 for decryption
*/