Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Тур Тимофей Владимирович
libakrypt-0.x belt-hash
Commits
6470a7e7
Commit
6470a7e7
authored
2 months ago
by
Тур Тимофей Владимирович
Browse files
Options
Download
Patches
Plain Diff
Revert "small fixes x2"
This reverts commit
4df7b268
parent
4df7b268
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/ak_hmac.c
+1
-1
source/ak_hmac.c
with
1 addition
and
1 deletion
+1
-1
source/ak_hmac.c
+
1
−
1
View file @
6470a7e7
...
...
@@ -712,7 +712,7 @@
/* теперь контекст двойного алгоритма (шифрование + имитозащита) */
ctx
->
tag_size
=
((
ak_hmac
)
ctx
->
authenticationKey
)
->
ctx
.
data
.
sctx
.
hsize
;
/* размер имитовставки */
ctx
->
block_size
=
((
ak_hmac
)
ctx
->
authenticationKey
)
->
mctx
.
bsize
;
/* размер блока входных данных */
ctx
->
iv_size
=
(
crf
==
ak_true
)
?
((
ak_bckey
)
ctx
->
encryptionKey
)
->
size
>>
1
:
0
;
/* размер синхропосылки */
ctx
->
iv_size
=
(
crf
==
ak_true
)
?
((
ak_bckey
)
ctx
->
encryptionKey
)
->
mctx
.
b
size
>>
1
:
0
;
/* размер синхропосылки */
ctx
->
auth_clean
=
ak_ctr_hmac_authentication_clean
;
ctx
->
auth_update
=
ak_ctr_hmac_authentication_update
;
ctx
->
auth_finalize
=
ak_ctr_hmac_authentication_finalize
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets