Lines Matching +full:20 +full:brief

81 	uint8_t digest[20];
161 * @brief read a bunch of data from MMC into memory.
225 * @brief returns a location where the 2nd stage bootloader can be(/ is) placed.
243 * @brief returns a location where the image can be(/ is) placed.
257 * @brief get the size of a given (TPM) NV area
281 ptr += 2 + v16 + 1 + 20; in get_tpm_nv_size()
283 ptr += 2 + v16 + 1 + 20; in get_tpm_nv_size()
292 * @brief search for a key by usage auth and pub key hash.
298 static int find_key(struct udevice *tpm, const uint8_t auth[20], in find_key() argument
299 const uint8_t pubkey_digest[20], uint32_t *handle) in find_key() argument
306 uint8_t digest[20]; in find_key()
330 if (!memcmp(digest, pubkey_digest, 20)) { in find_key()
339 * @brief read CCDM common data from TPM NV
374 * @brief compute hash of bootloader itself.
397 * @brief compute the hash of the 2nd stage boot loader (on SD card)
449 * @brief get pointer to hash register by specification
476 * @brief get pointer of a hash register by specification and usage.
505 result->digest, 20); in access_hreg()
519 memcpy(result->digest, vendor, 20); in access_hreg()
574 uint8_t digest[20]; in compute_extend()
609 * @brief executes the next opcode on the hash register engine.
624 uint8_t buf[20]; in hre_execute_op()
659 for (i = 0; i < 20; ++i) { in hre_execute_op()
686 memset(buf, 0, 20); in hre_execute_op()
689 memset(buf, *data, 20); in hre_execute_op()
691 } else if (data_size >= 20) { in hre_execute_op()
695 for (ptr = (uint8_t *)src_buf, i = 20; i > 0; in hre_execute_op()
701 bin_func(dst_reg->digest, src_buf, 20); in hre_execute_op()
733 * @brief runs a program on the hash register engine.
757 uint8_t key[20], computed_hmac[20]; in check_hmac()
764 compute_extend(key, pcr_hregs[1].digest, 20); in check_hmac()
765 compute_extend(key, pcr_hregs[2].digest, 20); in check_hmac()
766 compute_extend(key, pcr_hregs[3].digest, 20); in check_hmac()
767 compute_extend(key, pcr_hregs[4].digest, 20); in check_hmac()
771 return memcmp(computed_hmac, hmac->code + 4, 20); in check_hmac()
879 * @brief load a key program from file system.
1023 0x81, 0x02, 0x40, 0x14, /* opcode: LOAD PCR4, #<20B data> */
1030 0x81, 0x01, 0x00, 0x14, /* opcode: LOAD v0, #<20B data> */
1145 print_buffer(0, hash_ptr->digest, 1, 20, 20); in show_self_hash()
1153 * @brief let the system hang.