On Sun, 2019-06-23 at 12:00 +0300, Vitaly Chikunov wrote: > Convert sign v2 from RSA API (with manual formatting PKCS1) to more generic > EVP_PKEY API, allowing to generate more types of OpenSSL supported signatures. > This is done to enable EC-RDSA signatures, which are already supported in the > Kernel. With some small fixes. > > All patches tested on x86_64 to not break anything. > > Changes since v6: > - Remove "Make sure sig buffer is always MAX_SIGNATURE_SIZE" commit. Instead, > change assumption of sign_hash_v2() about @sig size. With and without this change, the sha family is working properly, but with this patch set, I'm now seeing "sign_hash_v2: signing failed: (invalid digest)" for gost/streebog. Previously it worked. Mimi