Documented in 1 files:
Defined in 1 files as a function:
Referenced in 31 files:
- arch/s390/crypto/hmac_s390.c
- crypto/asymmetric_keys/pkcs7_verify.c, line 58
- crypto/asymmetric_keys/verify_pefile.c, line 343
- crypto/asymmetric_keys/x509_public_key.c, line 75
- crypto/blake2b.c
- crypto/ccm.c
- crypto/essiv.c
- crypto/hmac.c
- crypto/kdf_sp800108.c
- crypto/krb5/internal.h, line 114
- crypto/krb5/rfc3961_simplified.c, line 158
- crypto/krb5/rfc6803_camellia.c
- crypto/krb5/rfc8009_aes2.c
- crypto/streebog_generic.c
- crypto/testmgr.c, line 1295
- drivers/block/drbd/drbd_main.c
- drivers/block/drbd/drbd_receiver.c
- drivers/block/drbd/drbd_worker.c
- drivers/crypto/ccp/ccp-crypto-sha.c, line 278
- drivers/crypto/hisilicon/sec2/sec_crypto.c, line 1363
- drivers/crypto/inside-secure/safexcel_hash.c, line 2686
- drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
- drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
- drivers/crypto/omap-sham.c
- drivers/crypto/sa2ul.c, line 440
- drivers/md/dm-integrity.c
- drivers/md/dm-verity-target.c, line 1324
- fs/ubifs/auth.c
- security/integrity/evm/evm_crypto.c, line 252
- security/integrity/ima/ima_crypto.c
- security/keys/dh.c
Smatch caller information:
security/keys/dh.c kdf_alloc() -> crypto_shash_digestsize()
| 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 |
security/keys/dh.c keyctl_dh_compute_kdf() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| DATA_SOURCE | 0 | tfm | $0 |
crypto/asymmetric_keys/verify_pefile.c pefile_digest_pe() -> crypto_shash_digestsize()
| 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_digestsize()
| 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_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/krb5/rfc3961_simplified.c rfc3961_verify_mic() -> crypto_shash_digestsize()
| 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_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &call->user_mutex |
crypto/essiv.c essiv_aead_setkey() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
crypto/essiv.c essiv_skcipher_setkey() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | global &key_tfm_list_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/sa2ul.c sa_prepare_iopads() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/integrity/evm/evm_crypto.c evm_calc_hmac_or_hash() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ubifs/auth.c ubifs_init_authentication() -> crypto_shash_digestsize()
| 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 |
| LOCK2 | &keyring_key->sem | ||
| TYPE_LOCK | (struct key)->sem |
fs/ubifs/auth.c ubifs_init_authentication() -> crypto_shash_digestsize()
| 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 |
| LOCK2 | &keyring_key->sem | ||
| TYPE_LOCK | (struct key)->sem |
drivers/block/drbd/drbd_main.c drbd_send_ack_dp() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
drivers/block/drbd/drbd_main.c drbd_send_block() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
| HALF_LOCKED2 | &sock->mutex |
drivers/block/drbd/drbd_main.c drbd_send_dblock() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
| HALF_LOCKED2 | &sock->mutex |
crypto/testmgr.c test_shash_vec_cfg() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | global &once_lock |
drivers/block/drbd/drbd_receiver.c read_in_block() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
drivers/block/drbd/drbd_receiver.c receive_protocol() -> crypto_shash_digestsize()
| 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 |
drivers/block/drbd/drbd_receiver.c recv_dless_read() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_hmac_sha3_setkey() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
drivers/crypto/ccp/ccp-crypto-sha.c ccp_sha_setkey() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
crypto/krb5/rfc8009_aes2.c rfc8009_calc_KDF_HMAC_SHA2() -> crypto_shash_digestsize()
| 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_digestsize()
| 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_digestsize()
| 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_digestsize()
| 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_digestsize()
| 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 w_e_end_csum_rs_req() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
drivers/block/drbd/drbd_worker.c w_e_end_ov_reply() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|
drivers/block/drbd/drbd_worker.c w_e_end_ov_req() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|
drivers/block/drbd/drbd_worker.c w_e_send_csum() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|
drivers/md/dm-integrity.c sb_mac() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-integrity.c section_mac() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
| HALF_LOCKED2 | &md->suspend_lock |
crypto/blake2b.c crypto_blake2b_digest() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| STR_LEN | 0 | tfm | (-1),5 |
| STR_LEN | 0 | tfm | (-1),5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/blake2b.c crypto_blake2b_init() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| STR_LEN | 0 | tfm | (-1),5 |
| STR_LEN | 0 | tfm | (-1),5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c aead_hmac_init() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c create_aead_ctx_hdr() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/hisilicon/sec2/sec_crypto.c sec_aead_auth_set_key() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
crypto/krb5/rfc6803_camellia.c rfc6803_calc_KDF_FEEDBACK_CMAC() -> crypto_shash_digestsize()
| 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_digestsize()
| 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_digestsize()
| 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_digestsize()
| 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_digestsize()
| 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_digestsize()
| 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_digestsize()
| 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 aead_hmac_init() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c create_aead_ctx_hdr() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ccm.c crypto_cbcmac_digest_finup() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| STR_LEN | 0 | tfm | (-1),5 |
| STR_LEN | 0 | tfm | (-1),5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ccm.c crypto_cbcmac_digest_init() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| STR_LEN | 0 | tfm | (-1),5 |
| STR_LEN | 0 | tfm | (-1),5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ccm.c crypto_cbcmac_digest_update() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| STR_LEN | 0 | tfm | (-1),5 |
| STR_LEN | 0 | tfm | (-1),5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/streebog_generic.c streebog_finup() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| STR_LEN | 0 | tfm | (-1),5 |
| STR_LEN | 0 | tfm | (-1),5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/streebog_generic.c streebog_init() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| STR_LEN | 0 | tfm | (-1),5 |
| STR_LEN | 0 | tfm | (-1),5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/integrity/ima/ima_crypto.c calc_buffer_shash_tfm() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 0-ptr_max |
| DATA_SOURCE | 0 | tfm | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iint->mutex |
security/integrity/ima/ima_crypto.c ima_calc_boot_aggregate() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 0-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r ima_alloc_tfm |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/integrity/ima/ima_crypto.c ima_calc_boot_aggregate_tfm() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 0-ptr_max |
| DATA_SOURCE | 0 | tfm | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/integrity/ima/ima_crypto.c ima_calc_boot_aggregate_tfm() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 0-ptr_max |
| DATA_SOURCE | 0 | tfm | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/integrity/ima/ima_crypto.c ima_calc_file_hash_tfm() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 0-ptr_max |
| DATA_SOURCE | 0 | tfm | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iint->mutex |
crypto/kdf_sp800108.c crypto_kdf108_ctr_generate() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| DATA_SOURCE | 0 | tfm | $0 |
crypto/kdf_sp800108.c crypto_kdf108_setkey() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| DATA_SOURCE | 0 | tfm | $0 |
crypto/asymmetric_keys/pkcs7_verify.c pkcs7_digest() -> crypto_shash_digestsize()
| 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_digestsize()
| 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 hmac_finup() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| STR_LEN | 0 | tfm | (-1),5 |
| STR_LEN | 0 | tfm | (-1),5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/hmac.c hmac_setkey() -> crypto_shash_digestsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &keyring_key->sem | ||
| HALF_LOCKED2 | global &mutex |