It would be nice to have some example code for calculating mu.
I wrote the attached one, which is inspired by https://github.com/nsmithuk/mldsa-mu-py/blob/main/src/mldsa_mu/mu.py.
I first generate a signature, then i generate mu manually and verify the signature using verify_mu. Then I also generate a hashmldsa signature and verify it using openssl (taken from wsl in my example).
hashmldsa.py
It would be nice to have some example code for calculating mu.
I wrote the attached one, which is inspired by https://github.com/nsmithuk/mldsa-mu-py/blob/main/src/mldsa_mu/mu.py.
I first generate a signature, then i generate mu manually and verify the signature using verify_mu. Then I also generate a hashmldsa signature and verify it using openssl (taken from wsl in my example).
hashmldsa.py