1. 13 Feb, 2018 2 commits
  2. 12 Feb, 2018 2 commits
    • Milan Broz's avatar
      Fix Veracrypt PIM handling. · 627a538b
      Milan Broz authored
      The code must not set global table with KDF variants but
      it shuld calculate local iterations count.
      
      Also PIM is not used for old Trucrypt modes, do not use it there.
      
      Also fix leak of PIM iteration count to debug log.
      
      Fixes issue #366 and issue #367.
      627a538b
    • Milan Broz's avatar
      Fix integrity tests to always use a key with HMAC algorithms. · e07e3ecc
      Milan Broz authored
      Recent kernel changes disallows to use keyed-hash algorithms
      without settting the key.
      
      Unfortunately, dm-integrity fails too late (during IO, not on init).
      
      For now fix just the test.
      e07e3ecc
  3. 11 Feb, 2018 5 commits
  4. 08 Feb, 2018 3 commits
  5. 24 Jan, 2018 2 commits
  6. 21 Jan, 2018 5 commits
  7. 20 Jan, 2018 6 commits
  8. 19 Jan, 2018 2 commits
  9. 18 Jan, 2018 12 commits
  10. 17 Jan, 2018 1 commit
    • Milan Broz's avatar
      Introduce new 64bit *keyfile_device_offset functions. · f34ce81f
      Milan Broz authored
      The keyfile interface was designed, well, for keyfiles.
      
      Unfortunately, a keyfile can be placed on a device and the size_t offset
      can overflow.
      
      We have to introduce new set of fucntions that allows 64bit offsets even on 32bit systems:
       - crypt_resume_by_keyfile_device_offset
       - crypt_keyslot_add_by_keyfile_device_offset
       - crypt_activate_by_keyfile_device_offset
       - crypt_keyfile_device_read
      
      The new functions have added _device_ in name.
      
      Old functions are just internall wrappers around these.
      
      Also cryptsetup --keyfile-offset and --new-keyfile-offset must now
      process 64bit offsets.
      
      For more info see issue 359.
      f34ce81f