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
a68b6ec7
Commit
a68b6ec7
authored
Aug 06, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/hmac: make const tables static const
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9e10b2cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
hmac.c
libavutil/hmac.c
+6
-6
No files found.
libavutil/hmac.c
View file @
a68b6ec7
...
...
@@ -208,12 +208,12 @@ int main(void)
{
uint8_t
key1
[
20
],
key3
[
131
],
data3
[
50
];
enum
AVHMACType
i
=
AV_HMAC_SHA224
;
const
uint8_t
key2
[]
=
"Jefe"
;
const
uint8_t
data1
[]
=
"Hi There"
;
const
uint8_t
data2
[]
=
"what do ya want for nothing?"
;
const
uint8_t
data4
[]
=
"Test Using Larger Than Block-Size Key - Hash Key First"
;
const
uint8_t
data5
[]
=
"Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data"
;
const
uint8_t
data6
[]
=
"This is a test using a larger than block-size key and a larger "
static
const
uint8_t
key2
[]
=
"Jefe"
;
static
const
uint8_t
data1
[]
=
"Hi There"
;
static
const
uint8_t
data2
[]
=
"what do ya want for nothing?"
;
static
const
uint8_t
data4
[]
=
"Test Using Larger Than Block-Size Key - Hash Key First"
;
static
const
uint8_t
data5
[]
=
"Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data"
;
static
const
uint8_t
data6
[]
=
"This is a test using a larger than block-size key and a larger "
"than block-size data. The key needs to be hashed before being used"
" by the HMAC algorithm."
;
AVHMAC
*
hmac
=
av_hmac_alloc
(
AV_HMAC_MD5
);
...
...
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