"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/luks2/luks2_internal.h" between
cryptsetup-2.4.2.tar.xz and cryptsetup-2.4.3.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.

luks2_internal.h  (cryptsetup-2.4.2.tar.xz):luks2_internal.h  (cryptsetup-2.4.3.tar.xz)
skipping to change at line 237 skipping to change at line 237
/* /*
* Generic LUKS2 keyslot * Generic LUKS2 keyslot
*/ */
int LUKS2_keyslot_reencrypt_store(struct crypt_device *cd, int LUKS2_keyslot_reencrypt_store(struct crypt_device *cd,
struct luks2_hdr *hdr, struct luks2_hdr *hdr,
int keyslot, int keyslot,
const void *buffer, const void *buffer,
size_t buffer_length); size_t buffer_length);
int LUKS2_keyslot_reencrypt_create(struct crypt_device *cd, int LUKS2_keyslot_reencrypt_allocate(struct crypt_device *cd,
struct luks2_hdr *hdr, struct luks2_hdr *hdr,
int keyslot, int keyslot,
const struct crypt_params_reencrypt *params); const struct crypt_params_reencrypt *params);
int LUKS2_keyslot_reencrypt_digest_create(struct crypt_device *cd,
struct luks2_hdr *hdr,
struct volume_key *vks);
int LUKS2_keyslot_dump(struct crypt_device *cd, int LUKS2_keyslot_dump(struct crypt_device *cd,
int keyslot); int keyslot);
int LUKS2_keyslot_jobj_area(json_object *jobj_keyslot, uint64_t *offset, uint64_
t *length);
/* JSON helpers */ /* JSON helpers */
uint64_t json_segment_get_offset(json_object *jobj_segment, unsigned blockwise); uint64_t json_segment_get_offset(json_object *jobj_segment, unsigned blockwise);
const char *json_segment_type(json_object *jobj_segment); const char *json_segment_type(json_object *jobj_segment);
uint64_t json_segment_get_iv_offset(json_object *jobj_segment); uint64_t json_segment_get_iv_offset(json_object *jobj_segment);
uint64_t json_segment_get_size(json_object *jobj_segment, unsigned blockwise); uint64_t json_segment_get_size(json_object *jobj_segment, unsigned blockwise);
const char *json_segment_get_cipher(json_object *jobj_segment); const char *json_segment_get_cipher(json_object *jobj_segment);
int json_segment_get_sector_size(json_object *jobj_segment); int json_segment_get_sector_size(json_object *jobj_segment);
bool json_segment_is_backup(json_object *jobj_segment); bool json_segment_is_backup(json_object *jobj_segment);
json_object *json_segments_get_segment(json_object *jobj_segments, int segment); json_object *json_segments_get_segment(json_object *jobj_segments, int segment);
unsigned json_segments_count(json_object *jobj_segments); unsigned json_segments_count(json_object *jobj_segments);
void json_segment_remove_flag(json_object *jobj_segment, const char *flag); void json_segment_remove_flag(json_object *jobj_segment, const char *flag);
uint64_t json_segments_get_minimal_offset(json_object *jobj_segments, unsigned b lockwise); uint64_t json_segments_get_minimal_offset(json_object *jobj_segments, unsigned b lockwise);
json_object *json_segment_create_linear(uint64_t offset, const uint64_t *length, unsigned reencryption); json_object *json_segment_create_linear(uint64_t offset, const uint64_t *length, unsigned reencryption);
json_object *json_segment_create_crypt(uint64_t offset, uint64_t iv_offset, cons t uint64_t *length, const char *cipher, uint32_t sector_size, unsigned reencrypt ion); json_object *json_segment_create_crypt(uint64_t offset, uint64_t iv_offset, cons t uint64_t *length, const char *cipher, uint32_t sector_size, unsigned reencrypt ion);
int json_segments_segment_in_reencrypt(json_object *jobj_segments); int json_segments_segment_in_reencrypt(json_object *jobj_segments);
bool json_segment_cmp(json_object *jobj_segment_1, json_object *jobj_segment_2);
bool json_segment_contains_flag(json_object *jobj_segment, const char *flag_str,
size_t len);
int LUKS2_assembly_multisegment_dmd(struct crypt_device *cd, int LUKS2_assembly_multisegment_dmd(struct crypt_device *cd,
struct luks2_hdr *hdr, struct luks2_hdr *hdr,
struct volume_key *vks, struct volume_key *vks,
json_object *jobj_segments, json_object *jobj_segments,
struct crypt_dm_active_device *dmd); struct crypt_dm_active_device *dmd);
/* /*
* Generic LUKS2 segment * Generic LUKS2 segment
*/ */
 End of changes. 4 change blocks. 
1 lines changed or deleted 11 lines changed or added

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