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
54cd1ab5
Commit
54cd1ab5
authored
Oct 12, 2015
by
Rodger Combs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavu/aes: align AVAES struct members
parent
15ff5c72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
aes_internal.h
libavutil/aes_internal.h
+3
-2
No files found.
libavutil/aes_internal.h
View file @
54cd1ab5
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#ifndef AVUTIL_AES_INTERNAL_H
#ifndef AVUTIL_AES_INTERNAL_H
#define AVUTIL_AES_INTERNAL_H
#define AVUTIL_AES_INTERNAL_H
#include "mem.h"
#include <stdint.h>
#include <stdint.h>
typedef
union
{
typedef
union
{
...
@@ -33,8 +34,8 @@ typedef union {
...
@@ -33,8 +34,8 @@ typedef union {
typedef
struct
AVAES
{
typedef
struct
AVAES
{
// Note: round_key[16] is accessed in the init code, but this only
// Note: round_key[16] is accessed in the init code, but this only
// overwrites state, which does not matter (see also commit ba554c0).
// overwrites state, which does not matter (see also commit ba554c0).
av_aes_block
round_key
[
15
];
DECLARE_ALIGNED
(
16
,
av_aes_block
,
round_key
)
[
15
];
av_aes_block
state
[
2
];
DECLARE_ALIGNED
(
16
,
av_aes_block
,
state
)
[
2
];
int
rounds
;
int
rounds
;
void
(
*
crypt
)(
struct
AVAES
*
a
,
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
count
,
uint8_t
*
iv
,
int
rounds
);
void
(
*
crypt
)(
struct
AVAES
*
a
,
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
count
,
uint8_t
*
iv
,
int
rounds
);
}
AVAES
;
}
AVAES
;
...
...
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