Searched refs:numberOfCipherBlocks (Results 1 – 2 of 2) sorted by relevance
117 fileBlocksWritten += numberOfCipherBlocks(sizeof(imageHeader)); in writeToStream()144 fileBlocksWritten += numberOfCipherBlocks(sizeof(sectionHeader)); in writeToStream()350 header.m_headerBlocks = ENDIAN_HOST_TO_LITTLE_U16((uint16_t)numberOfCipherBlocks(sizeof(header))); in prepareImageHeader()352 …header.m_sectionHeaderSize = ENDIAN_HOST_TO_LITTLE_U16((uint16_t)numberOfCipherBlocks(sizeof(secti… in prepareImageHeader()431 uint32_t offset = numberOfCipherBlocks(sizeof(boot_image_header_t)); // header in getSectionOffset()432 offset += numberOfCipherBlocks(sizeof(section_header_t)) * sectionCount(); // section table in getSectionOffset()489 const uint32_t headerBlocks = numberOfCipherBlocks(sizeof(boot_image_header_t)); in getImageSize()490 const uint32_t sectionHeaderSize = numberOfCipherBlocks(sizeof(section_header_t)); in getImageSize()813 unsigned dataBlockCount = numberOfCipherBlocks(m_length); in initFromData()900 return numberOfCipherBlocks(m_length); in getDataBlockCount()[all …]
39 inline size_t numberOfCipherBlocks(size_t s) { return (s + sizeof(cipher_block_t) - 1) / sizeof(cip… in numberOfCipherBlocks() function43 …ze_t sizeInCipherBlocks(size_t s) { return (unsigned)sizeOfCipherBlocks(numberOfCipherBlocks(s)); } in sizeInCipherBlocks()