mirror of
https://git.sr.ht/~sircmpwn/mkproof
synced 2024-06-03 11:36:12 +02:00
Drop unnneeded usage of macro
This commit is contained in:
parent
bc59c4bb3a
commit
6b72a2b593
|
@ -115,7 +115,7 @@ void internal_kat(const argon2_instance_t *instance, uint32_t pass) {
|
|||
: ARGON2_QWORDS_IN_BLOCK;
|
||||
|
||||
for (j = 0; j < how_many_words; ++j)
|
||||
printf("Block %.4u [%3u]: %016" PRIx64 "\n", i, j,
|
||||
printf("Block %.4u [%3u]: %016llx\n", i, j,
|
||||
instance->memory[i].v[j]);
|
||||
}
|
||||
}
|
||||
|
|
10
src/run.c
10
src/run.c
|
@ -35,10 +35,6 @@
|
|||
|
||||
#define UNUSED_PARAMETER(x) (void)(x)
|
||||
|
||||
#ifndef PRIu32
|
||||
#define PRIu32 "I32u"
|
||||
#endif
|
||||
|
||||
static void usage(const char *cmd) {
|
||||
printf("Usage: %s [-h] salt [-i|-d|-id] [-t iterations] "
|
||||
"[-m log2(memory in KiB) | -k memory in KiB] [-p parallelism] "
|
||||
|
@ -328,9 +324,9 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
if(!encoded_only && !raw_only) {
|
||||
printf("Type:\t\t%s\n", argon2_type2string(type, 1));
|
||||
printf("Iterations:\t%" PRIu32 " \n", t_cost);
|
||||
printf("Memory:\t\t%" PRIu32 " KiB\n", m_cost);
|
||||
printf("Parallelism:\t%" PRIu32 " \n", lanes);
|
||||
printf("Iterations:\t%u\n", t_cost);
|
||||
printf("Memory:\t\t%u KiB\n", m_cost);
|
||||
printf("Parallelism:\t%u\n", lanes);
|
||||
}
|
||||
|
||||
run(outlen, pwd, pwdlen, salt, t_cost, m_cost, lanes, threads, type,
|
||||
|
|
Loading…
Reference in New Issue