HomeSort by: relevance | last modified time | path
    Searched refs:sha1_digest_t (Results 1 - 5 of 5) sorted by relevancy

  /src/external/bsd/elftosb/dist/sbtool/
EncoreBootImageReader.h 60 void computeHeaderDigest(sha1_digest_t & digest);
66 void computeImageDigest(sha1_digest_t & digest);
93 const sha1_digest_t & getDigest() const { return m_digest; }
106 sha1_digest_t m_digest; //!< SHA-1 digest as read from the image.
sbtool.cpp 309 sha1_digest_t computedDigest;
393 const sha1_digest_t & embeddedDigest = m_reader->getDigest();
492 bool compareDigests(const sha1_digest_t & a, const sha1_digest_t & b)
494 return memcmp(a, b, sizeof(sha1_digest_t)) == 0;
502 sha1_digest_t m_digest; //!< SHA-1 digest of image header. Also used as the crypto IV.
EncoreBootImageReader.cpp 64 void EncoreBootImageReader::computeHeaderDigest(sha1_digest_t & digest)
68 hash.Update((uint8_t *)&m_header.m_signature, sizeof(m_header) - sizeof(sha1_digest_t));
104 void EncoreBootImageReader::computeImageDigest(sha1_digest_t & digest)
  /src/external/bsd/elftosb/dist/common/
EncoreBootImage.h 29 typedef uint8_t sha1_digest_t[20]; typedef in namespace:elftosb
137 sha1_digest_t m_digest; //!< SHA-1 digest of image header. Also used as the crypto IV.
EncoreBootImage.cpp 306 const unsigned padBytes = sizeOfPaddingForCipherBlocks(sizeof(sha1_digest_t));
307 unsigned digestBlocksSize = sizeof(sha1_digest_t) + padBytes;
314 rng.generateBlock(&(digestBlocks.get())[sizeof(sha1_digest_t)], padBytes);

Completed in 23 milliseconds