On Tue, Apr 18, 2023 at 8:44 PM Robert Moskowitz <r...@htt-consult.com> wrote:
> cSHAKE is a variant of SHA3 defined in NIST SP800-185. This is > different from SHAKE defined in FIPS-202. > > I use cSHAKE in a number of my IETF standards (e.g. rfc9374). I would > like to be able to have a decent way to perform cSHAKE in a python > script, but it does not seem to exist. OpenSSL supports SHAKE but not > cSHAKE (it seems). > > sooo what to do. > > I have found: > > https://github.com/Hemoth/cSHAKE This is for python2., Fedora has python3. > which seems reasonable, but I am not experienced enough with this end of > things to do the building of the module to use per the instructions in > the script and of course wonder if there is something better out there. > > I searched my Fedora mail folder and don't see any thread discussing > cSHAKE. > > Does anyone have experience/knowledge of how to get a cSHAKE function > call on Fedora in python? > https://github.com/lowRISC/opentitan/issues/6694 says cSHAKE from the above has been merged into https://www.pycryptodome.org/. Looking at the ChangeLog: 3.12.0 (4 December 2021): resolved GH#566: cSHAKE128/256 generated a wrong output for customization strings longer than 255 bytes. 3.11.0 (8 October 2021): Added cSHAKE128 and cSHAKE256 (of SHA-3 family). Thanks to Michael Schaffner. ~% dnf search pycryptodome Last metadata expiration check: 0:34:24 ago on Wed Apr 19 08:10:09 2023. =================== Name & Summary Matched: pycryptodome ======================= python3-pycryptodomex-selftest.x86_64 : PyCryptodome test suite module =================== Name Matched: pycryptodome ================================ python3-pycryptodomex.x86_64 : A self-contained cryptographic library for Python -- George N. White III
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue