Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NA7jH-00022Z-FD for mharc-grub-devel@gnu.org; Mon, 16 Nov 2009 14:59:15 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA7jF-00020J-FB for grub-devel@gnu.org; Mon, 16 Nov 2009 14:59:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA7jA-0001vY-OX for grub-devel@gnu.org; Mon, 16 Nov 2009 14:59:12 -0500 Received: from [199.232.76.173] (port=50722 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA7jA-0001vK-JA for grub-devel@gnu.org; Mon, 16 Nov 2009 14:59:08 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:38663 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NA7j9-0005fA-VT for grub-devel@gnu.org; Mon, 16 Nov 2009 14:59:08 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NA7j8-0003wF-LN for grub-devel@gnu.org; Mon, 16 Nov 2009 20:59:06 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NA7j8-0000n0-26 for grub-devel@gnu.org; Mon, 16 Nov 2009 20:59:06 +0100 Date: Mon, 16 Nov 2009 20:59:06 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20091116195906.GB31886@thorin> References: <4B015812.3040808@gmail.com> <20091116143510.GA25789@thorin> <4B01681A.9070302@gmail.com> <20091116182647.GA30919@thorin> <4B01AA4E.9010504@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B01AA4E.9010504@gmail.com> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] Cryptography X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 19:59:13 -0000 On Mon, Nov 16, 2009 at 08:38:54PM +0100, Vladimir 'phcoder' Serbinenko wrote: > Robert Millan wrote: > > On Mon, Nov 16, 2009 at 03:56:26PM +0100, Vladimir 'phcoder' Serbinenko wrote: > > > >> 2) Adaptation to the lack of gnulib abstraction layer on top of gcrypt > >> > > > > It seems that the usual way of importing gc-pbkdf2-sha1.c is by linking it > > with gc-gnulib.c or gc-libgcrypt.c. Is this option problematic? > > > > > libgcrypt is done like this: > > libgcrypt API ----> Common cryptographic algorithms layer (for some > algorithms it's quite a passthrough) ---> ciphers > > Although we use ciphers from libgcrypt, our middle layer is much simpler > and lacks per-cipher integer IDs. Because of it using gc-libgcrypt.c > would require an additional level of wrapping and it's much easier to > just modify few lines in PBKDF2 Ok. Then in principle we wouldn't contemplate resyncing this file, right? What version of libgcrypt should be imported? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."