Christian Heimes <li...@cheimes.de> added the comment:
Your parameter selection requires about 64 MB of memory (n * 2 * r * 64). As documented maxmem=0 defaults to 32 MB of maximum memory in OpenSSL 1.1.x. OpenSSL needs a bit of internal memory for book keeping and other stuff, so you need maxmem=65*1024*1024 for your parameter set. PyCA cryptography has a default maxmem of sys.maxsize // 2, that's a couple of Exabyte of RAM on a 64bit system. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39979> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com