Legrandin / pycryptodome

A self-contained cryptographic library for Python
https://www.pycryptodome.org
Other
2.74k stars 492 forks source link

Plans for KangarooTwelve? #780

Closed cjpatton closed 6 months ago

cjpatton commented 8 months ago

As far as I can tell, KangarooTwelve is not compatible with the CFRG draft version: https://datatracker.ietf.org/doc/draft-irtf-cfrg-kangarootwelve/

Am I correct? If so: The draft has reached RG last call, so I'm wondering if there are plans to align PyCryptodome with the (future) RFC.

Legrandin commented 6 months ago

I will add the test vectors from the RFC draft, but after a quick check & test, the KangarooTwelve implementation in this library is the already compatible with the draft. No change seems required, but I am happy to learn if I missing something.

On the other hand, I intend to add TurboSHAKE128 (and 256).

Legrandin commented 6 months ago

Closing. I confirm that the current implementation of KangarooTwelve is compatible with the latest RFC draft.

cjpatton commented 6 months ago

Thanks so much! In which release can we expect TurboSHAKE?

Legrandin commented 6 months ago

It is available today in version 3.20.0: https://www.pycryptodome.org/src/hash/turboshake