Searched refs:sizeOfCipherBlocks (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/external/bsd/elftosb/dist/sbtool/ |
| H A D | EncoreBootImageReader.cpp | 78 unsigned digestPosition = sizeOfCipherBlocks(m_header.m_imageBlocks - 2); in readImageDigest() 131 m_stream.seekg(sizeOfCipherBlocks(m_header.m_headerBlocks), std::ios_base::beg); in readSectionTable() 190 m_stream.seekg(sizeOfCipherBlocks(m_header.m_keyDictionaryBlock), std::ios_base::beg); in readKeyDictionary() 244 m_stream.seekg(sizeOfCipherBlocks(bootTagOffset), std::ios_base::beg); in readBootTags() 316 m_stream.seekg(sizeOfCipherBlocks(header.m_offset), std::ios_base::beg); in readSection() 322 unsigned contentLength = sizeOfCipherBlocks(header.m_length); in readSection()
|
| H A D | sbtool.cpp | 458 unsigned dataLength = sizeOfCipherBlocks(blockCount); in extractSection() 564 …block%s (%d bytes)\n", header.m_offset, header.m_offset!=1?"s":"", sizeOfCipherBlocks(header.m_off… in dumpSectionHeader() 565 …block%s (%d bytes)\n", header.m_length, header.m_length!=1?"s":"", sizeOfCipherBlocks(header.m_len… in dumpSectionHeader()
|
| /netbsd-src/external/bsd/elftosb/dist/common/ |
| H A D | EncoreBootImage.h | 35 inline size_t sizeOfCipherBlocks(unsigned count) { return sizeof(cipher_block_t) * count; } in sizeOfCipherBlocks() function 43 inline size_t sizeInCipherBlocks(size_t s) { return (unsigned)sizeOfCipherBlocks(numberOfCipherBloc… in sizeInCipherBlocks()
|
| H A D | EncoreBootImage.cpp | 1352 memcpy(data, &m_data[sizeOfCipherBlocks(offset)], remainderLength); in getBlocks() 1362 memcpy(data, &m_data[sizeOfCipherBlocks(offset)], sizeOfCipherBlocks(resultBlocks)); in getBlocks()
|