~ubuntu-branches/debian/jessie/cryptsetup/jessie

« back to all changes in this revision

Viewing changes to lib/crypto_backend/crypto_gcrypt.c

  • Committer: Package Import Robot
  • Author(s): Jonas Meurer
  • Date: 2014-03-04 20:14:07 UTC
  • mfrom: (0.2.13)
  • Revision ID: package-import@ubuntu.com-20140304201407-8cn7znmyssyrgduu
Tags: 2:1.6.6-1
* new upsream version 1.6.6.
* add versioned dependency on cryptsetup-bin to cryptsetup. (closes: #747670)
* change versioned build-depends on automake to >= 1.12 to reflect upstream
  requirements. Thanks to Joel Johnson. (closes: #740688)
* build and link against libgcrypt20 (>= 1.6.1). Add note about whirlpool
  bug in older libgcrypt releases and how to deal with it to debian/NEWS.
* add systemd support to askpass. Thanks to David Härdeman for the patch.
  (closes: #742600, #755074)
* fix initramfs cryptroot hook to not include modules unconditionally. Thanks
  to Dmitrijs Ledkovs for bugreport and patch. (closes: #714104)
* fix decrypt_keyctl script to ask again in case of wrong passphrase. Thanks
  to Dmitriy Matrosov for bugreport and patch. (closes: #748368)
* incorporate changes from ubuntu package:
  - don't hardcode paths to udevadm and udevsettle.
  - restore terminal settings in askpass.c. (closes: #714942)
  - migrate upstart jobs to new names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * GCRYPT crypto backend implementation
3
3
 *
4
4
 * Copyright (C) 2010-2012, Red Hat, Inc. All rights reserved.
5
 
 * Copyright (C) 2010-2012, Milan Broz
 
5
 * Copyright (C) 2010-2014, Milan Broz
6
6
 *
7
7
 * This file is free software; you can redistribute it and/or
8
8
 * modify it under the terms of the GNU Lesser General Public
331
331
                return -EINVAL;
332
332
 
333
333
        return pkcs5_pbkdf2(hash_name, password, password_length, salt, salt_length,
334
 
                            iterations, key_length, key);
 
334
                            iterations, key_length, key, 0);
335
335
 
336
336
#else /* USE_INTERNAL_PBKDF2 */
337
337
        int hash_id = gcry_md_map_name(hash_name);