1. 22 Feb, 2018 5 commits
  2. 14 Feb, 2018 2 commits
  3. 13 Feb, 2018 2 commits
  4. 12 Feb, 2018 1 commit
    • 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
  5. 08 Feb, 2018 2 commits
  6. 20 Jan, 2018 4 commits
  7. 19 Jan, 2018 2 commits
  8. 18 Jan, 2018 8 commits
  9. 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
  10. 05 Jan, 2018 1 commit
  11. 04 Jan, 2018 4 commits
  12. 18 Dec, 2017 1 commit
  13. 13 Dec, 2017 2 commits
  14. 12 Dec, 2017 1 commit
  15. 10 Dec, 2017 1 commit
    • Ondrej Kozina's avatar
      Derive VK kernel key description from digest id · c7403246
      Ondrej Kozina authored
      Originally the key description for VK was derived
      from segment id. This could lead to ambiguity when
      keyslot key is verified and loaded in kernel keyring
      using activation functions with CRYPT_ACTIVATE_KEYRING_KEY
      flag raised.
      c7403246
  16. 09 Dec, 2017 3 commits