"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/crypto_backend/crypto_gcrypt.c" between
cryptsetup-2.4.0.tar.xz and cryptsetup-2.4.1.tar.xz

About: cryptsetup is a utility used to conveniently setup disk encryption based on the dm-crypt kernel module. These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt compatible format.

crypto_gcrypt.c  (cryptsetup-2.4.0.tar.xz):crypto_gcrypt.c  (cryptsetup-2.4.1.tar.xz)
skipping to change at line 97 skipping to change at line 97
crypt_hash_destroy(h); crypt_hash_destroy(h);
return; return;
} }
crypt_hash_destroy(h); crypt_hash_destroy(h);
if (memcmp(hash_out1, hash_out2, 64)) if (memcmp(hash_out1, hash_out2, 64))
crypto_backend_whirlpool_bug = 1; crypto_backend_whirlpool_bug = 1;
} }
int crypt_backend_init(void) int crypt_backend_init(bool fips __attribute__((unused)))
{ {
int r; int r;
if (crypto_backend_initialised) if (crypto_backend_initialised)
return 0; return 0;
if (!gcry_control (GCRYCTL_INITIALIZATION_FINISHED_P)) { if (!gcry_control (GCRYCTL_INITIALIZATION_FINISHED_P)) {
if (!gcry_check_version (GCRYPT_REQ_VERSION)) { if (!gcry_check_version (GCRYPT_REQ_VERSION)) {
return -ENOSYS; return -ENOSYS;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)