lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 3 Apr 2014 12:01:26 +0200
From: atom <atom@...hcat.net>
To: discussions@...sword-hashing.net
Subject: antcrypt phs_gen_output()

Hey Guys,

from antcrypt sources, do I understand this correctly:

ctx->state_bytes = some static value based on m_cost
*(ctx->stateprefix) = 1;

while (...) {
...
SHA512((uint8_t *) ctx->stateprefix, ctx->state_bytes + sizeof(uint32_t),
ctx->rehash);
...
*(ctx->stateprefix) = *(ctx->stateprefix) + 1;
}

In other words, stateprefix will be some fixed value between 1 and a very
low number, maybe 100? In that case, it's simply a static value an attacker
can precompute and it will not take alot of memory.

Anyway, it's used in the phs_gen_output() function, so its called only
once. Improvement over defender will be low.

-- 
Jens Steube

email: atom@...hcat.net

web: http://hashcat.net/

Content of type "text/html" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ