|
Message-ID: <20120612235113.GA21296@openwall.com> Date: Wed, 13 Jun 2012 03:51:13 +0400 From: Solar Designer <solar@...nwall.com> To: musl@...ts.openwall.com Subject: FreeSec crypt() Rich - As discussed on IRC, here is a revision of the FreeSec crypt() code with greatly reduced memory requirements: 10 KB for the "shared" and "local" structs combined. The original code required about 70 KB of .bss. This passes the included tests, but more testing is desired - perhaps fuzz this on random passwords/salts against other implementations. Also, we could want to add a runtime self-test, which would detect possible miscompiles. Oh, and I haven't yet replaced the cast to signed char in ascii_to_bin(). Anyway, this should be better than what's currently in musl. Alexander View attachment "crypt_freesec.h" of type "text/plain" (2990 bytes) View attachment "crypt_freesec.c" of type "text/plain" (22516 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.