Re: [Cryptography-dev] nacl.hashlib.scrypt not working with Nscrypt(n)=32768

2020-05-22 Thread Paul Kehrer
You are passing a maxmem of 2**25, which is 33554432 bytes. Setting n=32768, r=8, p=16 causes it to compute a Blen = p * 128 * r = 16384 and a Vlen = 32 * r * (n + 2) * 4 = 33556480. 33556480 + 16384 = 33572864. Since that is larger than 2**25 it fails. Raise the maxmem limit and this failure will

[Cryptography-dev] nacl.hashlib.scrypt not working with Nscrypt(n)=32768

2020-05-21 Thread JHENUKUMAR SUBRAMANIAM
Dear Pynacl Developers, Set-up details Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] Library ::: pynacl (1.14.0) Operating System ::: Windows 10 Enterprise Build 16.299 Processor ::: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 2712 Mhz, 2 Core(s), 4 Logical