Commit 3d2363fb authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit '1fc94724'

* commit '1fc94724':
  xtea: Clarify that the current API works in big endian mode
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents 443b3c03 1fc94724
...@@ -45,12 +45,14 @@ AVXTEA *av_xtea_alloc(void); ...@@ -45,12 +45,14 @@ AVXTEA *av_xtea_alloc(void);
* Initialize an AVXTEA context. * Initialize an AVXTEA context.
* *
* @param ctx 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]); 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 ctx an AVXTEA context
* @param dst destination array, can be equal to src * @param dst destination array, can be equal to src
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment