Home
last modified time | relevance | path

Searched refs:hash_len (Results 1 – 5 of 5) sorted by relevance

/drivers/md/
Ddm-ima.c346 table->md->ima.inactive_table.hash_len = strlen(digest_buf); in dm_ima_measure_on_table_load()
398 md->ima.active_table.hash_len = 0; in dm_ima_measure_on_device_resume()
410 md->ima.active_table.hash_len = md->ima.inactive_table.hash_len; in dm_ima_measure_on_device_resume()
412 md->ima.inactive_table.hash_len = 0; in dm_ima_measure_on_device_resume()
440 md->ima.active_table.hash_len); in dm_ima_measure_on_device_resume()
441 l += md->ima.active_table.hash_len; in dm_ima_measure_on_device_resume()
536 md->ima.active_table.hash_len); in dm_ima_measure_on_device_remove()
537 l += md->ima.active_table.hash_len; in dm_ima_measure_on_device_remove()
550 md->ima.inactive_table.hash_len); in dm_ima_measure_on_device_remove()
551 l += md->ima.inactive_table.hash_len; in dm_ima_measure_on_device_remove()
[all …]
Ddm-ima.h47 unsigned int hash_len; member
/drivers/crypto/ccree/
Dcc_hash.c98 unsigned int hash_len; member
155 ctx->hash_len); in cc_init_req()
159 ctx->hash_len); in cc_init_req()
396 ctx->hash_len); in cc_fin_hmac()
489 ctx->hash_len, NS_BIT); in cc_hash_digest()
491 set_din_const(&desc[idx], 0, ctx->hash_len); in cc_hash_digest()
508 ctx->hash_len, NS_BIT, 0); in cc_hash_digest()
546 ctx->hash_len, NS_BIT); in cc_restore_hash()
617 ctx->hash_len, NS_BIT, 1); in cc_hash_update()
681 ctx->hash_len, NS_BIT, 0); in cc_do_finup()
[all …]
Dcc_aead.c58 unsigned int hash_len; member
199 ctx->hash_len = cc_get_aead_hash_len(tfm); in cc_aead_init()
322 set_din_const(&desc[idx], 0, ctx->hash_len); in hmac_setkey()
468 set_din_const(&desc[idx], 0, ctx->hash_len); in cc_get_plain_hmac_key()
1013 ctx->hash_len); in cc_set_hmac_desc()
1112 ctx->hash_len); in cc_proc_scheme_desc()
1142 ctx->hash_len); in cc_proc_scheme_desc()
/drivers/crypto/
Dn2_core.c215 unsigned int hash_len, in control_word_base() argument
234 if (hash_len) in control_word_base()
235 word |= ((u64) (hash_len - 1)) << CONTROL_HASH_LEN_SHIFT; in control_word_base()