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: <571DDFE3.9010407@gmail.com>
Date:	Mon, 25 Apr 2016 17:14:11 +0800
From:	Zeng Zhaoxiu <zhaoxiu.zeng@...il.com>
To:	George Spelvin <linux@...izon.com>, linux-kernel@...r.kernel.org,
	zengzhaoxiu@....com
Cc:	akpm@...ux-foundation.org, arnd@...db.de, dvlasenk@...hat.com,
	linux-arch@...r.kernel.org, martink@...teo.de, mingo@...nel.org,
	sasha.levin@...cle.com, yury.norov@...il.com
Subject: Re: [PATCH V3 01/29] bitops: add parity functions

在 2016年04月20日 02:45, George Spelvin 写道:
>> Add generic odd parity functions, adapted from
>> "https://graphics.stanford.edu/~seander/bithacks.html#ParityParallel"
> Given a PARITY_MAGIC of 0x6996, this is even parity, not odd.
>
> (Which it should be; an XOR of all bits is the "natural" form.)

 From "http://www.encyclopedia.com/doc/1O11-oddparity.html", we can get
the definition of "odd parity":

odd parity A property that holds when a group of binary values contains an odd number of 1s.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ