]> Git Repo - linux.git/commit - crypto/testmgr.c
crypto: testmgr - add aead cbc des, des3_ede tests
authorNitesh Lal <[email protected]>
Wed, 21 May 2014 11:39:08 +0000 (17:09 +0530)
committerHerbert Xu <[email protected]>
Thu, 22 May 2014 13:03:18 +0000 (21:03 +0800)
commit5208ed2ca16526cdbec25abe594a3cc3aea210f4
treeb133e5a27ae52c3f6e26db1d72d5693c91958298
parent9bac019dad8098a77cce555d929f678e22111783
crypto: testmgr - add aead cbc des, des3_ede tests

Test vectors were taken from existing test for
CBC(DES3_EDE). Associated data has been added to test vectors.
HMAC computed with Crypto++ has been used. Following algos have
been covered.

        (a) "authenc(hmac(sha1),cbc(des))"
        (b) "authenc(hmac(sha1),cbc(des3_ede))"
        (c) "authenc(hmac(sha224),cbc(des))"
        (d) "authenc(hmac(sha224),cbc(des3_ede))"
        (e) "authenc(hmac(sha256),cbc(des))"
        (f) "authenc(hmac(sha256),cbc(des3_ede))"
        (g) "authenc(hmac(sha384),cbc(des))"
        (h) "authenc(hmac(sha384),cbc(des3_ede))"
        (i) "authenc(hmac(sha512),cbc(des))"
        (j) "authenc(hmac(sha512),cbc(des3_ede))"

Signed-off-by: Vakul Garg <[email protected]>
[[email protected]: added hooks for the missing algorithms test and tested the patch]
Signed-off-by: Nitesh Lal <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
crypto/tcrypt.c
crypto/testmgr.c
crypto/testmgr.h
This page took 0.052374 seconds and 4 git commands to generate.