lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5ec8ebd51003102359w277e6aadna483d44ee3ff856f@mail.gmail.com>
Date:	Thu, 11 Mar 2010 09:59:57 +0200
From:	Andy Shevchenko <andy.shevchenko@...il.com>
To:	Joe Perches <joe@...ches.com>
Cc:	OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/5] fs: fat: use hex_asc_lo/hex_asc_hi instead of custom 
	one

On Thu, Mar 11, 2010 at 9:21 AM, Joe Perches <joe@...ches.com> wrote:
>> > +                           *op++ = hex_asc_hi(ec >> 8);
>> > +                           *op++ = hex_asc_lo(ec >> 8);
>> > +                           *op++ = hex_asc_hi(ec);
>> > +                           *op++ = hex_asc_lo(ec);
>> Why doesn't this use pack_hex_byte()?
> or snprintf
sprintf looks like overkill here.

-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ