<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/crypto, branch v2.6.19</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2006-10-16T11:28:58Z</updated>
<entry>
<title>[CRYPTO] api: Select cryptomgr where needed</title>
<updated>2006-10-16T11:28:58Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-10-16T11:28:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=43518407d57f1b685f5a9f1a981734ce66a21f76'/>
<id>urn:sha1:43518407d57f1b685f5a9f1a981734ce66a21f76</id>
<content type='text'>
Since cryptomgr is the only way to construct algorithm instances
for now it makes sense to let the templates depend on it as
otherwise it may be left off inadvertently.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] api: fix crypto_alloc_base() return value</title>
<updated>2006-10-11T12:29:51Z</updated>
<author>
<name>Akinobu Mita</name>
<email>akinobu.mita@gmail.com</email>
</author>
<published>2006-10-11T12:29:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9765d262b8230b735c4b2815b041c09a00833cf1'/>
<id>urn:sha1:9765d262b8230b735c4b2815b041c09a00833cf1</id>
<content type='text'>
This patch makes crypto_alloc_base() return proper return value.

- If kzalloc() failure happens within __crypto_alloc_tfm(),
  crypto_alloc_base() returns NULL. But crypto_alloc_base()
  is supposed to return error code as pointer. So this patch
  makes it return -ENOMEM in that case.

- crypto_alloc_base() is suppose to return -EINTR, if it is
  interrupted by signal. But it may not return -EINTR.

Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[PATCH] serpent: fix endian warnings</title>
<updated>2006-10-10T23:15:33Z</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2005-12-22T22:12:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d08f74e58cad8f1844f6e01636a76dd52d41bb0f'/>
<id>urn:sha1:d08f74e58cad8f1844f6e01636a76dd52d41bb0f</id>
<content type='text'>
Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] hmac: Fix error truncation by unlikely()</title>
<updated>2006-09-23T23:48:46Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-09-23T23:30:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=73af07de3e32b9ac328c3d1417258bb98a9b0a9b'/>
<id>urn:sha1:73af07de3e32b9ac328c3d1417258bb98a9b0a9b</id>
<content type='text'>
The error return values are truncated by unlikely so we need to
save it first.  Thanks to Kyle Moffett for spotting this.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] hmac: Fix hmac_init update call</title>
<updated>2006-09-23T18:34:43Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-09-23T14:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5f77043f0f7851aa6139fb9a8b297497b540b397'/>
<id>urn:sha1:5f77043f0f7851aa6139fb9a8b297497b540b397</id>
<content type='text'>
The crypto_hash_update call in hmac_init gave the number 1
instead of the length of the sg list in bytes.  This is a
missed conversion from the digest =&gt; hash change.

As tcrypt only tests crypto_hash_digest it didn't catch this.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] users: Use crypto_comp and crypto_has_*</title>
<updated>2006-09-21T01:46:22Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-08-26T08:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e4d5b79c661c7cfca9d8d5afd040a295f128d3cb'/>
<id>urn:sha1:e4d5b79c661c7cfca9d8d5afd040a295f128d3cb</id>
<content type='text'>
This patch converts all users to use the new crypto_comp type and the
crypto_has_* functions.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] api: Add crypto_comp and crypto_has_*</title>
<updated>2006-09-21T01:46:21Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-08-26T07:35:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fce32d70ba834129b164c40c2d4260e5a7a7d850'/>
<id>urn:sha1:fce32d70ba834129b164c40c2d4260e5a7a7d850</id>
<content type='text'>
This patch adds the crypto_comp type to complete the compile-time checking
conversion.  The functions crypto_has_alg and crypto_has_cipher, etc. are
also added to replace crypto_alg_available.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] digest: Remove old HMAC implementation</title>
<updated>2006-09-21T01:46:20Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-08-20T05:25:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8425165dfed27945e8509c141cea245d1739e372'/>
<id>urn:sha1:8425165dfed27945e8509c141cea245d1739e372</id>
<content type='text'>
This patch removes the old HMAC implementation now that nobody uses it
anymore.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] tcrypt: Use HMAC template and hash interface</title>
<updated>2006-09-21T01:46:18Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-08-19T11:38:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e9d41164e2fdd897fe4520c2079ea0000f6e0ec3'/>
<id>urn:sha1:e9d41164e2fdd897fe4520c2079ea0000f6e0ec3</id>
<content type='text'>
This patch converts tcrypt to use the new HMAC template rather than the
hard-coded version of HMAC.  It also converts all digest users to use
the new cipher interface.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] hmac: Add crypto template implementation</title>
<updated>2006-09-21T01:46:17Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-08-21T10:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0796ae061e6da5de7cfc1af57dfd42a73908b1bf'/>
<id>urn:sha1:0796ae061e6da5de7cfc1af57dfd42a73908b1bf</id>
<content type='text'>
This patch rewrites HMAC as a crypto template.  This means that HMAC is no
longer a hard-coded part of the API.  It's now a template that generates
standard digest algorithms like any other.

The old HMAC is preserved until all current users are converted.

The same structure can be used by other MACs such as AES-XCBC-MAC.

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