Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

crypto/adiantum.c adiantum_crypt() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 1 dst 0,4,6,8,16,20,32,96,128,168,208,512,1024
PARAM_VALUE 2 src 0,4,6,8,16,20,32,96,128,168,208,512,1024
BUF_SIZE 1 dst 32
BUF_SIZE 2 src 32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 tfm_mutex

crypto/xts.c xts_init_crypt() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
BUF_SIZE 1 dst 16
BUF_SIZE 2 src s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 *src 0-255
UNITS 2 src unit_byte
USER_PTR 2 src
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 tfm_mutex

crypto/essiv.c essiv_aead_crypt() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
BUF_SIZE 1 dst s32min-(-2),1-s32max
BUF_SIZE 2 src s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *dst 0-255
USER_DATA 2 *src 0-255
USER_PTR 1 dst
USER_PTR 2 src

crypto/essiv.c essiv_skcipher_crypt() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
BUF_SIZE 1 dst s32min-(-2),1-s32max
BUF_SIZE 2 src s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *dst 0-255
USER_DATA 2 *src 0-255
UNITS 1 dst unit_byte
UNITS 2 src unit_byte
USER_PTR 1 dst
USER_PTR 2 src
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 tfm_mutex

crypto/xctr.c crypto_xctr_crypt_final() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 1 dst 5819079510854164480
BUF_SIZE 1 dst 16
BUF_SIZE 2 src s32min-(-2),1-s32max
DATA_SOURCE 0 tfm $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 *src 0-255
UNITS 2 src unit_byte
USER_PTR 2 src
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 tfm_mutex

crypto/testmgr.c test_cipher() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 src 4096-ptr_max
BUF_SIZE 0 tfm (-1)-s32max
BUF_SIZE 0 tfm (-1)-s32max
DATA_SOURCE 0 tfm $0
NOCHECK_CALL
HALF_LOCKED2 global &once_lock

drivers/crypto/intel/qat/qat_common/qat_algs.c qat_alg_set_req_iv() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
BUF_SIZE 1 dst 16
BUF_SIZE 2 src s32min-(-2),1-s32max
BUF_SIZE 2 src s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 *src 0-255
UNITS 2 src unit_byte
USER_PTR 2 src
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 tfm_mutex

crypto/hctr2.c hctr2_crypt() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 2 src 4770529822930067456
BUF_SIZE 1 dst 16
BUF_SIZE 2 src 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 tfm_mutex

crypto/hctr2.c hctr2_setkey() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 1 dst 7895804868625825792
PARAM_VALUE 2 src 7895804868625825792
BUF_SIZE 1 dst 16
BUF_SIZE 2 src 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 hctr2_setkey() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 src 4096-ptr_max
BUF_SIZE 1 dst 16
BUF_SIZE 2 src 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/xcbc.c crypto_xcbc_digest_finup() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
BUF_SIZE 1 dst (-1)-s32max
BUF_SIZE 1 dst (-1)-s32max
DATA_SOURCE 1 dst $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *dst 0-255
USER_DATA 2 *src 0-255
UNITS 1 dst unit_byte
USER_PTR 1 dst

crypto/xcbc.c crypto_xcbc_digest_setkey() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 2 src 872226666728992784
BUF_SIZE 2 src 32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 src unit_byte
HALF_LOCKED2 &keyring_key->sem
HALF_LOCKED2 global &mutex

crypto/xcbc.c crypto_xcbc_digest_setkey() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 src 872226666728992800
BUF_SIZE 2 src 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dst unit_byte
HALF_LOCKED2 &keyring_key->sem
HALF_LOCKED2 global &mutex

crypto/xcbc.c crypto_xcbc_digest_setkey() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 1 dst 1019049246842949632
PARAM_VALUE 2 src 872226666728992768
BUF_SIZE 1 dst 16
BUF_SIZE 2 src 48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &keyring_key->sem
HALF_LOCKED2 global &mutex

crypto/xcbc.c crypto_xcbc_digest_update() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *dst 0-255
USER_DATA 2 *src 0-255

crypto/ccm.c crypto_cbcmac_digest_finup() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
BUF_SIZE 1 dst (-1)-s32max
BUF_SIZE 1 dst (-1)-s32max
DATA_SOURCE 1 dst $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *dst 0-255
USER_DATA 2 *src 0-255
UNITS 1 dst unit_byte
USER_PTR 1 dst

crypto/ccm.c crypto_cbcmac_digest_update() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *dst 0-255
USER_DATA 2 *src 0-255

crypto/ctr.c crypto_ctr_crypt_final() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
PARAM_VALUE 1 dst 0-7253431659838275583
BUF_SIZE 2 src s32min-(-2),1-s32max
BUF_SIZE 2 src s32min-(-2),1-s32max
DATA_SOURCE 0 tfm $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 *src 0-255
UNITS 2 src unit_byte
USER_PTR 2 src
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 tfm_mutex

crypto/cmac.c crypto_cmac_digest_finup() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
BUF_SIZE 1 dst (-1)-s32max
BUF_SIZE 1 dst (-1)-s32max
DATA_SOURCE 1 dst $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *dst 0-255
USER_DATA 2 *src 0-255
UNITS 1 dst unit_byte
USER_PTR 1 dst

crypto/cmac.c crypto_cmac_digest_setkey() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &keyring_key->sem
HALF_LOCKED2 global &mutex

crypto/cmac.c crypto_cmac_digest_update() -> crypto_cipher_encrypt_one()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *dst 0-255
USER_DATA 2 *src 0-255