<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/crypto, branch v2.6.22.12</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/crypto?h=v2.6.22.12</id>
<link rel='self' href='https://git.amat.us/linux/atom/crypto?h=v2.6.22.12'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2007-09-26T17:54:41Z</updated>
<entry>
<title>crypto: blkcipher_get_spot() handling of buffer at end of page</title>
<updated>2007-09-26T17:54:41Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-09-11T02:31:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=01add92dd4be6b4641219ea616bc31e6337cbd6c'/>
<id>urn:sha1:01add92dd4be6b4641219ea616bc31e6337cbd6c</id>
<content type='text'>
This corresponds to upstream changesets
e4630f9fd8cdc14eb1caa08dafe649eb5ae09985 and
32528d0fbda1093eeeaa7d0a2c498bbb5154099d.

[CRYPTO] blkcipher: Fix handling of kmalloc page straddling

The function blkcipher_get_spot tries to return a buffer of
the specified length that does not straddle a page.  It has
an off-by-one bug so it may advance a page unnecessarily.

What's worse, one of its callers doesn't provide a buffer
that's sufficiently long for this operation.

This patch fixes both problems.  Thanks to Bob Gilligan for
diagnosing this problem and providing a fix.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[CRYPTO] cryptd: Fix problem with cryptd and the freezer</title>
<updated>2007-05-31T08:10:22Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2007-05-31T08:10:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=189fe3174ce93f4c949325426c87c4d875a13424'/>
<id>urn:sha1:189fe3174ce93f4c949325426c87c4d875a13424</id>
<content type='text'>
Make sure that cryptd is marked as nonfreezable and does not hold up the
freezer.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] api: Read module pointer before freeing algorithm</title>
<updated>2007-05-19T04:51:00Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-05-19T04:51:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=da7cd59ab9c8ed233df4809f6c8c90c636f676c7'/>
<id>urn:sha1:da7cd59ab9c8ed233df4809f6c8c90c636f676c7</id>
<content type='text'>
The function crypto_mod_put first frees the algorithm and then drops
the reference to its module.  Unfortunately we read the module pointer
which after freeing the algorithm and that pointer sits inside the
object that we just freed.

So this patch reads the module pointer out before we free the object.

Thanks to Luca Tettamanti for reporting this.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] tcrypt: Add missing error check</title>
<updated>2007-05-18T06:25:19Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-05-18T06:25:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=29059d12e0c7f349aca6993acac20c5efbe13b81'/>
<id>urn:sha1:29059d12e0c7f349aca6993acac20c5efbe13b81</id>
<content type='text'>
The return value of crypto_hash_final isn't checked in test_hash_cycles.
This patch corrects this.  Thanks to Eric Sesterhenn for reporting this.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>Fix trivial typos in Kconfig* files</title>
<updated>2007-05-09T05:12:20Z</updated>
<author>
<name>David Sterba</name>
<email>dave@jikos.cz</email>
</author>
<published>2007-05-09T05:12:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3dde6ad8fc3939d345a3768464ecff43c91d511a'/>
<id>urn:sha1:3dde6ad8fc3939d345a3768464ecff43c91d511a</id>
<content type='text'>
Fix several typos in help text in Kconfig* files.

Signed-off-by: David Sterba &lt;dave@jikos.cz&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] cryptomgr: Fix use after free</title>
<updated>2007-05-09T03:04:39Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-05-09T03:04:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1605b8471d64c855bc2493abf3adf6a1ebc3e645'/>
<id>urn:sha1:1605b8471d64c855bc2493abf3adf6a1ebc3e645</id>
<content type='text'>
By the time kthread_run returns the param may have already been freed
so writing the returned thread_struct pointer to param is wrong.

In fact, we don't need it in param anyway so this patch simply puts it
on the stack.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] cryptd: Add software async crypto daemon</title>
<updated>2007-05-02T04:38:32Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-04-16T10:49:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=124b53d020622ffa24e27406f2373d5a3debd0d3'/>
<id>urn:sha1:124b53d020622ffa24e27406f2373d5a3debd0d3</id>
<content type='text'>
This patch adds the cryptd module which is a template that takes a
synchronous software crypto algorithm and converts it to an asynchronous
one by executing it in a kernel thread.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] api: Do not remove users unless new algorithm matches</title>
<updated>2007-05-02T04:38:32Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-04-08T11:31:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a73e69965fa2647faa36caf40f4132b9c99d61fd'/>
<id>urn:sha1:a73e69965fa2647faa36caf40f4132b9c99d61fd</id>
<content type='text'>
As it is whenever a new algorithm with the same name is registered
users of the old algorithm will be removed so that they can take
advantage of the new algorithm.  This presents a problem when the
new algorithm is not equivalent to the old algorithm.  In particular,
the new algorithm might only function on top of the existing one.

Hence we should not remove users unless they can make use of the
new algorithm.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] cryptomgr: Fix parsing of nested templates </title>
<updated>2007-05-02T04:38:31Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-03-29T07:32:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cf02f5da9437201d57d93f529839dd40aac8b5f9'/>
<id>urn:sha1:cf02f5da9437201d57d93f529839dd40aac8b5f9</id>
<content type='text'>
This patch allows the use of nested templates by allowing the use of
brackets inside a template parameter.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] api: Add async blkcipher type</title>
<updated>2007-05-02T04:38:31Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-04-16T10:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b5b7f08869340aa8cfa23303f7d195f161479592'/>
<id>urn:sha1:b5b7f08869340aa8cfa23303f7d195f161479592</id>
<content type='text'>
This patch adds the mid-level interface for asynchronous block ciphers.
It also includes a generic queueing mechanism that can be used by other
asynchronous crypto operations in future.

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