Am Montag, 9. Mai 2016, 11:55:58 schrieb Tadeusz Struk: Hi Tadeusz, > On 05/09/2016 11:50 AM, Stephan Mueller wrote: > > I think I see my error: pkcs1pad(rsa,HASH) -- I missed the hash part that > > activates the decoding. Thank you for the pointer. > > > > Once I completed my testing, I think I need to beef up the documentation a > > bit. > > Right, this can work in two modes. The pkcs1pad(rsa) only strips the > padding. Thanks, One followup: is the final memcmp() between the decrypted hash and the hash of the message implemented in the RSA verify code path? At least I do not see it right away. Ciao Stephan -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html