cryptography icon indicating copy to clipboard operation
cryptography copied to clipboard

Support for KMAC

Open BrianSipos opened this issue 11 months ago • 3 comments

It would be convenient if this library directly supported the cSHAKE and KMAC algorithms from NIST SP 800-185. These algorithms are already implemented as part of PyCryptodome but having them in this library would enable some other synergistic uses within cryptography.

BrianSipos avatar Dec 13 '24 14:12 BrianSipos

We rely on OpenSSL for core cryptographic algorithms, are these available in OpenSSL?

alex avatar Dec 13 '24 14:12 alex

As of OpenSSL 3 there are EVP APIs for KMAC128 and KMAC256 with an example of use. Don't see a direct cSHAKE use in the API though.

I actually care more about being able to use KMAC than the underlying cSHAKE, so I'll update this ticket to clarify.

BrianSipos avatar Dec 13 '24 14:12 BrianSipos

We would consider a proposed API + PR for this but are unlikely to design and develop it ourselves.

alex avatar Oct 04 '25 12:10 alex