I know what the problem is...

This line is wrong, it assumes the salt string is MAX_SALT_LEN bytes instead of 
"salt_len".
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/crypt_modules/sha256/crypt_sha.c#263

I have verified that by changing MAX_SALT_LEN to "salt_len", the algorithm 
works correctly.

I will file the bug and fix it.

-Wyllys

--
This message posted from opensolaris.org

Reply via email to