Documented in 1 files:
Defined in 1 files as a function:
Referenced in 19 files:
- crypto/cts.c
- crypto/skcipher.c, line 308
- crypto/tcrypt.c
- crypto/testmgr.c
- drivers/crypto/atmel-aes.c, line 1080
- drivers/crypto/chelsio/chcr_algo.c
- drivers/crypto/inside-secure/eip93/eip93-cipher.c, line 153
- drivers/crypto/marvell/cesa/cipher.c, line 429
- drivers/crypto/qce/skcipher.c, line 217
- drivers/crypto/rockchip/rk3288_crypto_skcipher.c, line 30
- drivers/crypto/starfive/jh7110-aes.c, line 794
- drivers/crypto/tegra/tegra-se-aes.c, line 491
- drivers/md/dm-crypt.c
- drivers/md/dm-integrity.c, line 4537
- fs/ecryptfs/crypto.c, line 1951
- fs/ecryptfs/keystore.c, line 651
- include/crypto/skcipher.h, line 532
- security/keys/encrypted-keys/encrypted.c, line 93
- tools/testing/crypto/chacha20-s390/test-cipher.c, line 222
Smatch caller information:
crypto/krb5/rfc3961_simplified.c crypto_sync_skcipher_blocksize() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ecryptfs/keystore.c ecryptfs_write_tag_70_packet() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | s->tfm_mutex |
crypto/testmgr.c test_skcipher_vs_generic_impl() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_skcipher_vs_generic_impl() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_skcipher |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_skcipher_vs_generic_impl() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_skcipher |
| HALF_LOCKED2 | global &once_lock |
security/keys/encrypted-keys/encrypted.c aes_get_sizes() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_skcipher |
crypto/skcipher.c skcipher_walk_virt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-integrity.c create_journal() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_skcipher |
crypto/tcrypt.c test_mb_skcipher_speed() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_skcipher |
crypto/tcrypt.c test_skcipher_speed() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_alloc_skcipher |
fs/ecryptfs/crypto.c ecryptfs_set_f_namelen() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | tfm_mutex | ||
| HALF_LOCKED2 | &s->s_umount |
drivers/md/dm-crypt.c crypt_iv_benbi_ctr() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-crypt.c crypt_iv_eboiv_ctr() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|
drivers/crypto/starfive/jh7110-aes.c starfive_aes_crypt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/marvell/cesa/cipher.c mv_cesa_skcipher_req_init() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/inside-secure/eip93/eip93-cipher.c eip93_skcipher_crypt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/qce/skcipher.c qce_skcipher_crypt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/atmel-aes.c atmel_aes_crypt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/cts.c crypto_cts_decrypt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/cts.c crypto_cts_encrypt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/cts.c crypto_cts_init_tfm() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-ptr_max |
| BUF_SIZE | 0 | tfm | s32min-s32max |
| DATA_SOURCE | 0 | tfm | r crypto_spawn_skcipher |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/cts.c cts_cbc_decrypt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
crypto/cts.c cts_cbc_encrypt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/tegra/tegra-se-aes.c tegra_aes_crypt() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/chelsio/chcr_algo.c process_cipher() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/chelsio/chcr_algo.c process_cipher() -> crypto_skcipher_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| DATA_SOURCE | 0 | tfm | r crypto_skcipher_reqtfm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |