summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2015-11-19 14:14:20 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2015-11-19 14:14:20 +0000
commit3d2363fbf9fa185da349be09e0189abd99e735fe (patch)
treefe9fe99612901ba7aa60454826cbc8966371f67e /libavutil
parent443b3c03e8ef90a741b156a4c7677a427578c840 (diff)
parent1fc94724f1fd52944bb5ae571475c621da4b77a0 (diff)
downloadffmpeg-streaming-3d2363fbf9fa185da349be09e0189abd99e735fe.zip
ffmpeg-streaming-3d2363fbf9fa185da349be09e0189abd99e735fe.tar.gz
Merge commit '1fc94724f1fd52944bb5ae571475c621da4b77a0'
* commit '1fc94724f1fd52944bb5ae571475c621da4b77a0': xtea: Clarify that the current API works in big endian mode Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/xtea.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavutil/xtea.h b/libavutil/xtea.h
index bcf786c..06f5a2f 100644
--- a/libavutil/xtea.h
+++ b/libavutil/xtea.h
@@ -45,12 +45,14 @@ AVXTEA *av_xtea_alloc(void);
* Initialize an AVXTEA context.
*
* @param ctx an AVXTEA context
- * @param key a key of 16 bytes used for encryption/decryption
+ * @param key a key of 16 bytes used for encryption/decryption,
+ * interpreted as big endian 32 bit numbers
*/
void av_xtea_init(struct AVXTEA *ctx, const uint8_t key[16]);
/**
- * Encrypt or decrypt a buffer using a previously initialized context.
+ * Encrypt or decrypt a buffer using a previously initialized context,
+ * in big endian format.
*
* @param ctx an AVXTEA context
* @param dst destination array, can be equal to src
OpenPOWER on IntegriCloud