Hi folks - I've been struggling mightily with attempting to generate signatures for arbitrary payload in a correct and consistent fashion. I've managed to generate (some kind of) signature in C, and in Python (the two languages I have to exchange between), both are validated by the openssl dgst command, but neither one is able to verify the others.
I've included the latest version of the C code, the Python code, and the Makefile and Output in the pastebin below. https://paste.lugons.org/show/SZPPTplR3tvWgv789dtY/ Help, guidance, example code, samples, etc would be greatly appreciated. Cheers, --B