Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/ecryptfs/keystore.c write_tag_3_packet() -> crypto_skcipher_max_keysize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
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

fs/ecryptfs/keystore.c write_tag_3_packet() -> crypto_skcipher_max_keysize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
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 generate_random_cipher_testvec() -> crypto_skcipher_max_keysize()

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_max_keysize()

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_max_keysize()

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_max_keysize()

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/skcipher.c skcipher_set_needkey() -> crypto_skcipher_max_keysize()

Type Parameter Key Value
BUF_SIZE 0 tfm (-1),1-s32max
BUF_SIZE 0 tfm (-1),1-s32max
DATA_SOURCE 0 tfm $0
RX_PATH
TASK_NOT_RUNNING

fs/ecryptfs/crypto.c ecryptfs_process_key_cipher() -> crypto_skcipher_max_keysize()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
DATA_SOURCE 0 tfm r crypto_alloc_skcipher
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &key_tfm_list_mutex