Tadeusz Struk <tadeusz.st...@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
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to