Skip to content

Commit

Permalink
Worked on format support
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Jan 20, 2022
1 parent 947fe30 commit 5f423b4
Show file tree
Hide file tree
Showing 8 changed files with 420 additions and 368 deletions.
6 changes: 3 additions & 3 deletions libfvde/libfvde_encrypted_metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ int libfvde_encrypted_metadata_read_type_0x0010(
libcnotify_printf(
"%s: metadata: %d block number\t\t: %" PRIu64 "\n",
function,
metadata_block_index,
metadata_block_index + 1,
value_64bit );
}
libcnotify_printf(
Expand Down Expand Up @@ -5344,7 +5344,7 @@ int libfvde_encrypted_metadata_read_type_0x0605(
/* Reads the encrypted metadata
* Returns 1 if successful or -1 on error
*/
int libfvde_encrypted_metadata_read(
int libfvde_encrypted_metadata_read_from_file_io_handle(
libfvde_encrypted_metadata_t *encrypted_metadata,
libfvde_io_handle_t *io_handle,
libbfio_handle_t *file_io_handle,
Expand All @@ -5363,7 +5363,7 @@ int libfvde_encrypted_metadata_read(
uint8_t *encrypted_data = NULL;
uint8_t *encrypted_metadata_data = NULL;
uint8_t *metadata_block_data = NULL;
static char *function = "libfvde_encrypted_metadata_read";
static char *function = "libfvde_encrypted_metadata_read_from_file_io_handle";
ssize_t read_count = 0;
uint64_t calculated_block_number = 0;
uint8_t empty_block_found = 0;
Expand Down
2 changes: 1 addition & 1 deletion libfvde/libfvde_encrypted_metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ int libfvde_encrypted_metadata_read_type_0x0605(
size_t block_data_size,
libcerror_error_t **error );

int libfvde_encrypted_metadata_read(
int libfvde_encrypted_metadata_read_from_file_io_handle(
libfvde_encrypted_metadata_t *encrypted_metadata,
libfvde_io_handle_t *io_handle,
libbfio_handle_t *file_io_handle,
Expand Down
Loading

0 comments on commit 5f423b4

Please sign in to comment.