OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cipher_block_t
(Results
1 - 4
of
4
) sorted by relevancy
/src/external/bsd/elftosb/dist/common/
EncoreBootImage.h
26
typedef uint8_t
cipher_block_t
[16];
typedef in namespace:elftosb
35
inline size_t sizeOfCipherBlocks(unsigned count) { return sizeof(
cipher_block_t
) * count; }
39
inline size_t numberOfCipherBlocks(size_t s) { return (s + sizeof(
cipher_block_t
) - 1) / sizeof(
cipher_block_t
); }
107
BOOT_IMAGE_MINIMUM_SECTION_ALIGNMENT = sizeof(
cipher_block_t
)
140
cipher_block_t
m_iv; //!< The first 16 bytes of the digest form the initialization vector.
171
cipher_block_t
m_mac; //!< CBC-MAC of the header.
315
virtual unsigned getBlocks(unsigned offset, unsigned maxCount,
cipher_block_t
* data) { return 0; }
329
static BootCommand * createFromData(const
cipher_block_t
* blocks, unsigned count, unsigned * consumed);
350
virtual void initFromData(const
cipher_block_t
* blocks, unsigned count, unsigned * consumed)=0
[
all
...]
EncoreBootImage.cpp
202
cipher_block_t
block;
228
cipher.blockEncrypt(block, sizeof(
cipher_block_t
) * 8, block);
232
stream.write(reinterpret_cast<char *>(&block), sizeof(
cipher_block_t
));
233
hash.Update(reinterpret_cast<uint8_t *>(&block), sizeof(
cipher_block_t
));
263
cipher.blockEncrypt(block, sizeof(
cipher_block_t
) * 8, block);
267
stream.write(reinterpret_cast<char *>(&block), sizeof(
cipher_block_t
));
268
hash.Update(reinterpret_cast<uint8_t *>(&block), sizeof(
cipher_block_t
));
290
cipher.blockEncrypt(block, sizeof(
cipher_block_t
) * 8, block);
294
stream.write(reinterpret_cast<char *>(&block), sizeof(
cipher_block_t
));
295
hash.Update(reinterpret_cast<uint8_t *>(&block), sizeof(
cipher_block_t
));
[
all
...]
/src/external/bsd/elftosb/dist/sbtool/
EncoreBootImageReader.cpp
82
cipher_block_t
digestBlocks[2];
114
cipher_block_t
block;
204
if (memcmp(macResult, entry.m_mac, sizeof(
cipher_block_t
)) == 0)
345
bootSection->fillFromData((
cipher_block_t
*)contents, header.m_length);
sbtool.cpp
460
cipher_block_t
* data = reinterpret_cast<
cipher_block_t
*>(buffer.get());
505
cipher_block_t
m_iv; //!< The first four bytes of the digest form the initialization vector.
Completed in 15 milliseconds
Indexes created Fri Aug 14 00:25:39 UTC 2026