<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/crypto/drbg.c, branch linux-3.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-11-27T14:26:18Z</updated>
<entry>
<title>crypto: drbg - use memzero_explicit() for clearing sensitive data</title>
<updated>2014-11-27T14:26:18Z</updated>
<author>
<name>Nickolaus Woodruff</name>
</author>
<published>2014-11-26T18:40:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=421d82f5b3e75f94e31875e37d45cdf6a557c120'/>
<id>urn:sha1:421d82f5b3e75f94e31875e37d45cdf6a557c120</id>
<content type='text'>
Compiler dead store optimization can sometimes remove final calls
to memset() used to clear sensitive data at the end of a function.
Replace trailing memset() calls with memzero_explicit() to
preclude unwanted removal.

Signed-off-by: Nickolaus Woodruff &lt;nickolauswoodruff@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: drbg - use MODULE_ALIAS_CRYPTO</title>
<updated>2014-11-26T12:06:30Z</updated>
<author>
<name>Stephan Mueller</name>
</author>
<published>2014-11-25T08:28:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0653a7cf6fa49bc769628b6078c3ea9e1489cb7b'/>
<id>urn:sha1:0653a7cf6fa49bc769628b6078c3ea9e1489cb7b</id>
<content type='text'>
Use the crypto- prefix for the DRBG implementations.

Signed-off-by: Stephan Mueller &lt;smueller@chronox.de&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: drbg - add MODULE_ALIAS for all DRBG types</title>
<updated>2014-11-10T14:09:00Z</updated>
<author>
<name>Stephan Mueller</name>
</author>
<published>2014-11-04T02:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62b62b6e5c574c1e70637d9d685b4b194c7ca48f'/>
<id>urn:sha1:62b62b6e5c574c1e70637d9d685b4b194c7ca48f</id>
<content type='text'>
The kernel module drbg.ko is currently not loaded automatically when a
DRBG is requested by a consumer. This is due to missing MODULE_ALIAS
flags for each of the implemented DRBG types.

This patch adds aliases for each of the 22 defined DRBGs.

Signed-off-by: Stephan Mueller &lt;smueller@chronox.de&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: drbg - use crypto_inc</title>
<updated>2014-10-24T14:49:36Z</updated>
<author>
<name>Stephan Mueller</name>
</author>
<published>2014-10-14T19:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41a84982a1d728165554be3e2be845f2caf83b55'/>
<id>urn:sha1:41a84982a1d728165554be3e2be845f2caf83b55</id>
<content type='text'>
The DRBG internal buffer addition function is replaced with crypto_inc when
a buffer is to be incremented by one.

The function drbg_add_buf is moved to the CONFIG_CRYPTO_DRBG_HASH ifdef
area as it is now only needed for the Hash DRBG.

Signed-off-by: Stephan Mueller &lt;smueller@chronox.de&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6</title>
<updated>2014-09-05T08:11:43Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2014-09-05T08:11:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea2d9fc1af6ebcdf849723ac4f3f91a1c93b5e7c'/>
<id>urn:sha1:ea2d9fc1af6ebcdf849723ac4f3f91a1c93b5e7c</id>
<content type='text'>
Merging the crypto tree for 3.17 in order to resolve the conflict
on the 32-bit DRBG overflow fix.
</content>
</entry>
<entry>
<title>crypto: drbg - remove check for uninitialized DRBG handle</title>
<updated>2014-09-05T07:56:43Z</updated>
<author>
<name>Stephan Mueller</name>
</author>
<published>2014-09-01T05:11:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78f543a93473f67a1035949a293b79288e259b6e'/>
<id>urn:sha1:78f543a93473f67a1035949a293b79288e259b6e</id>
<content type='text'>
The drbg_healthcheck() contained a test to call the DRBG with an
uninitialized DRBG cipher handle. As this is an inappropriate use of the
kernel crypto API to try to generate random numbers before
initialization, checks verifying for an initialized DRBG have been
removed in previous patches.

Now, the drbg_healthcheck test must also be removed.

Changes V2: Added patch marker to email subject line.

Signed-off-by: Stephan Mueller &lt;smueller@chronox.de&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: drbg - fix sparse warning for cpu_to_be[32|64]</title>
<updated>2014-08-26T07:33:28Z</updated>
<author>
<name>Stephan Mueller</name>
</author>
<published>2014-08-26T07:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c8ae03f41e635813b777a0989d8ac1ff5a8494e'/>
<id>urn:sha1:7c8ae03f41e635813b777a0989d8ac1ff5a8494e</id>
<content type='text'>
The sparse tool complained that the cpu_to_be[32|64] functions return
__be[32|64] instead of __u32 or __u64. The patch replaces the __u32 and
__u64 with __be32 and __be64.

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Stephan Mueller &lt;smueller@chronox.de&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: drbg - remove unnecessary sanity check for shadow state</title>
<updated>2014-08-25T12:34:14Z</updated>
<author>
<name>Stephan Mueller</name>
</author>
<published>2014-08-17T15:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84693d87a6d7e84a5183fc871653269880614d92'/>
<id>urn:sha1:84693d87a6d7e84a5183fc871653269880614d92</id>
<content type='text'>
During creation of the DRBG shadow state, it is ensured that the DRBG
state structure is already allocated. Thus, a sanity check for verifying
that the structure is allocated is removed.

Signed-off-by: Stephan Mueller &lt;smueller@chronox.de&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: drbg - remove configuration of fixed values</title>
<updated>2014-08-25T12:34:12Z</updated>
<author>
<name>Stephan Mueller</name>
</author>
<published>2014-08-17T15:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05c81ccd9087d238c10b234eadb55632742e5518'/>
<id>urn:sha1:05c81ccd9087d238c10b234eadb55632742e5518</id>
<content type='text'>
SP800-90A mandates several hard-coded values. The old drbg_cores allows
the setting of these values per DRBG implementation. However, due to the
hard requirement of SP800-90A, these values are now returned globally
for each DRBG.

The ability to set such values per DRBG is therefore removed.

Signed-off-by: Stephan Mueller &lt;smueller@chronox.de&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: drbg - remove unnecessary sanity checks</title>
<updated>2014-08-25T12:34:11Z</updated>
<author>
<name>Stephan Mueller</name>
</author>
<published>2014-08-17T15:40:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc034ef5573ef4d81daa666c02a3df1ad28e24a7'/>
<id>urn:sha1:bc034ef5573ef4d81daa666c02a3df1ad28e24a7</id>
<content type='text'>
The drbg_make_shadow function contains sanity checks which are not
needed as the function is invoked at times where it is ensured that the
checked-for variables are available.

Signed-off-by: Stephan Mueller &lt;smueller@chronox.de&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
