Documented in 1 files:
Defined in 1 files as a function:
Referenced in 9 files:
- crypto/tcrypt.c
- crypto/testmgr.c
- drivers/md/dm-integrity.c
- fs/ecryptfs/crypto.c, line 254
- fs/ecryptfs/keystore.c
- net/mac80211/fils_aead.c
- security/keys/encrypted-keys/encrypted.c
- security/keys/trusted-keys/trusted_dcp.c, line 123
- tools/testing/crypto/chacha20-s390/test-cipher.c, line 231
Smatch caller information:
net/mac80211/fils_aead.c aes_siv_decrypt() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 4856404248490455040 |
| PARAM_VALUE | 0 | req->dst->dma_flags | 0 |
| PARAM_VALUE | 0 | req->dst->dma_length | 0 |
| PARAM_VALUE | 0 | req->dst->offset | 0-4095 |
| PARAM_VALUE | 0 | req->iv | 8355080491203903488 |
| PARAM_VALUE | 0 | req->src | 6451178619220303872 |
| PARAM_VALUE | 0 | req->src->dma_flags | 0 |
| PARAM_VALUE | 0 | req->src->dma_length | 0 |
| PARAM_VALUE | 0 | req->src->offset | 0-4095 |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req | 80-s32max |
| DATA_SOURCE | 0 | req | r skcipher_request_alloc_noprof |
| RX_PATH | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *req->iv | 0-255 |
| USER_PTR | 0 | req->iv |
net/mac80211/fils_aead.c aes_siv_encrypt() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 3061988583020662784 |
| PARAM_VALUE | 0 | req->dst->dma_flags | 0 |
| PARAM_VALUE | 0 | req->dst->dma_length | 0 |
| PARAM_VALUE | 0 | req->dst->offset | 0-4095 |
| PARAM_VALUE | 0 | req->iv | 8825249347023810560 |
| PARAM_VALUE | 0 | req->src | 1136405678995697664 |
| PARAM_VALUE | 0 | req->src->dma_flags | 0 |
| PARAM_VALUE | 0 | req->src->dma_length | 0 |
| PARAM_VALUE | 0 | req->src->offset | 0-4095 |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req | 80-s32max |
| DATA_SOURCE | 0 | req | r skcipher_request_alloc_noprof |
| NOCHECK_CALL |
fs/ecryptfs/keystore.c decrypt_passphrase_encrypted_session_key() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.flags | 512 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 0,80-s32max |
| BUF_SIZE | 0 | req | 0,80-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &ecryptfs_dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &ecryptfs_dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct ecryptfs_crypt_stat)->cs_mutex |
fs/ecryptfs/keystore.c ecryptfs_parse_tag_70_packet() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | (-1),80-s32max |
| BUF_SIZE | 0 | req | (-1),80-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ecryptfs/keystore.c ecryptfs_write_tag_70_packet() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | (-1),80-s32max |
| BUF_SIZE | 0 | req | (-1),80-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ecryptfs/keystore.c write_tag_3_packet() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.flags | 512 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 5696143283624992768 |
| PARAM_VALUE | 0 | req->dst->dma_flags | 0 |
| PARAM_VALUE | 0 | req->dst->dma_length | 0 |
| PARAM_VALUE | 0 | req->dst->length | 0 |
| PARAM_VALUE | 0 | req->dst->offset | 0 |
| PARAM_VALUE | 0 | req->iv | 0 |
| PARAM_VALUE | 0 | req->src | 6380676492212207616 |
| PARAM_VALUE | 0 | req->src->dma_flags | 0 |
| PARAM_VALUE | 0 | req->src->dma_length | 0 |
| PARAM_VALUE | 0 | req->src->length | 0 |
| PARAM_VALUE | 0 | req->src->offset | 0 |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req | 80-s32max |
| DATA_SOURCE | 0 | req | r skcipher_request_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &crypt_stat->keysig_list_mutex | ||
| LOCK2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &ecryptfs_dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct ecryptfs_crypt_stat)->keysig_list_mutex |
crypto/testmgr.c alg_test_skcipher() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 0,4096-ptr_max |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req | 80-s32max |
| DATA_SOURCE | 0 | req | r skcipher_request_alloc_noprof |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_skcipher_vs_generic_impl() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 0,80-s32max |
| BUF_SIZE | 0 | req | 0,80-s32max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
security/keys/encrypted-keys/encrypted.c derived_key_decrypt() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 6902543282901274624 |
| PARAM_VALUE | 0 | req->dst->dma_flags | 0 |
| PARAM_VALUE | 0 | req->dst->dma_length | 0 |
| PARAM_VALUE | 0 | req->dst->length | 0 |
| PARAM_VALUE | 0 | req->dst->offset | 0 |
| PARAM_VALUE | 0 | req->iv | 6717631889854902272 |
| PARAM_VALUE | 0 | req->src | 1391989463210401792 |
| PARAM_VALUE | 0 | req->src->dma_flags | 0 |
| PARAM_VALUE | 0 | req->src->dma_length | 0 |
| PARAM_VALUE | 0 | req->src->offset | 0-4095 |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req | 80-s32max |
| DATA_SOURCE | 0 | req | r init_skcipher_req |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/encrypted-keys/encrypted.c derived_key_encrypt() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 2676859266303139840 |
| PARAM_VALUE | 0 | req->dst->dma_flags | 0 |
| PARAM_VALUE | 0 | req->dst->dma_length | 0 |
| PARAM_VALUE | 0 | req->dst->offset | 0-4095 |
| PARAM_VALUE | 0 | req->iv | 2032452806340870144 |
| PARAM_VALUE | 0 | req->src | 5667567696048123904 |
| PARAM_VALUE | 0 | req->src->dma_flags | 0 |
| PARAM_VALUE | 0 | req->src->dma_length | 0 |
| PARAM_VALUE | 0 | req->src->length | 0 |
| PARAM_VALUE | 0 | req->src->offset | 0 |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req | 80-s32max |
| DATA_SOURCE | 0 | req | r init_skcipher_req |
| NOCHECK_CALL | |||
| LOCK2 | &key->sem | ||
| TYPE_LOCK | (struct key)->sem |
drivers/md/dm-integrity.c create_journal() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->iv | 0 |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req->iv | 2 |
| DATA_SOURCE | 0 | req | r skcipher_request_alloc_noprof |
| NOCHECK_CALL |
drivers/md/dm-integrity.c create_journal() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 0,80-s32max |
| BUF_SIZE | 0 | req | 0,80-s32max |
| NOCHECK_CALL |
drivers/md/dm-integrity.c dm_integrity_dtr() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->iv | 0,16,4096-ptr_max |
| NOCHECK_CALL |
crypto/tcrypt.c test_mb_skcipher_speed() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
crypto/tcrypt.c test_mb_skcipher_speed() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
crypto/tcrypt.c test_skcipher_speed() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1624078799481573376 |
| PARAM_VALUE | 0 | req->base.data | 7479753319029510144 |
| PARAM_VALUE | 0 | req->base.flags | 1024 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req | 80-s32max |
| DATA_SOURCE | 0 | req | r skcipher_request_alloc_noprof |
| NOCHECK_CALL |
fs/ecryptfs/crypto.c crypt_scatterlist() -> skcipher_request_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1624078799481573376 |
| PARAM_VALUE | 0 | req->base.data | 1377656493991817216 |
| PARAM_VALUE | 0 | req->base.flags | 1536 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cryptlen | 0,4096 |
| PARAM_VALUE | 0 | req->dst | 7835404425328394240 |
| PARAM_VALUE | 0 | req->iv | 1724758241885859840 |
| PARAM_VALUE | 0 | req->src | 7495297901180207104 |
| BUF_SIZE | 0 | req | 80-s32max |
| BUF_SIZE | 0 | req | 80-s32max |
| DATA_SOURCE | 0 | req | r skcipher_request_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |