<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/crypto/sha.h, branch v4.0</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.0</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.0'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-04-25T13:00:57Z</updated>
<entry>
<title>crypto: sha512 - Expose generic sha512 routine to be callable from other modules</title>
<updated>2013-04-25T13:00:57Z</updated>
<author>
<name>Tim Chen</name>
<email>tim.c.chen@linux.intel.com</email>
</author>
<published>2013-03-26T20:59:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bf70fa9d9ee07aa175453b19a39b2b9dab602d97'/>
<id>urn:sha1:bf70fa9d9ee07aa175453b19a39b2b9dab602d97</id>
<content type='text'>
Other SHA512 routines may need to use the generic routine when
FPU is not available.

Signed-off-by: Tim Chen &lt;tim.c.chen@linux.intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha256 - Expose SHA256 generic routine to be callable externally.</title>
<updated>2013-04-03T01:06:31Z</updated>
<author>
<name>Tim Chen</name>
<email>tim.c.chen@linux.intel.com</email>
</author>
<published>2013-03-26T20:58:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=35d2c9d0c3cfd90850dc647250610587743e1f29'/>
<id>urn:sha1:35d2c9d0c3cfd90850dc647250610587743e1f29</id>
<content type='text'>
Other SHA256 routine may need to use the generic routine when
FPU is not available.

Signed-off-by: Tim Chen &lt;tim.c.chen@linux.intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha - Fix build error due to crypto_sha1_update</title>
<updated>2011-08-16T06:03:05Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2011-08-16T06:03:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4619b6bdb71362d95810f475cc61a6de9d0b1904'/>
<id>urn:sha1:4619b6bdb71362d95810f475cc61a6de9d0b1904</id>
<content type='text'>
On Tue, Aug 16, 2011 at 03:22:34PM +1000, Stephen Rothwell wrote:
&gt;
&gt; After merging the final tree, today's linux-next build (powerpc
&gt; allyesconfig) produced this warning:
&gt;
&gt; In file included from security/integrity/ima/../integrity.h:16:0,
&gt;                  from security/integrity/ima/ima.h:27,
&gt;                  from security/integrity/ima/ima_policy.c:20:
&gt; include/crypto/sha.h:86:10: warning: 'struct shash_desc' declared inside parameter list
&gt; include/crypto/sha.h:86:10: warning: its scope is only this definition or declaration, which is probably not what you want
&gt;
&gt; Introduced by commit 7c390170b493 ("crypto: sha1 - export sha1_update for
&gt; reuse").  I guess you need to include crypto/hash.h in crypto/sha.h.

This patch fixes this by providing a declaration for struct shash_desc.

Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha1 - export sha1_update for reuse</title>
<updated>2011-08-10T11:00:28Z</updated>
<author>
<name>Mathias Krause</name>
<email>minipli@googlemail.com</email>
</author>
<published>2011-08-04T18:19:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7c390170b49337477985be7a624015160ffeb056'/>
<id>urn:sha1:7c390170b49337477985be7a624015160ffeb056</id>
<content type='text'>
Export the update function as crypto_sha1_update() to not have the need
to reimplement the same algorithm for each SHA-1 implementation. This
way the generic SHA-1 implementation can be used as fallback for other
implementations that fail to run under certain circumstances, like the
need for an FPU context while executing in IRQ context.

Signed-off-by: Mathias Krause &lt;minipli@googlemail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha512_generic - Use 64-bit counters</title>
<updated>2009-07-22T06:38:13Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2009-07-22T04:22:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=13887ed6888dad1608eb9530ebd83b6ba29db577'/>
<id>urn:sha1:13887ed6888dad1608eb9530ebd83b6ba29db577</id>
<content type='text'>
This patch replaces the 32-bit counters in sha512_generic with
64-bit counters.  It also switches the bit count to the simpler
byte count.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha512 - Export struct sha512_state</title>
<updated>2009-07-22T06:38:12Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2009-07-22T03:48:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1f38ad8389bbca038d320c29d30aa1d6ed96b48d'/>
<id>urn:sha1:1f38ad8389bbca038d320c29d30aa1d6ed96b48d</id>
<content type='text'>
This patch renames struct sha512_ctx and exports it as struct
sha512_state so that other sha512 implementations can use it
as the reference structure for exporting their state.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha256_generic - Add export/import support</title>
<updated>2009-07-11T10:23:34Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2009-07-10T05:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9b2fda7b94a769af13c24582739e50664b0e27a8'/>
<id>urn:sha1:9b2fda7b94a769af13c24582739e50664b0e27a8</id>
<content type='text'>
This patch adds export/import support to sha256_generic.  The exported
type is defined by struct sha256_state, which is basically the entire
descriptor state of sha256_generic.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha1_generic - Add export/import support</title>
<updated>2009-07-11T10:23:33Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2009-07-09T13:27:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e2a7ce4e185a94462698cc0e5192495ee3d22a2f'/>
<id>urn:sha1:e2a7ce4e185a94462698cc0e5192495ee3d22a2f</id>
<content type='text'>
This patch adds export/import support to sha1_generic.  The exported
type is defined by struct sha1_state, which is basically the entire
descriptor state of sha1_generic.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] sha256-generic: Extend sha256_generic.c to support SHA-224</title>
<updated>2008-01-10T21:16:12Z</updated>
<author>
<name>Jonathan Lynch</name>
<email>jonathan.lynch@intel.com</email>
</author>
<published>2007-11-10T12:08:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=cd12fb906d2591e80da9edcbd4794b9b916d7489'/>
<id>urn:sha1:cd12fb906d2591e80da9edcbd4794b9b916d7489</id>
<content type='text'>
Resubmitting this patch which extends sha256_generic.c to support SHA-224 as
described in FIPS 180-2 and RFC 3874. HMAC-SHA-224 as described in RFC4231
is then supported through the hmac interface.

Patch includes test vectors for SHA-224 and HMAC-SHA-224.

SHA-224 chould be chosen as a hash algorithm when 112 bits of security
strength is required.

Patch generated against the 2.6.24-rc1 kernel and tested against
2.6.24-rc1-git14 which includes fix for scatter gather implementation for HMAC.

Signed-off-by: Jonathan Lynch &lt;jonathan.lynch@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] sha: Add header file for SHA definitions</title>
<updated>2007-10-10T23:55:50Z</updated>
<author>
<name>Jan Glauber</name>
<email>jang@de.ibm.com</email>
</author>
<published>2007-10-09T14:43:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5265eeb2b036835021591173ac64e624baaff55c'/>
<id>urn:sha1:5265eeb2b036835021591173ac64e624baaff55c</id>
<content type='text'>
There are currently several SHA implementations that all define their own
initialization vectors and size values. Since this values are idential
move them to a header file under include/crypto.

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