1. 27 Jan, 2016 1 commit
  2. 15 Oct, 2015 2 commits
  3. 14 Oct, 2015 1 commit
  4. 04 Aug, 2015 1 commit
  5. 17 Jul, 2015 3 commits
  6. 14 Jul, 2015 1 commit
  7. 07 Jul, 2015 1 commit
  8. 17 Jun, 2015 4 commits
  9. 09 Jun, 2015 1 commit
  10. 04 Jun, 2015 4 commits
  11. 25 May, 2015 1 commit
  12. 11 May, 2015 1 commit
  13. 01 May, 2015 2 commits
    • David Howells's avatar
      crypto: testmgr - Wrap the LHS in expressions of the form !x == y · 09e21784
      David Howells authored
      
      
      In the test manager, there are a number of if-statements with expressions of
      the form !x == y that incur warnings with gcc-5 of the following form:
      
      ../crypto/testmgr.c: In function '__test_aead':
      ../crypto/testmgr.c:523:12: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
         if (!ret == template[i].fail) {
                  ^
      
      By converting the 'fail' member of struct aead_testvec and struct
      cipher_testvec to a bool, we can get rid of the warnings.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      09e21784
    • David Howells's avatar
      crypto: pcomp - Constify (de)compression parameters · f94a3597
      David Howells authored
      
      
      In testmgr, struct pcomp_testvec takes a non-const 'params' field, which is
      pointed to a const deflate_comp_params or deflate_decomp_params object.  With
      gcc-5 this incurs the following warnings:
      
      In file included from ../crypto/testmgr.c:44:0:
      ../crypto/testmgr.h:28736:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
         .params = &deflate_comp_params,
                   ^
      ../crypto/testmgr.h:28748:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
         .params = &deflate_comp_params,
                   ^
      ../crypto/testmgr.h:28776:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
         .params = &deflate_decomp_params,
                   ^
      ../crypto/testmgr.h:28800:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
         .params = &deflate_decomp_params,
                   ^
      
      Fix this by making the parameters pointer const and constifying the things
      that use it.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      f94a3597
  14. 29 Aug, 2014 1 commit
  15. 01 Aug, 2014 1 commit
  16. 23 Jul, 2014 1 commit
  17. 20 Jun, 2014 2 commits
  18. 22 May, 2014 1 commit
    • 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
  19. 16 Apr, 2014 2 commits
  20. 21 Mar, 2014 1 commit
  21. 07 Sep, 2013 1 commit
  22. 24 Jul, 2013 1 commit
  23. 24 May, 2013 1 commit
  24. 25 Apr, 2013 3 commits
  25. 20 Feb, 2013 1 commit
  26. 06 Dec, 2012 1 commit