Searched refs:hash_digest_size (Results 1 – 13 of 13) sorted by relevance
35 const int hash_digest_size[HASH_ALGO__LAST] = { variable57 EXPORT_SYMBOL_GPL(hash_digest_size);
94 if (WARN_ON_ONCE(hash_alg->digest_size != hash_digest_size[*alg])) in fsverity_get_digest()99 hash_digest_size[*alg], digest); in fsverity_get_digest()
38 extern const int hash_digest_size[HASH_ALGO__LAST];
58 iint->ima_hash->length = hash_digest_size[ima_hash_algo]; in ima_add_boot_aggregate()
226 hash->hdr.length = hash_digest_size[verity_alg]; in ima_get_verity_digest()272 hash.hdr.length = hash_digest_size[algo]; in ima_collect_measurement()
256 unsigned int unused = HASH_MAX_DIGESTSIZE - hash_digest_size[algo]; in calc_file_id_hash()261 memcpy(file_id.hash, digest, hash_digest_size[algo]); in calc_file_id_hash()264 hash->length = hash_digest_size[algo]; in calc_file_id_hash()
59 digest_value, hash_digest_size[ima_hash_algo]); in ima_lookup_digest_entry()
329 offset += hash_digest_size[hash_algo]; in ima_eventdigest_init_common()372 cur_digestsize = hash_digest_size[HASH_ALGO_SHA1]; in ima_eventdigest_init()
905 int digest_hash_len = hash_digest_size[ima_hash_algo]; in process_buffer_measurement()944 iint.ima_hash->length = hash_digest_size[ima_hash_algo]; in process_buffer_measurement()
548 hash->length = hash_digest_size[ima_hash_algo]; in ima_calc_file_hash()
808 chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1]; in tpm1_get_pcr_allocation()
532 bank->digest_size = hash_digest_size[crypto_algo]; in tpm2_init_bank_info()
844 digest_len = hash_digest_size[opt->hash]; in getoptions()