Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH 2/2] crypto: remove padding logic from rsa.c | Date | Fri, 26 Feb 2016 14:00:21 +0000 |
| |
Tadeusz Struk <tadeusz.struk@intel.com> wrote:
> + if (memcmp(sig->digest, output, sig->digest_size) ||
I've added " != 0" after the memcmp().
> + req->dst_len != sig->digest_size) > + ret = -EBADMSG;
Btw, this has to be -EKEYREJECTED; -EBADMSG would indicate that the container is unparseable. I wonder if we should propose a -ESIGREJECTED error...
David
| |