Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 19 files:
- crypto/ahash.c
- crypto/crypto_engine.c, line 550
- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c, line 444
- drivers/crypto/atmel-sha.c
- drivers/crypto/bcm/cipher.c, line 4441
- drivers/crypto/caam/caamalg_qi2.c
- drivers/crypto/ccp/ccp-crypto-aes-cmac.c, line 391
- drivers/crypto/ccp/ccp-crypto-sha.c
- drivers/crypto/ccree/cc_hash.c
- drivers/crypto/chelsio/chcr_algo.c, line 4363
- drivers/crypto/img-hash.c, line 859
- drivers/crypto/inside-secure/eip93/eip93-main.c, line 171
- drivers/crypto/inside-secure/safexcel.c, line 1278
- drivers/crypto/marvell/cesa/cesa.c, line 197
- drivers/crypto/mxs-dcp.c
- drivers/crypto/qce/sha.c, line 454
- drivers/crypto/s5p-sss.c, line 2257
- drivers/crypto/sa2ul.c, line 2195
- drivers/crypto/talitos.c, line 3582
Smatch caller information:
drivers/crypto/qce/sha.c qce_ahash_register_one() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->digest | 245779955679506432 |
| PARAM_VALUE | 0 | alg->export | 8817075901013536768 |
| PARAM_VALUE | 0 | alg->final | 5546872797677772800 |
| PARAM_VALUE | 0 | alg->halg.base.cra_alignmask | 0 |
| PARAM_VALUE | 0 | alg->halg.base.cra_blocksize | 64 |
| PARAM_VALUE | 0 | alg->halg.base.cra_ctxsize | 64 |
| PARAM_VALUE | 0 | alg->halg.base.cra_flags | 4224 |
| PARAM_VALUE | 0 | alg->halg.base.cra_init | 1318413301948354560 |
| PARAM_VALUE | 0 | alg->halg.base.cra_module | 0 |
| PARAM_VALUE | 0 | alg->halg.base.cra_priority | 175 |
| PARAM_VALUE | 0 | alg->halg.digestsize | 32 |
| PARAM_VALUE | 0 | alg->halg.statesize | 128 |
| PARAM_VALUE | 0 | alg->import | 8743196172012871680 |
| PARAM_VALUE | 0 | alg->init | 7804424704961781760 |
| PARAM_VALUE | 0 | alg->update | 7640471274230652928 |
| BUF_SIZE | 0 | alg | 496 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/sa2ul.c sa_register_algos() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/ccp/ccp-crypto-aes-cmac.c ccp_register_aes_cmac_algs() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->digest | 1903851529072185344 |
| PARAM_VALUE | 0 | alg->export | 7371307521563664384 |
| PARAM_VALUE | 0 | alg->final | 3813632842501369856 |
| PARAM_VALUE | 0 | alg->finup | 9158420888312651776 |
| PARAM_VALUE | 0 | alg->halg.digestsize | 16 |
| PARAM_VALUE | 0 | alg->halg.statesize | 40 |
| PARAM_VALUE | 0 | alg->import | 7259939381336686592 |
| PARAM_VALUE | 0 | alg->init | 3499238880983089152 |
| PARAM_VALUE | 0 | alg->setkey | 1148395236566794240 |
| PARAM_VALUE | 0 | alg->update | 6459585752079446016 |
| BUF_SIZE | 0 | alg | 496 |
drivers/crypto/ccree/cc_hash.c cc_hash_alloc() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->setkey | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/ccree/cc_hash.c cc_hash_alloc() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->setkey | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/ccp/ccp-crypto-sha.c ccp_register_hmac_alg() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->digest | 448566876847583232 |
| PARAM_VALUE | 0 | alg->export | 1105916624725495808 |
| PARAM_VALUE | 0 | alg->final | 96821813884002304 |
| PARAM_VALUE | 0 | alg->finup | 3752975439940063232 |
| PARAM_VALUE | 0 | alg->halg.base.cra_destroy | 7658594683215654912 |
| PARAM_VALUE | 0 | alg->halg.base.cra_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->halg.base.cra_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->halg.base.cra_users.next | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->halg.base.cra_users.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->import | 2087887112719413248 |
| PARAM_VALUE | 0 | alg->init | 4811238813507371008 |
| PARAM_VALUE | 0 | alg->setkey | 2611223649778634752 |
| PARAM_VALUE | 0 | alg->update | 4893028057992183808 |
| BUF_SIZE | 0 | alg | 496 |
drivers/crypto/ccp/ccp-crypto-sha.c ccp_register_sha_alg() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->digest | 448566876847583232 |
| PARAM_VALUE | 0 | alg->export | 1105916624725495808 |
| PARAM_VALUE | 0 | alg->final | 96821813884002304 |
| PARAM_VALUE | 0 | alg->finup | 3752975439940063232 |
| PARAM_VALUE | 0 | alg->halg.digestsize | 20,28,32,48,64 |
| PARAM_VALUE | 0 | alg->halg.statesize | 216 |
| PARAM_VALUE | 0 | alg->import | 2087887112719413248 |
| PARAM_VALUE | 0 | alg->init | 4811238813507371008 |
| PARAM_VALUE | 0 | alg->update | 4893028057992183808 |
| BUF_SIZE | 0 | alg | 496 |
drivers/crypto/inside-secure/eip93/eip93-main.c eip93_register_algs() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c dpaa2_caam_probe() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->setkey | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c dpaa2_caam_probe() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->setkey | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/crypto_engine.c crypto_engine_register_ahash() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->clients_lock | ||
| HALF_LOCKED2 | global &algs_lock |
drivers/crypto/s5p-sss.c s5p_aes_probe() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/atmel-sha.c atmel_sha_register_algs() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/atmel-sha.c atmel_sha_register_algs() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4653879183655137280 |
| PARAM_VALUE | 0 | alg->digest | 2494314156261306368 |
| PARAM_VALUE | 0 | alg->export | 2847215241046614016 |
| PARAM_VALUE | 0 | alg->final | 7543124683997401088 |
| PARAM_VALUE | 0 | alg->finup | 1438749595205214208 |
| PARAM_VALUE | 0 | alg->halg.base.cra_ctxsize | 24 |
| PARAM_VALUE | 0 | alg->halg.base.cra_flags | 4224 |
| PARAM_VALUE | 0 | alg->halg.base.cra_init | 5734087954861576192 |
| PARAM_VALUE | 0 | alg->halg.base.cra_priority | 300 |
| PARAM_VALUE | 0 | alg->halg.statesize | 544 |
| PARAM_VALUE | 0 | alg->import | 2374776635800199168 |
| PARAM_VALUE | 0 | alg->init | 5994118583666589696 |
| PARAM_VALUE | 0 | alg->update | 8583123323776446464 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/atmel-sha.c atmel_sha_register_algs() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/atmel-sha.c atmel_sha_register_algs() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/img-hash.c img_register_algs() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ahash.c crypto_register_ahashes() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
drivers/crypto/marvell/cesa/cesa.c mv_cesa_add_algs() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/inside-secure/safexcel.c safexcel_register_algorithms() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/chelsio/chcr_algo.c chcr_register_alg() -> crypto_register_ahash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &uld_mutex |