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-motygullin-pcdch
Commits
735abb50
Commit
735abb50
authored
2 months ago
by
Мотыгуллин Амир Булатович
Browse files
Options
Download
Patches
Plain Diff
Update test-rand-magma.c
parent
1e07d332
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/tests/test-rand-magma.c
+1
-1
examples/tests/test-rand-magma.c
with
1 addition
and
1 deletion
+1
-1
examples/tests/test-rand-magma.c
+
1
−
1
View file @
735abb50
...
...
@@ -30,13 +30,13 @@ int main(void)
ak_bckey_set_key
(
&
ctx
,
key
,
32
);
ak_random_create_magma
(
&
rnd
,
&
ctx
);
rnd
.
random
(
&
rnd
,
generated
,
800
);
write
(
1
,
"a"
,
1
);
printf
(
"%s
\n\n
"
,
ak_ptr_to_hexstr
(
generated
,
40
,
ak_false
));
printf
(
"%s
\n\n
"
,
ak_ptr_to_hexstr
((
ak_uint8
*
)
generated
+
760
,
40
,
ak_false
));
rnd
.
free
(
&
rnd
);
/* */
if
(
error
==
ak_error_ok
)
exitstatus
=
EXIT_SUCCESS
;
ak_bckey_destroy
(
ctx
);
ak_libakrypt_destroy
();
return
exitstatus
;
}
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