1. 29 1月, 2011 2 次提交
    • J
      crypto: testmgr - mark ghash as fips_allowed · 18c0ebd2
      Jarod Wilson 提交于
      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: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      18c0ebd2
    • J
      crypto: testmgr - mark xts(aes) as fips_allowed · 2918aa8d
      Jarod Wilson 提交于
      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: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      2918aa8d
  2. 13 11月, 2010 1 次提交
  3. 06 8月, 2010 1 次提交
  4. 03 6月, 2010 1 次提交
  5. 19 5月, 2010 1 次提交
  6. 23 12月, 2009 1 次提交
  7. 23 11月, 2009 1 次提交
  8. 27 10月, 2009 1 次提交
  9. 02 9月, 2009 1 次提交
  10. 02 7月, 2009 1 次提交
  11. 24 6月, 2009 1 次提交
  12. 02 6月, 2009 14 次提交
  13. 04 3月, 2009 2 次提交
  14. 25 12月, 2008 4 次提交
  15. 29 8月, 2008 5 次提交
  16. 13 8月, 2008 1 次提交
    • H
      crypto: tcrypt - Fix AEAD chunk testing · f176e632
      Herbert Xu 提交于
      My changeset 4b22f0dd
      
      	crypto: tcrpyt - Remove unnecessary kmap/kunmap calls
      
      introduced a typo that broke AEAD chunk testing.  In particular,
      axbuf should really be xbuf.
      
      There is also an issue with testing the last segment when encrypting.
      The additional part produced by AEAD wasn't tested.  Similarly, on
      decryption the additional part of the AEAD input is mistaken for
      corruption.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      f176e632
  17. 10 7月, 2008 2 次提交