1. 21 Feb, 2016 1 commit
  2. 21 Dec, 2012 1 commit
  3. 12 Oct, 2012 1 commit
  4. 11 Oct, 2012 1 commit
  5. 11 Sep, 2012 1 commit
  6. 30 Aug, 2012 1 commit
  7. 27 Aug, 2012 1 commit
    • Dave Reisner's avatar
      lib/utils_crypt: optimize seek to keyfile-offset · 961682aa
      Dave Reisner authored
      Avoid using unbuffered reads when "seeking" to a keyfile offset. This is
      abysmally slow when the key is hidden at the end of a large device.
      Instead, try to actually call lseek, falling back on reading in chunks
      of BUFSIZ bytes until the desired offset is reached.
      
      Command line:
      
        cryptsetup luksOpen /dev/vdc1 home \
            --keyfile /dev/vdd --keyfile-size 4096 --keyfile-offset 123456789
      
      Before:
      
        real   0m25.589s
        user   0m7.030s
        sys    0m18.479s
      
      After:
      
        real   0m4.464s
        user   0m4.253s
        sys    0m0.157s
      961682aa
  8. 14 Aug, 2012 1 commit
  9. 12 Aug, 2012 2 commits
  10. 10 Jul, 2012 1 commit
  11. 09 Jul, 2012 1 commit
  12. 26 Jun, 2012 1 commit
  13. 25 Jun, 2012 2 commits
  14. 20 Jun, 2012 1 commit
  15. 19 Jun, 2012 2 commits
  16. 18 Jun, 2012 1 commit
  17. 11 Jun, 2012 3 commits
  18. 10 Jun, 2012 1 commit
  19. 30 May, 2012 1 commit
  20. 28 May, 2012 1 commit
  21. 27 May, 2012 1 commit
  22. 21 May, 2012 2 commits
  23. 20 May, 2012 1 commit
  24. 09 May, 2012 1 commit
  25. 02 May, 2012 2 commits
  26. 01 May, 2012 2 commits
  27. 09 Apr, 2012 1 commit
  28. 02 Apr, 2012 3 commits
  29. 29 Mar, 2012 1 commit
  30. 20 Mar, 2012 1 commit