Documented in 1 files:
Defined in 1 files as a function:
Referenced in 28 files:
- crypto/ahash.c
- crypto/algif_hash.c, line 414
- crypto/authenc.c
- crypto/authencesn.c
- crypto/ccm.c
- crypto/cryptd.c, line 519
- crypto/hmac.c, line 415
- crypto/krb5enc.c
- crypto/tcrypt.c, line 950
- crypto/testmgr.c
- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c
- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c
- drivers/crypto/atmel-sha.c
- drivers/crypto/img-hash.c, line 712
- drivers/crypto/inside-secure/eip93/eip93-common.c, line 819
- drivers/crypto/inside-secure/safexcel_hash.c
- drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c, line 825
- drivers/crypto/marvell/cesa/hash.c, line 1227
- drivers/crypto/padlock-sha.c
- drivers/crypto/qce/sha.c, line 363
- drivers/crypto/rockchip/rk3288_crypto_ahash.c, line 377
- drivers/crypto/sa2ul.c, line 1657
- drivers/crypto/starfive/jh7110-hash.c
- drivers/crypto/tegra/tegra-se-hash.c, line 620
- drivers/md/dm-crypt.c, line 2850
- drivers/md/dm-integrity.c, line 5523
- net/ipv4/ah4.c
- net/ipv6/ah6.c
Smatch caller information:
drivers/crypto/marvell/cesa/hash.c mv_cesa_ahmac_setkey() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/eip93/eip93-common.c eip93_hmac_setkey() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
crypto/krb5enc.c krb5enc_exit_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| NOCHECK_CALL |
crypto/krb5enc.c krb5enc_init_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_spawn_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c sun8i_ce_hash_exit_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c sun8i_ce_hash_init_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/starfive/jh7110-hash.c starfive_hash_exit_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/starfive/jh7110-hash.c starfive_hash_long_setkey() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
drivers/crypto/qce/sha.c qce_ahash_hmac_setkey() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
drivers/crypto/sa2ul.c sa_sha_cra_exit() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c kmb_ocs_hcu_setkey() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
crypto/authenc.c crypto_authenc_exit_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| NOCHECK_CALL |
crypto/authenc.c crypto_authenc_init_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_spawn_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/authencesn.c crypto_authenc_esn_exit_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| NOCHECK_CALL |
crypto/authencesn.c crypto_authenc_esn_init_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_spawn_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/testmgr.c __alg_test_hash() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_hash_vs_generic_impl() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/inside-secure/safexcel_hash.c __safexcel_hmac_setkey() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_hmac_sha3_cra_exit() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_sha3_cra_exit() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/padlock-sha.c padlock_exit_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| NOCHECK_CALL |
drivers/crypto/padlock-sha.c padlock_init_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c sun8i_ss_hash_exit_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c sun8i_ss_hash_init_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-integrity.c dm_integrity_dtr() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
| NOCHECK_CALL |
crypto/tcrypt.c test_ahash_speed_common() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| NOCHECK_CALL |
drivers/crypto/atmel-sha.c atmel_sha_authenc_free() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| NOCHECK_CALL |
drivers/crypto/atmel-sha.c atmel_sha_authenc_spawn() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-crypt.c crypt_ctr_auth_cipher() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_ahash |
| NOCHECK_CALL |
drivers/crypto/img-hash.c img_hash_cra_exit() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/ahash.c crypto_ahash_exit_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| RX_PATH | |||
| NOCHECK_CALL |
crypto/ahash.c crypto_ahash_init_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 0-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/tegra/tegra-se-hash.c tegra_sha_cra_exit() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/ccm.c crypto_ccm_exit_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| NOCHECK_CALL |
crypto/ccm.c crypto_ccm_init_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_spawn_ahash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/algif_hash.c hash_release() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | (-1),1-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/ah4.c ah_destroy() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/ipv4/ah4.c ah_init_state() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | s32min-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex |
crypto/hmac.c hmac_exit_ahash_tfm() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/cryptd.c cryptd_hash_complete() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_ahash_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &backlog->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
net/ipv6/ah6.c ah6_destroy() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/ipv6/ah6.c ah6_init_state() -> crypto_free_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | s32min-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex |