Home
last modified time | relevance | path

Searched refs:hash_digest_size (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/crypto/
Dhash_info.c35 const int hash_digest_size[HASH_ALGO__LAST] = { variable
57 EXPORT_SYMBOL_GPL(hash_digest_size);
/linux-6.1.9/fs/verity/
Dmeasure.c94 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()
/linux-6.1.9/include/crypto/
Dhash_info.h38 extern const int hash_digest_size[HASH_ALGO__LAST];
/linux-6.1.9/security/integrity/ima/
Dima_init.c58 iint->ima_hash->length = hash_digest_size[ima_hash_algo]; in ima_add_boot_aggregate()
Dima_api.c226 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()
Dima_appraise.c256 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()
Dima_queue.c59 digest_value, hash_digest_size[ima_hash_algo]); in ima_lookup_digest_entry()
Dima_template_lib.c329 offset += hash_digest_size[hash_algo]; in ima_eventdigest_init_common()
372 cur_digestsize = hash_digest_size[HASH_ALGO_SHA1]; in ima_eventdigest_init()
Dima_main.c905 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()
Dima_crypto.c548 hash->length = hash_digest_size[ima_hash_algo]; in ima_calc_file_hash()
/linux-6.1.9/drivers/char/tpm/
Dtpm1-cmd.c808 chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1]; in tpm1_get_pcr_allocation()
Dtpm2-cmd.c532 bank->digest_size = hash_digest_size[crypto_algo]; in tpm2_init_bank_info()
/linux-6.1.9/security/keys/trusted-keys/
Dtrusted_tpm1.c844 digest_len = hash_digest_size[opt->hash]; in getoptions()