"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/integrity/integrity.h" between
cryptsetup-2.0.6.tar.xz and cryptsetup-2.1.0.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.

integrity.h  (cryptsetup-2.0.6.tar.xz):integrity.h  (cryptsetup-2.1.0.tar.xz)
/* /*
* Integrity header defitinion * Integrity header defitinion
* *
* Copyright (C) 2016-2018, Milan Broz * Copyright (C) 2016-2019 Milan Broz
* *
* This file is free software; you can redistribute it and/or * This file is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This file is distributed in the hope that it will be useful, * This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
skipping to change at line 30 skipping to change at line 30
#ifndef _CRYPTSETUP_INTEGRITY_H #ifndef _CRYPTSETUP_INTEGRITY_H
#define _CRYPTSETUP_INTEGRITY_H #define _CRYPTSETUP_INTEGRITY_H
#include <stdint.h> #include <stdint.h>
struct crypt_device; struct crypt_device;
struct device; struct device;
struct crypt_params_integrity; struct crypt_params_integrity;
struct volume_key; struct volume_key;
struct crypt_dm_active_device;
/* dm-integrity helper */ /* dm-integrity helper */
#define SB_MAGIC "integrt" #define SB_MAGIC "integrt"
#define SB_VERSION_1 1 #define SB_VERSION_1 1
#define SB_VERSION_2 2 #define SB_VERSION_2 2
#define SB_FLAG_HAVE_JOURNAL_MAC (1 << 0) #define SB_FLAG_HAVE_JOURNAL_MAC (1 << 0)
#define SB_FLAG_RECALCULATING (1 << 1) /* V2 only */ #define SB_FLAG_RECALCULATING (1 << 1) /* V2 only */
struct superblock { struct superblock {
skipping to change at line 78 skipping to change at line 79
struct volume_key *journal_crypt_key, struct volume_key *journal_crypt_key,
struct volume_key *journal_mac_key); struct volume_key *journal_mac_key);
int INTEGRITY_activate(struct crypt_device *cd, int INTEGRITY_activate(struct crypt_device *cd,
const char *name, const char *name,
const struct crypt_params_integrity *params, const struct crypt_params_integrity *params,
struct volume_key *vk, struct volume_key *vk,
struct volume_key *journal_crypt_key, struct volume_key *journal_crypt_key,
struct volume_key *journal_mac_key, struct volume_key *journal_mac_key,
uint32_t flags); uint32_t flags);
int INTEGRITY_create_dmd_device(struct crypt_device *cd,
const struct crypt_params_integrity *params,
struct volume_key *vk,
struct volume_key *journal_crypt_key,
struct volume_key *journal_mac_key,
struct crypt_dm_active_device *dmd,
uint32_t flags);
int INTEGRITY_activate_dmd_device(struct crypt_device *cd,
const char *name,
struct crypt_dm_active_device *dmd);
#endif #endif
 End of changes. 3 change blocks. 
1 lines changed or deleted 14 lines changed or added

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