<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/crypto/testmgr.c, branch v3.0.61</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.0.61</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.0.61'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2011-05-04T05:04:10Z</updated>
<entry>
<title>crypto: testmgr - add support for aes ofb mode</title>
<updated>2011-05-04T05:04:10Z</updated>
<author>
<name>Puneet Saxena</name>
<email>puneets@nvidia.com</email>
</author>
<published>2011-05-04T05:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ba0e14acc417eceb895efda1ff46366f4d1728f8'/>
<id>urn:sha1:ba0e14acc417eceb895efda1ff46366f4d1728f8</id>
<content type='text'>
the fix add testcase for testing aes ofb mode.

Signed-off-by: Puneet Saxena &lt;puneets@nvidia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - mark ghash as fips_allowed</title>
<updated>2011-01-29T04:14:35Z</updated>
<author>
<name>Jarod Wilson</name>
<email>jarod@redhat.com</email>
</author>
<published>2011-01-29T04:14:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=18c0ebd2d8194cce4b3f67e2903fa01bea892cbc'/>
<id>urn:sha1:18c0ebd2d8194cce4b3f67e2903fa01bea892cbc</id>
<content type='text'>
A self-test failure in fips mode means a panic. Well, gcm(aes)
self-tests currently fail in fips mode, as gcm is dependent on ghash,
which semi-recently got self-test vectors added, but wasn't marked as a
fips_allowed algorithm. Because of gcm's dependence on what is now seen
as a non-fips_allowed algorithm, its self-tests refuse to run.
Previously, ghash got a pass in fips mode, due to the lack of any test
vectors at all, and thus gcm self-tests were able to run. After this
patch, a 'modprobe tcrypt mode=35' no longer panics in fips mode, and
successful self-test of gcm(aes) is reported.

Signed-off-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - mark xts(aes) as fips_allowed</title>
<updated>2011-01-29T04:14:01Z</updated>
<author>
<name>Jarod Wilson</name>
<email>jarod@redhat.com</email>
</author>
<published>2011-01-29T04:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2918aa8d1d4e7b4586a5a89dc8406e1d431f5129'/>
<id>urn:sha1:2918aa8d1d4e7b4586a5a89dc8406e1d431f5129</id>
<content type='text'>
We (Red Hat) are intending to include dm-crypt functionality, using
xts(aes) for disk encryption, as part of an upcoming FIPS-140-2
certification effort, and xts(aes) *is* on the list of possible
mode/cipher combinations that can be certified. To make that possible, we
need to mark xts(aes) as fips_allowed in the crypto subsystem.

A 'modprobe tcrypt mode=10' in fips mode shows xts(aes) self-tests
passing successfully after this change.

Signed-off-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: rfc4106 - Extending the RC4106 AES-GCM test vectors</title>
<updated>2010-11-13T12:47:56Z</updated>
<author>
<name>Adrian Hoban</name>
<email>adrian.hoban@intel.com</email>
</author>
<published>2010-11-04T19:02:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=69435b94d01f49197b287eb5902fb8c5cee8fe1d'/>
<id>urn:sha1:69435b94d01f49197b287eb5902fb8c5cee8fe1d</id>
<content type='text'>
Updated RFC4106 AES-GCM testing. Some test vectors were taken from
http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/
gcm/gcm-test-vectors.tar.gz

Signed-off-by: Adrian Hoban &lt;adrian.hoban@intel.com&gt;
Signed-off-by: Tadeusz Struk &lt;tadeusz.struk@intel.com&gt;
Signed-off-by: Gabriele Paoloni &lt;gabriele.paoloni@intel.com&gt;
Signed-off-by: Aidan O'Mahony &lt;aidan.o.mahony@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Fix test disabling option</title>
<updated>2010-08-06T01:40:28Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2010-08-06T01:40:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=326a6346ffb5b19eb593530d9d3096d409e46f62'/>
<id>urn:sha1:326a6346ffb5b19eb593530d9d3096d409e46f62</id>
<content type='text'>
This patch fixes a serious bug in the test disabling patch where
it can cause an spurious load of the cryptomgr module even when
it's compiled in.

It also negates the test disabling option so that its absence
causes tests to be enabled.

The Kconfig option is also now behind EMBEDDED.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - add an option to disable cryptoalgos' self-tests</title>
<updated>2010-06-03T10:53:43Z</updated>
<author>
<name>Alexander Shishkin</name>
<email>virtuoso@slind.org</email>
</author>
<published>2010-06-03T10:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0b767f96164b2b27488e3daa722ff16e89d49314'/>
<id>urn:sha1:0b767f96164b2b27488e3daa722ff16e89d49314</id>
<content type='text'>
By default, CONFIG_CRYPTO_MANAGER_TESTS will be enabled and thus
self-tests will still run, but it is now possible to disable them
to gain some time during bootup.

Signed-off-by: Alexander Shishkin &lt;virtuoso@slind.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Add testing for async hashing and update/final</title>
<updated>2010-05-19T04:12:03Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-05-19T04:12:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a8f1a05292db8b410be47fa905669672011f0343'/>
<id>urn:sha1:a8f1a05292db8b410be47fa905669672011f0343</id>
<content type='text'>
Extend testmgr such that it tests async hash algorithms,
and that for both sync and async hashes it tests both
-&gt;digest() and -&gt;update()/-&gt;final() sequences.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Fix complain about lack test for internal used algorithm</title>
<updated>2009-12-23T11:45:20Z</updated>
<author>
<name>Youquan, Song</name>
<email>youquan.song@intel.com</email>
</author>
<published>2009-12-23T11:45:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=863b557a88f8c033f7419fabafef4712a5055f85'/>
<id>urn:sha1:863b557a88f8c033f7419fabafef4712a5055f85</id>
<content type='text'>
When load aesni-intel and ghash_clmulni-intel driver,kernel will complain no
 test for some internal used algorithm.
The strange information as following:

alg: No test for __aes-aesni (__driver-aes-aesni)
alg: No test for __ecb-aes-aesni (__driver-ecb-aes-aesni)
alg: No test for __cbc-aes-aesni (__driver-cbc-aes-aesni)
alg: No test for __ecb-aes-aesni (cryptd(__driver-ecb-aes-aesni)
alg: No test for __ghash (__ghash-pclmulqdqni)
alg: No test for __ghash (cryptd(__ghash-pclmulqdqni))

This patch add NULL test entries for these algorithm and driver.  

Signed-off-by: Youquan, Song &lt;youquan.song@intel.com&gt;
Signed-off-by: Ying, Huang &lt;ying.huang@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Add ghash algorithm test before provide to users</title>
<updated>2009-11-23T12:23:04Z</updated>
<author>
<name>Youquan, Song</name>
<email>youquan.song@intel.com</email>
</author>
<published>2009-11-23T12:23:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=507069c91e36786b3fa5d9515c35ed6bb0ce469b'/>
<id>urn:sha1:507069c91e36786b3fa5d9515c35ed6bb0ce469b</id>
<content type='text'>
Add ghash algorithm test before provide it to users

Signed-off-by: Youquan, Song &lt;youquan.song@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Fix warning</title>
<updated>2009-10-27T11:04:42Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2009-10-27T11:04:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=fa4ef8a6af4745bbf3a25789bc7d4f14a3a6d803'/>
<id>urn:sha1:fa4ef8a6af4745bbf3a25789bc7d4f14a3a6d803</id>
<content type='text'>
crypto/testmgr.c: In function ‘test_cprng’:
crypto/testmgr.c:1204: warning: ‘err’ may be used uninitialized in this function

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