testmgr: async hashes : _update and _final tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 This is regarding the following patch:
 http://www.mail-archive.com/linux-crypto@xxxxxxxxxxxxxxx/msg04527.html

 I am using 2.6.39.4.

 1 question:

 Q1. [SHA1]When I try to run sha1 tests on a hardware, I see that the tests are running from sha1_tv_template[].
 [A] 3 tests are supposed to be run using crypto_ahash_digest() for lengths 3 bytes, 56 bytes and 163 bytes. +
 [B] 3 more tests (3, 56, 163 bytes again) are supposed to be run using crypto_ahash_init/_update and _final().

 What I am observing is that in the [B] set of tests, the first test (length 3 bytes) runs with _init/_update/_final but the reamining two tests (of length 56 and 163 bytes) run with crypto_ahash_digest() instead of _init/_update/_final().

 I could not figure out why this is happening?


 ~Jitendra 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux