Commit 735abb50 authored by Мотыгуллин Амир Булатович's avatar Мотыгуллин Амир Булатович
Browse files

Update test-rand-magma.c

parent 1e07d332
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment