From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4157 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: [Feature Request] SHA-1 HMAC Date: Sat, 26 Oct 2013 14:28:48 +0200 Message-ID: <20131026122848.GN1685@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1382790538 29683 80.91.229.3 (26 Oct 2013 12:28:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Oct 2013 12:28:58 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4161-gllmg-musl=m.gmane.org@lists.openwall.com Sat Oct 26 14:29:03 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Va2zF-00049m-TJ for gllmg-musl@plane.gmane.org; Sat, 26 Oct 2013 14:29:02 +0200 Original-Received: (qmail 20039 invoked by uid 550); 26 Oct 2013 12:29:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 20031 invoked from network); 26 Oct 2013 12:29:00 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4157 Archived-At: * Daniel Cegie?ka [2013-10-25 21:23:03 +0200]: > Adding HMAC to musl doesn't make sense. This is only one C file, so > why you just don't want to keep this in the sources of your software? including a source file is not optimal putting crypto primitives in a library makes perfect sense the place for this is not libc but a crypto library like libopenssl, libtomcrypt, libgcrypt, etc unfortunately most of these are not well-structured or well-maintained which is important for crypto code there are various high quality but half baked solutions (like nacl of djb or the kripto lib that came up on this list earlier, neither of them are widely used/deployed)