mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix hash count computation
This commit is contained in:
parent
818c172af2
commit
df12dcdd1e
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ pub const CHECKSUM_BLOCKLEN_PAGE: u32 = 0x100;
|
||||||
/// plaintext + ciphertext header itself.
|
/// plaintext + ciphertext header itself.
|
||||||
///
|
///
|
||||||
/// Total number of checksums has to divide evenly into the size of the PDDB region
|
/// Total number of checksums has to divide evenly into the size of the PDDB region
|
||||||
pub const TOTAL_CHECKSUMS: u32 = xous::PDDB_LEN / CHECKSUM_BLOCKLEN_PAGE;
|
pub const TOTAL_CHECKSUMS: u32 = xous::PDDB_LEN / (CHECKSUM_BLOCKLEN_PAGE * 4096);
|
||||||
|
|
||||||
#[repr(C, align(8))]
|
#[repr(C, align(8))]
|
||||||
#[derive(Copy, Clone, Debug)]
|
#[derive(Copy, Clone, Debug)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue