Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 22 files:
- crypto/ahash.c
- crypto/algif_hash.c, line 409
- crypto/tcrypt.c, line 876
- crypto/testmgr.c
- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c, line 49
- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c, line 106
- drivers/crypto/atmel-sha.c, line 2192
- drivers/crypto/img-hash.c, line 674
- drivers/crypto/inside-secure/eip93/eip93-common.c, line 734
- drivers/crypto/inside-secure/safexcel_hash.c
- drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c, line 801
- drivers/crypto/marvell/cesa/hash.c, line 1190
- drivers/crypto/padlock-sha.c, line 165
- drivers/crypto/qce/sha.c, line 332
- drivers/crypto/rockchip/rk3288_crypto_ahash.c, line 359
- drivers/crypto/sa2ul.c, line 1504
- drivers/crypto/starfive/jh7110-hash.c
- drivers/crypto/tegra/tegra-se-hash.c, line 562
- drivers/md/dm-crypt.c, line 2842
- drivers/md/dm-integrity.c, line 4469
- net/ipv4/ah4.c, line 501
- net/ipv6/ah6.c, line 715
Smatch caller information:
drivers/crypto/marvell/cesa/hash.c mv_cesa_ahmac_setkey() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 3582088771855966208,3744908530795884544,3922661640194572288 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 7-8,10 |
| BUF_SIZE | 0 | alg_name | 7-8,10 |
| DATA_SOURCE | 0 | alg_name | $0 |
| STR_LEN | 0 | alg_name | 6-7,9 |
| STR_LEN | 0 | alg_name | 6-7,9 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/eip93/eip93-common.c eip93_hmac_setkey() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 905276991231758336,3727250851182047232,6319979938342203392,7015815005399846912 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 10-11,13 |
| BUF_SIZE | 0 | alg_name | 10-11,13 |
| STR_LEN | 0 | alg_name | 9-10,12 |
| STR_LEN | 0 | alg_name | 9-10,12 |
| BIT_INFO | 0 | alg_name | 0x10000004301000,0x7ffdfef7fffff000 |
| BIT_INFO | 0 | alg_name | 0x10000004301000,0x7ffdfef7fffff000 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c sun8i_ce_hash_init_tfm() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/starfive/jh7110-hash.c starfive_hash_init_tfm() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 8,11,14,16 |
| BUF_SIZE | 0 | alg_name | 8,11,14,16 |
| DATA_SOURCE | 0 | alg_name | $1 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/starfive/jh7110-hash.c starfive_hash_long_setkey() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1549675558573604864,3240410041103220736,6297145431559041024,7754895481384505344,7806229928354877440 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 13,16 |
| BUF_SIZE | 0 | alg_name | 13,16 |
| DATA_SOURCE | 0 | alg_name | $3 |
| STR_LEN | 0 | alg_name | 12,15 |
| STR_LEN | 0 | alg_name | 12,15 |
| BIT_INFO | 0 | alg_name | 0x40000000000,0x7ffffffffffff000 |
| BIT_INFO | 0 | alg_name | 0x40000000000,0x7ffffffffffff000 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
drivers/crypto/qce/sha.c qce_ahash_hmac_setkey() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 5800585365847040000 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 11 |
| BUF_SIZE | 0 | alg_name | 11 |
| STR_LEN | 0 | alg_name | 10 |
| STR_LEN | 0 | alg_name | 10 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
drivers/crypto/sa2ul.c sa_sha_cra_init_alg() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 6199958256783261696,8529434839954767872,8964133117387735040 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 128 |
| BUF_SIZE | 0 | alg_name | 5,7 |
| BUF_SIZE | 0 | alg_name | 5,7 |
| DATA_SOURCE | 0 | alg_name | $1 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c kmb_ocs_hcu_setkey() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 455188748637560832,789484305691398144,2753188976723820544,5745205696008146944,8816612320740761600 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 16,19 |
| BUF_SIZE | 0 | alg_name | 16,19 |
| STR_LEN | 0 | alg_name | 15,18 |
| STR_LEN | 0 | alg_name | 15,18 |
| BIT_INFO | 0 | alg_name | 0x210020000010000,0x7ffffffffd7ff000 |
| BIT_INFO | 0 | alg_name | 0x210020000010000,0x7ffffffffd7ff000 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
crypto/testmgr.c __alg_test_hash() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | mask | 0,1024 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| DATA_SOURCE | 0 | alg_name | $2 |
| DATA_SOURCE | 1 | type | $3 |
| DATA_SOURCE | 2 | mask | $4 |
| HARD_MAX | 2 | mask | 1024 |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_hash_vs_generic_impl() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1-u64max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| DATA_SOURCE | 0 | alg_name | $0 [m] |
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/inside-secure/safexcel_hash.c __safexcel_hmac_setkey() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 57632770978304000,1582471073574035456,7107540397277556736,7504802437035200512,7956761807227809792,8390399048848080896,8518115462054285312 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 13-14,16 |
| BUF_SIZE | 0 | alg_name | 13-14,16 |
| DATA_SOURCE | 0 | alg_name | $0 |
| STR_LEN | 0 | alg_name | (-1),12-13,15 |
| STR_LEN | 0 | alg_name | (-1),12-13,15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_sha3_cra_init() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 384 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/padlock-sha.c padlock_init_tfm() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 384 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| DATA_SOURCE | 0 | alg_name | r crypto_shash_alg_name |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c sun8i_ss_hash_init_tfm() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-integrity.c get_mac() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1-u64max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 65536 |
crypto/tcrypt.c test_ahash_speed_common() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0,128 |
| DATA_SOURCE | 0 | alg_name | $0 |
| DATA_SOURCE | 2 | mask | $3 |
| HARD_MAX | 2 | mask | 128 |
drivers/crypto/atmel-sha.c atmel_sha_authenc_spawn() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 2000707562331131904,4207460635849416704,6707214507683876864,7459563349243740160,7564830269490761728 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 16,18 |
| BUF_SIZE | 0 | alg_name | 16,18 |
| STR_LEN | 0 | alg_name | 15,17 |
| STR_LEN | 0 | alg_name | 15,17 |
| BIT_INFO | 0 | alg_name | 0x800480000000,0x7ffffffffffff000 |
| BIT_INFO | 0 | alg_name | 0x800480000000,0x7ffffffffffff000 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-crypt.c crypt_ctr_auth_cipher() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 65536 |
| DATA_SOURCE | 0 | alg_name | r kmemdup_nul |
drivers/crypto/img-hash.c img_hash_cra_init() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1050763765644210176,2940525430619975680,4156015657196617728,5247638244918124544 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 8-9,11 |
| BUF_SIZE | 0 | alg_name | 8-9,11 |
| DATA_SOURCE | 0 | alg_name | $1 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ahash.c crypto_ahash_init_tfm() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 262144 |
| PARAM_VALUE | 2 | mask | 134480000 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/tegra/tegra-se-hash.c tegra_sha_init_fallback() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 384 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| DATA_SOURCE | 0 | alg_name | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/algif_hash.c hash_bind() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 69760 |
| DATA_SOURCE | 0 | alg_name | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv4/ah4.c ah_init_state() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex |
net/ipv6/ah6.c ah6_init_state() -> crypto_alloc_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex |