All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Ryabinin <ryabinin.a.a@gmail.com>
To: David Howells <dhowells@redhat.com>
Cc: jmorris@namei.org, Dmitry Kasatkin <dmitry.kasatkin@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>,
	stable@vger.kernel.org, linux-security-module@vger.kernel.org,
	keyrings@vger.kernel.org, linux-ima-devel@lists.sourceforge.net,
	herbert@gondor.apana.org.au
Subject: Re: [PATCH 2/2] MPI: Fix mpi_powm() when exponent is 0 and the result has no limbs
Date: Thu, 24 Nov 2016 15:20:58 +0300	[thread overview]
Message-ID: <CAPAsAGxEFCYmBoycg5ABYSoC6=fgdnrG-Hjxb9Xyo39Xh6=nig@mail.gmail.com> (raw)
In-Reply-To: <5847.1479987309@warthog.procyon.org.uk>

2016-11-24 14:35 GMT+03:00 David Howells <dhowells@redhat.com>:
> Andrey Ryabinin <ryabinin.a.a@gmail.com> wrote:
>
>> I'm also made a fix for this yesterday -
>> http://lkml.kernel.org/r/1479918484-31952-1-git-send-email-aryabinin@virtuozzo.com
>
> I should add a record to the MAINTAINERS file that directs patches to MPI to
> keyrings@vger.kernel.org so that I see things like this.
>

Would be nice. It was unclear who maintains it. Since all recent
changes to mpi were merged through crypto tree,
I send this to crypto maintainers.

>> The only small difference is that in my the limb space is not
>> allocated when it's not needed, i.e. when res->nlimbs == 0.
>
> I guess if nlimbs is 0 then the value is 0, right?
>

Right, as far as I understand.


> David

  reply	other threads:[~2016-11-24 12:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24  8:51 [PATCH 0/2] KEYS: Fixes David Howells
2016-11-24  8:51 ` [PATCH 1/2] X.509: Fix double free in x509_cert_parse() David Howells
2016-11-24  8:51 ` [PATCH 2/2] MPI: Fix mpi_powm() when exponent is 0 and the result has no limbs David Howells
2016-11-24 11:20   ` Andrey Ryabinin
2016-11-24 11:35   ` David Howells
2016-11-24 12:20     ` Andrey Ryabinin [this message]
2016-11-24 11:17 ` David Howells
2016-11-24 11:22   ` Andrey Ryabinin
2016-11-24 11:33   ` David Howells
2016-11-24 12:20     ` Andrey Ryabinin
2016-11-24 12:56     ` David Howells
2016-11-24 12:57     ` David Howells
2016-11-24 13:00       ` Andrey Ryabinin
2016-11-24 22:44 ` [PATCH 0/2] KEYS: Fixes James Morris
2016-11-24 23:16 ` David Howells
2016-11-24 23:27   ` James Morris
2016-11-24 23:39   ` David Howells
2016-11-25  1:33     ` James Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPAsAGxEFCYmBoycg5ABYSoC6=fgdnrG-Hjxb9Xyo39Xh6=nig@mail.gmail.com' \
    --to=ryabinin.a.a@gmail.com \
    --cc=dhowells@redhat.com \
    --cc=dmitry.kasatkin@gmail.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jmorris@namei.org \
    --cc=keyrings@vger.kernel.org \
    --cc=linux-ima-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.