From: David Howells Subject: Re: [PATCH v1.4 1/5] lib: hex2bin converts ascii hexadecimal string to binary Date: Fri, 19 Nov 2010 15:43:03 +0000 Message-ID: <9780.1290181383@redhat.com> References: <1290120166-3132-2-git-send-email-zohar@linux.vnet.ibm.com> <1290120166-3132-1-git-send-email-zohar@linux.vnet.ibm.com> Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@linux-nfs.org, linux-crypto@vger.kernel.org, Jason Gunthorpe , James Morris , David Safford , Rajiv Andrade , Mimi Zohar To: Mimi Zohar Return-path: In-Reply-To: <1290120166-3132-2-git-send-email-zohar@linux.vnet.ibm.com> Sender: linux-security-module-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org Mimi Zohar wrote: > Similar to the kgdb_hex2mem() code, hex2bin converts a string > to binary using the hex_to_bin() library call. > > Changelog: > - Replace parameter names with src/dst (based on David Howell's comment) > - Add 'const' where needed (based on David Howell's comment) > - Replace int with size_t (based on David Howell's comment) > > Signed-off-by: Mimi Zohar > Acked-by: Serge E. Hallyn Acked-by: David Howells