HomeSort by relevance Sort by last modified time
    Searched refs:hash_buf (Results 1 - 5 of 5) sorted by null

  /system/extras/verity/
verity_verifier.cpp 55 uint8_t hash_buf[SHA256_DIGEST_LENGTH]; local
56 SHA256(const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(table)), table_length, hash_buf);
66 if (!RSA_verify(NID_sha256, hash_buf, sizeof(hash_buf), signature, signature_size, key.get())) {
  /system/keymaster/
ocb_utils.cpp 81 UniquePtr<uint8_t[]> hash_buf(new (std::nothrow) uint8_t[SHA256_DIGEST_LENGTH]);
82 if (!hash_buf.get())
84 Eraser hash_eraser(hash_buf.get(), SHA256_DIGEST_LENGTH);
90 if (!ctx->get() || !hash_buf.get() || !derived_key.get())
97 SHA256_Final(hash_buf.get(), &sha256_ctx);
106 AES_encrypt(hash_buf.get(), derived_key.get(), &aes_key);
  /external/libconstrainedcrypto/test/
ecdsa_test.c 220 unsigned char hash_buf[SHA256_DIGEST_SIZE]; local
267 SHA256_hash(message, mlen, hash_buf); \
268 p256_from_bin(hash_buf, &hash); \
  /toolchain/binutils/binutils-2.25/opcodes/
sparc-dis.c 414 static sparc_opcode_hash *hash_buf = NULL; local
421 if (hash_buf != NULL)
422 free (hash_buf);
423 hash_buf = xmalloc (sizeof (* hash_buf) * num_opcodes);
427 sparc_opcode_hash *h = &hash_buf[i];
  /system/core/fs_mgr/
fs_mgr_verity.cpp 119 uint8_t hash_buf[SHA256_DIGEST_LENGTH]; local
123 SHA256((uint8_t*)table, table_length, hash_buf);
133 if (!RSA_verify(NID_sha256, hash_buf, sizeof(hash_buf), signature,

Completed in 3890 milliseconds