Documented in 1 files:

Defined in 1 files as a function:

Referenced in 20 files:

Smatch caller information:

drivers/crypto/xilinx/zynqmp-sha.c shash_desc_zero() -> crypto_shash_descsize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/xilinx/zynqmp-sha.c zynqmp_sha_init_tfm() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
DATA_SOURCE 0 tfm $0
RX_PATH
TASK_NOT_RUNNING

crypto/asymmetric_keys/verify_pefile.c pefile_digest_pe() -> crypto_shash_descsize()

Type Parameter Key Value
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash

crypto/krb5/rfc3961_simplified.c rfc3961_calc_H() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc3961_simplified.c rfc3961_get_mic() -> crypto_shash_descsize()

Type Parameter Key Value
DATA_SOURCE 0 tfm $1
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc3961_simplified.c rfc3961_get_mic() -> crypto_shash_descsize()

Type Parameter Key Value
DATA_SOURCE 0 tfm $1
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc3961_simplified.c rfc3961_verify_mic() -> crypto_shash_descsize()

Type Parameter Key Value
DATA_SOURCE 0 tfm $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &call->user_mutex

crypto/krb5/rfc3961_simplified.c rfc3961_verify_mic() -> crypto_shash_descsize()

Type Parameter Key Value
DATA_SOURCE 0 tfm $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &call->user_mutex

crypto/krb5/rfc3961_simplified.c rfc3961_verify_mic() -> crypto_shash_descsize()

Type Parameter Key Value
DATA_SOURCE 0 tfm $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &call->user_mutex

security/integrity/evm/evm_crypto.c init_desc() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

crypto/shash.c __crypto_shash_import() -> crypto_shash_descsize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

crypto/shash.c __crypto_shash_init() -> crypto_shash_descsize()

Type Parameter Key Value
STR_LEN 0 tfm (-1),5
STR_LEN 0 tfm (-1),5
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

crypto/shash.c crypto_shash_export() -> crypto_shash_descsize()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

crypto/shash.c crypto_shash_finup() -> crypto_shash_descsize()

Type Parameter Key Value
STR_LEN 0 tfm (-1),5
STR_LEN 0 tfm (-1),5
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &wbuf->io_mutex

crypto/shash.c crypto_shash_import() -> crypto_shash_descsize()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

crypto/shash.c crypto_shash_op_and_zero() -> crypto_shash_descsize()

Type Parameter Key Value
STR_LEN 0 tfm (-1),5
STR_LEN 0 tfm (-1),5
RX_PATH
TASK_NOT_RUNNING

fs/ubifs/auth.c __ubifs_shash_copy_state() -> crypto_shash_descsize()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ubifs/auth.c ubifs_get_desc() -> crypto_shash_descsize()

Type Parameter Key Value
DATA_SOURCE 0 tfm $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &c->commit_sem
HALF_LOCKED2 &c->lp_mutex
HALF_LOCKED2 &c->umount_mutex
HALF_LOCKED2 &c->write_reserve_mutex
HALF_LOCKED2 &keyring_key->sem

crypto/testmgr.c alloc_shash() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
HALF_LOCKED2 global &once_lock

crypto/testmgr.c test_shash_vec_cfg() -> crypto_shash_descsize()

Type Parameter Key Value
HALF_LOCKED2 global &once_lock

crypto/testmgr.c test_shash_vec_cfg() -> crypto_shash_descsize()

Type Parameter Key Value
HALF_LOCKED2 global &once_lock

drivers/crypto/inside-secure/safexcel_hash.c safexcel_hmac_sha3_cra_init() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

drivers/target/iscsi/iscsi_target_auth.c chap_server_compute_hash() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
HALF_LOCKED2 &pool->lock

crypto/krb5/rfc8009_aes2.c rfc8009_calc_KDF_HMAC_SHA2() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc8009_aes2.c rfc8009_calc_KDF_HMAC_SHA2() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc8009_aes2.c rfc8009_calc_KDF_HMAC_SHA2() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

crypto/asymmetric_keys/x509_public_key.c x509_get_sig_params() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &asymmetric_key_parsers_sem

drivers/block/drbd/drbd_worker.c shash_desc_zero() -> crypto_shash_descsize()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &sock->mutex

drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c alloc_sdesc() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
DATA_SOURCE 0 tfm $0
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc6803_camellia.c rfc6803_calc_KDF_FEEDBACK_CMAC() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc6803_camellia.c rfc6803_calc_KDF_FEEDBACK_CMAC() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc6803_camellia.c rfc6803_calc_KDF_FEEDBACK_CMAC() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc6803_camellia.c rfc6803_calc_PRF() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

crypto/krb5/rfc6803_camellia.c rfc6803_calc_PRF() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/marvell/octeontx/otx_cptvf_algs.c alloc_sdesc() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
DATA_SOURCE 0 tfm $0
RX_PATH
TASK_NOT_RUNNING

crypto/kdf_sp800108.c shash_desc_zero() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max

crypto/asymmetric_keys/pkcs7_verify.c pkcs7_digest() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
RX_PATH
TASK_NOT_RUNNING

drivers/md/dm-verity-target.c verity_setup_hash_alg() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_alloc_shash
HALF_LOCKED2 &md->type_lock

crypto/hmac.c shash_desc_zero() -> crypto_shash_descsize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &c->umount_mutex
HALF_LOCKED2 &keyring_key->sem
HALF_LOCKED2 global &mutex

crypto/cryptd.c cryptd_hash_init_tfm() -> crypto_shash_descsize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
DATA_SOURCE 0 tfm r crypto_spawn_shash
RX_PATH
TASK_NOT_RUNNING