Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- crypto/ahash.c, line 646
- crypto/cryptd.c, line 627
- crypto/hmac.c
- crypto/shash.c, line 247
- crypto/testmgr.c, line 1401
- drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
- drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
- drivers/crypto/sa2ul.c, line 430
- drivers/crypto/xilinx/zynqmp-sha.c, line 82
- drivers/md/dm-verity-target.c, line 1393
- fs/ubifs/auth.c, line 484
Smatch caller information:
drivers/crypto/xilinx/zynqmp-sha.c zynqmp_sha_continue() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 409077792152166400,5014473207992291328 |
| BUF_SIZE | 0 | desc | 377 |
| BUF_SIZE | 0 | desc | 377 |
| DATA_SOURCE | 0 | desc | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/sa2ul.c sa_export_shash() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 3896890187704467456 |
| PARAM_VALUE | 0 | desc->__ctx->crc | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->bitLength | 0-255 |
| PARAM_VALUE | 0 | *desc->__ctx->block | 0-4294967295 |
| PARAM_VALUE | 1 | out | 8332864133817163776 |
| BUF_SIZE | 0 | desc | 377 |
| BUF_SIZE | 0 | desc | 377 |
| BUF_SIZE | 1 | out | 104 |
| BUF_SIZE | 1 | out | 104 |
| DATA_SOURCE | 0 | desc | $1 |
| DATA_SOURCE | 1 | out | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ubifs/auth.c __ubifs_shash_copy_state() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 16,4096-ptr_max |
| BUF_SIZE | 1 | out | 0-u32max |
| DATA_SOURCE | 0 | desc | $1 |
| DATA_SOURCE | 1 | out | r _kmalloc_noprof |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/testmgr.c test_shash_vec_cfg() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->__ctx->byte_count | 0 |
| PARAM_VALUE | 0 | desc->__ctx->crc | 0-4294967295 |
| PARAM_VALUE | 0 | desc->__ctx->xxhstate.memsize | 0 |
| PARAM_VALUE | 0 | desc->__ctx->xxhstate.total_len | 0 |
| PARAM_VALUE | 0 | *desc->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->bitLength | 0-255 |
| PARAM_VALUE | 0 | *desc->__ctx->h.qword | 72340172838076673 |
| PARAM_VALUE | 0 | *desc->__ctx->hash | 0 |
| PARAM_VALUE | 1 | out | 16,4096-ptr_max |
| BUF_SIZE | 1 | out | 0-s32max |
| DATA_SOURCE | 0 | desc | $3 |
| DATA_SOURCE | 1 | out | $5 |
| MEM_ZERO | 0 | desc->__ctx | |
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c aead_hmac_init() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c aead_hmac_init() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 1-4000000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
crypto/ahash.c crypto_ahash_export() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | desc | 1-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out | |
| HALF_LOCKED2 | sk |
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c aead_hmac_init() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c aead_hmac_init() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | 1-4000000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
drivers/md/dm-verity-target.c verity_setup_salt_and_hashstate() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 5603240207338659840 |
| PARAM_VALUE | 0 | desc->__ctx->byte_count | 0 |
| PARAM_VALUE | 0 | desc->__ctx->crc | 0-4294967295 |
| PARAM_VALUE | 0 | desc->__ctx->xxhstate.memsize | 0 |
| PARAM_VALUE | 0 | desc->__ctx->xxhstate.total_len | 0 |
| PARAM_VALUE | 0 | desc->tfm | 1-ptr_max |
| PARAM_VALUE | 0 | *desc->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->bitLength | 0-255 |
| PARAM_VALUE | 0 | *desc->__ctx->block | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->h.qword | 72340172838076673 |
| PARAM_VALUE | 0 | *desc->__ctx->hash | 0 |
| PARAM_VALUE | 1 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | desc | 377 |
| BUF_SIZE | 0 | desc | 377 |
| BUF_SIZE | 1 | out | 0-u32max |
| DATA_SOURCE | 1 | out | r _kmalloc_noprof |
| HALF_LOCKED2 | &md->type_lock |
crypto/hmac.c hmac_export() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |
crypto/hmac.c hmac_setkey() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 1125316017451040768 |
| PARAM_VALUE | 0 | *desc->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->bitLength | 0-255 |
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| BUF_SIZE | 0 | desc | 377 |
| BUF_SIZE | 0 | desc | 377 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *desc->__ctx->block | 0-255 |
| USER_PTR | 1 | out | |
| HALF_LOCKED2 | &keyring_key->sem | ||
| HALF_LOCKED2 | global &mutex |
crypto/hmac.c hmac_setkey() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 1125316017451040768 |
| PARAM_VALUE | 0 | *desc->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->__ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *desc->__ctx->bitLength | 0-255 |
| PARAM_VALUE | 1 | out | 4096-ptr_max |
| BUF_SIZE | 0 | desc | 377 |
| BUF_SIZE | 0 | desc | 377 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *desc->__ctx->block | 0-255 |
| USER_PTR | 1 | out | |
| HALF_LOCKED2 | &keyring_key->sem | ||
| HALF_LOCKED2 | global &mutex |
crypto/cryptd.c cryptd_hash_export() -> crypto_shash_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| BUF_SIZE | 1 | out | (-1)-s32max |
| DATA_SOURCE | 1 | out | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | out |