Skip to content
  • Nitesh Lal's avatar
    crypto: testmgr - add aead cbc des, des3_ede tests · 5208ed2c
    Nitesh Lal authored
    
    
    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: default avatarVakul Garg <vakul@freescale.com>
    [NiteshNarayanLal@freescale.com: added hooks for the missing algorithms test and tested the patch]
    Signed-off-by: default avatarNitesh Lal <NiteshNarayanLal@freescale.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    5208ed2c
testmgr.h 1 MiB