From: David Howells Subject: Re: [PATCH] MPI: Fix mpi_read_buffer Date: Tue, 15 Sep 2015 12:05:46 +0100 Message-ID: <12898.1442315146@warthog.procyon.org.uk> References: <12302.1442308196@warthog.procyon.org.uk> <20150824145214.26239.98271.stgit@tstruk-mobl1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Cc: dhowells@redhat.com, Tadeusz Struk , herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org To: unlisted-recipients:; (no To-header on input) Return-path: Received: from mx1.redhat.com ([209.132.183.28]:53193 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752600AbbIOLFu convert rfc822-to-8bit (ORCPT ); Tue, 15 Sep 2015 07:05:50 -0400 In-Reply-To: <12302.1442308196@warthog.procyon.org.uk> Content-ID: <12897.1442315146.1@warthog.procyon.org.uk> Sender: linux-crypto-owner@vger.kernel.org List-ID: David Howells wrote: > > Change mpi_read_buffer to return a number without leading zeros > > so that mpi_read_buffer and mpi_get_buffer return the same thing. > > Hmmm... This would appear to have the undesirable side effect of causing 1 > out of 256 module signing keys to be unusable (ie. those that begin with 00). At least, I think it's this, but it's not entirely clear since it's not been reproduced yet. David