Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
1fc94724
Commit
1fc94724
authored
Nov 11, 2015
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xtea: Clarify that the current API works in big endian mode
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
7b2211bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
xtea.h
libavutil/xtea.h
+4
-2
No files found.
libavutil/xtea.h
View file @
1fc94724
...
@@ -49,12 +49,14 @@ AVXTEA *av_xtea_alloc(void);
...
@@ -49,12 +49,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment