technion/libscrypt — pull request #18 by jvarho (2014-04-26 20:31:21+00:00)
Title: Sanity check N > 1 in libscrypt_scrypt

The parameter N must be a power of 2 greater than 1, but libscrypt_scrypt only checks that it's a power of 2 greater than 0. You get a segfault if you pass N=1 and a large enough r.