From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NA7Py-0003pJ-LN for mharc-grub-devel@gnu.org; Mon, 16 Nov 2009 14:39:18 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA7Pw-0003oi-KS for grub-devel@gnu.org; Mon, 16 Nov 2009 14:39:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA7Pr-0003mJ-TV for grub-devel@gnu.org; Mon, 16 Nov 2009 14:39:16 -0500 Received: from [199.232.76.173] (port=53140 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA7Pr-0003m7-Ok for grub-devel@gnu.org; Mon, 16 Nov 2009 14:39:11 -0500 Received: from ey-out-1920.google.com ([74.125.78.147]:24932) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NA7Pr-0002Lh-CX for grub-devel@gnu.org; Mon, 16 Nov 2009 14:39:11 -0500 Received: by ey-out-1920.google.com with SMTP id 3so1888649eyh.34 for ; Mon, 16 Nov 2009 11:39:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=W34eGJ92Fap6uqE+Hf63jAvltD804qAubi3i+cqDLHo=; b=ShycrILa1XUqR0NZLxhsJw7iA4oS2E+JrYgyByI9CspSr+IoZq3Ou8R2TMM4F3sSNi c7u5FDcvqm5zfUssvGGo0fGxifXr5LPOqWLreNsRLtvAOuLvRhb8wVrSKO938KxqPKfO Td3i1b2f3vxS5SGg0iU83jd/wzdnajqYGmgH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=xaJhydUPJ1JyZ77bAD5yjsaJTzfTwPGCzfxbOaC2gZCZ3GMoishlZq+OI8W02Jh1oy jl6zZCBG5zTE4JVGL21GWf2HO4hb6fGUlp2tlXv77gR2ha85Oij+N1WRb734eIKzMJje TbP8b2N+c8+NE3g+tJHLhPIZs830r+PAAVRNA= Received: by 10.213.107.17 with SMTP id z17mr1368541ebo.10.1258400350244; Mon, 16 Nov 2009 11:39:10 -0800 (PST) Received: from debian.bg45.phnet (gprs01.swisscom-mobile.ch [193.247.250.1]) by mx.google.com with ESMTPS id 24sm6027757eyx.45.2009.11.16.11.39.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Nov 2009 11:39:09 -0800 (PST) Message-ID: <4B01AA4E.9010504@gmail.com> Date: Mon, 16 Nov 2009 20:38:54 +0100 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <4B015812.3040808@gmail.com> <20091116143510.GA25789@thorin> <4B01681A.9070302@gmail.com> <20091116182647.GA30919@thorin> In-Reply-To: <20091116182647.GA30919@thorin> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigF2E4AFDA81D56FE94D0DBDDC" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:39:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF2E4AFDA81D56FE94D0DBDDC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Robert Millan wrote: > On Mon, Nov 16, 2009 at 03:56:26PM +0100, Vladimir 'phcoder' Serbinenko= wrote: > =20 >> 2) Adaptation to the lack of gnulib abstraction layer on top of gcrypt= >> =20 > > 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? > > =20 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 --=20 Regards Vladimir 'phcoder' Serbinenko --------------enigF2E4AFDA81D56FE94D0DBDDC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAksBqlcACgkQNak7dOguQgmuVAD/aajt//7pJnTZng9Q1XHoCsBI lmpngO1xQNKN/WXrixwA/162Z2HN68AlEXO5GkddBaozuFqlPq7kJ5S5+GJdFFOP =18pj -----END PGP SIGNATURE----- --------------enigF2E4AFDA81D56FE94D0DBDDC--