[issue37630] Investigate replacing SHA3 code with OpenSSL

2021-04-17 Thread miss-islington
miss-islington added the comment: New changeset 685719871ac3fb6aff3468b9c5328fc66f5486d7 by stratakis in branch 'master': bpo-37630: Do not skip the sha3 tests in case of missing builtin sha3 module (GH-20986) https://github.com/python/cpython/commit/685719871ac3fb6aff3468b9c5328fc66f5486d7

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-06-19 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +20160 pull_request: https://github.com/python/cpython/pull/20986 ___ Python tracker ___

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-23 Thread Christian Heimes
Christian Heimes added the comment: LibreSSL does neither include SHA3/SHAKE family nor Blake2. Feature requests have been open for 1.5 to almost four years. The first reply on each feature request don't come as a surprise to me... https://github.com/libressl-portable/portable/issues/199

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-23 Thread Christian Heimes
Christian Heimes added the comment: OpenSSL's SHA-3 implementation is a tiny bit faster than our builtin copy of SHA-3. builtin SHA-3 with PGO $ python3 -m timeit -s "from _sha3 import sha3_256; d = b'12345678' * 1000" "sha3_256(d)" 1 loops, best of 5: 20.3 usec per loop builtin SHA-3

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-17 Thread Christian Heimes
Christian Heimes added the comment: New changeset 62ecd8a8f908282726d2f019c93efa1cf2e9e784 by Christian Heimes in branch 'master': bpo-37630: Fix spelling shake128 -> shake_128 (GH-20154) https://github.com/python/cpython/commit/62ecd8a8f908282726d2f019c93efa1cf2e9e784 --

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-17 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +19457 pull_request: https://github.com/python/cpython/pull/20154 ___ Python tracker ___

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-16 Thread Christian Heimes
Christian Heimes added the comment: I'll add a whatsnew later. -- versions: -Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-16 Thread miss-islington
miss-islington added the comment: New changeset d5b3f6b7f9fc74438009af63f1de01bd77be9385 by Christian Heimes in branch 'master': bpo-37630: Use SHA3 and SHAKE XOF from OpenSSL (GH-16049) https://github.com/python/cpython/commit/d5b3f6b7f9fc74438009af63f1de01bd77be9385 -- nosy:

[issue37630] Investigate replacing SHA3 code with OpenSSL

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +15671 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16049 ___ Python tracker

[issue37630] Investigate replacing SHA3 code with OpenSSL

2019-07-22 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- nosy: +cstratak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37630] Investigate replacing SHA3 code with OpenSSL

2019-07-19 Thread Christian Heimes
New submission from Christian Heimes : Recent OpenSSL comes with SHA3. Now that Python is going to drop support for old OpenSSL, we can consider to use OpenSSL's SHA3 and drop the reference implementation from Python. For variable length SHAKE API, OpenSSL added EVP_MD_CTRL_XOF_LEN and