Defined in 1 files as a function:
Referenced in 6 files:
- crypto/cipher.c
- crypto/ctr.c
- crypto/ecb.c, line 23
- crypto/testmgr.c, line 2716
- crypto/xctr.c
- include/crypto/internal/cipher.h
Smatch caller information:
crypto/adiantum.c crypto_cipher_clear_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | global &key_tfm_list_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/adiantum.c crypto_cipher_set_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | global &key_tfm_list_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/adiantum.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH |
crypto/xts.c crypto_cipher_clear_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | global &key_tfm_list_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/xts.c crypto_cipher_set_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | global &key_tfm_list_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/xts.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH |
crypto/ecb.c crypto_cipher_alg() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ecb.c crypto_cipher_blocksize() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ecb.c crypto_cipher_clear_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ecb.c crypto_cipher_set_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ecb.c crypto_ecb_crypt() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ecb.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH |
crypto/essiv.c crypto_cipher_clear_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
crypto/essiv.c crypto_cipher_set_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |
crypto/essiv.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/xctr.c crypto_cipher_alg() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/xctr.c crypto_cipher_alignmask() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/xctr.c crypto_xctr_crypt_inplace() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/xctr.c crypto_xctr_crypt_segment() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/testmgr.c crypto_cipher_blocksize() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c crypto_cipher_clear_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c crypto_cipher_get_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c crypto_cipher_set_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/intel/qat/qat_common/qat_algs.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 1-u64max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH |
crypto/hctr2.c crypto_cipher_clear_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | global &key_tfm_list_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/hctr2.c crypto_cipher_set_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | global &key_tfm_list_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/hctr2.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH |
crypto/xcbc.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/skcipher.c crypto_cipher_clear_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | global &key_tfm_list_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/skcipher.c crypto_cipher_set_flags() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | global &key_tfm_list_mutex | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/skcipher.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH |
crypto/cipher.c cipher_crypt_one() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/cipher.c cipher_crypt_one() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/cipher.c crypto_cipher_alg() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/cipher.c crypto_cipher_alignmask() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/cipher.c crypto_cipher_blocksize() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/cipher.c crypto_cipher_setkey() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/cipher.c setkey_unaligned() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| BUF_SIZE | 0 | tfm | (-1)-s32max |
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ccm.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/ctr.c crypto_cipher_alg() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/ctr.c crypto_cipher_alignmask() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/ctr.c crypto_cipher_blocksize() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/ctr.c crypto_ctr_crypt_inplace() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/ctr.c crypto_ctr_crypt_segment() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/cmac.c crypto_free_cipher() -> crypto_cipher_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tfm | $0 |
| RX_PATH |