summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-11-11 21:49:44 +0200
committerMartin Storsjö <martin@martin.st>2015-11-13 21:53:51 +0200
commit1fc94724f1fd52944bb5ae571475c621da4b77a0 (patch)
treea67ffd46d3cd8e1ebf022e307444d689506f3aad /libavutil
parent7b2211bfc4b0c4568180a8db2478023c42d9ff51 (diff)
downloadffmpeg-streaming-1fc94724f1fd52944bb5ae571475c621da4b77a0.zip
ffmpeg-streaming-1fc94724f1fd52944bb5ae571475c621da4b77a0.tar.gz
xtea: Clarify that the current API works in big endian mode
Signed-off-by: Martin Storsjö <martin@martin.st>
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 4d7c581..ad76955 100644
--- a/libavutil/xtea.h
+++ b/libavutil/xtea.h
@@ -49,12 +49,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