Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/tipc/crypto.c tipc_aead_decrypt() -> tipc_ehdr_size()

Type Parameter Key Value
PARAM_VALUE 0 ehdr 4096-ptr_max
BUF_SIZE 0 ehdr 1-s32max
BUF_SIZE 0 ehdr 1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ehdr->addr 0-u32max[u]
USER_DATA 0 ehdr->destined 0-1[u]
USER_DATA 0 ehdr->keepalive 0-1[u]
USER_DATA 0 ehdr->master_key 0-1[u]
USER_DATA 0 ehdr->reserved_1 0-1[u]
USER_DATA 0 ehdr->reserved_2 0-u16max[u]
USER_DATA 0 ehdr->rx_key_active 0-3[u]
USER_DATA 0 ehdr->rx_nokey 0-1[u]
USER_DATA 0 ehdr->seqno 0-u64max[u]
USER_DATA 0 ehdr->tx_key 0-3[u]
USER_DATA 0 ehdr->user 0-15[u]
USER_DATA 0 ehdr->version 0-7[u]
USER_DATA 0 ehdr->w0 0-u32max[u]
UNITS 0 ehdr unit_byte
USER_PTR 0 ehdr
LOCK2 rcu_read

net/tipc/crypto.c tipc_aead_encrypt() -> tipc_ehdr_size()

Type Parameter Key Value
BUF_SIZE 0 ehdr 1-s32max
BUF_SIZE 0 ehdr 1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ehdr->addr 0-u32max[u]
USER_DATA 0 ehdr->destined 0-1[u]
USER_DATA 0 ehdr->keepalive 0-1[u]
USER_DATA 0 ehdr->master_key 0-1[u]
USER_DATA 0 ehdr->reserved_1 0-1[u]
USER_DATA 0 ehdr->reserved_2 0-u16max[u]
USER_DATA 0 ehdr->rx_key_active 0-3[u]
USER_DATA 0 ehdr->rx_nokey 0-1[u]
USER_DATA 0 ehdr->seqno 0-u64max[u]
USER_DATA 0 ehdr->tx_key 0-3[u]
USER_DATA 0 ehdr->user 0-15[u]
USER_DATA 0 ehdr->version 0-7[u]
USER_DATA 0 ehdr->w0 0-u32max[u]
UNITS 0 ehdr unit_byte
USER_PTR 0 ehdr
HALF_LOCKED2 &__dnode->lock
HALF_LOCKED2 rcu_read

net/tipc/crypto.c tipc_crypto_rcv_complete() -> tipc_ehdr_size()

Type Parameter Key Value
BUF_SIZE 0 ehdr 1-s32max
BUF_SIZE 0 ehdr 1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ehdr->addr 0-u32max[u]
USER_DATA 0 ehdr->destined 0-1[u]
USER_DATA 0 ehdr->keepalive 0-1[u]
USER_DATA 0 ehdr->master_key 0-1[u]
USER_DATA 0 ehdr->reserved_1 0-1[u]
USER_DATA 0 ehdr->reserved_2 0-u16max[u]
USER_DATA 0 ehdr->rx_key_active 0-3[u]
USER_DATA 0 ehdr->rx_nokey 0-1[u]
USER_DATA 0 ehdr->seqno 0-u64max[u]
USER_DATA 0 ehdr->tx_key 0-3[u]
USER_DATA 0 ehdr->user 0-15[u]
USER_DATA 0 ehdr->version 0-7[u]
USER_DATA 0 ehdr->w0 0-u32max[u]
UNITS 0 ehdr unit_byte
USER_PTR 0 ehdr

net/tipc/crypto.c tipc_ehdr_validate() -> tipc_ehdr_size()

Type Parameter Key Value
PARAM_VALUE 0 ehdr 4096-ptr_max
BUF_SIZE 0 ehdr 1-s32max
BUF_SIZE 0 ehdr 1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ehdr->addr 0-u32max[u]
USER_DATA 0 ehdr->destined 0-1[u]
USER_DATA 0 ehdr->keepalive 0-1[u]
USER_DATA 0 ehdr->master_key 0-1[u]
USER_DATA 0 ehdr->reserved_1 0-1[u]
USER_DATA 0 ehdr->reserved_2 0-u16max[u]
USER_DATA 0 ehdr->rx_key_active 0-3[u]
USER_DATA 0 ehdr->rx_nokey 0-1[u]
USER_DATA 0 ehdr->seqno 0-u64max[u]
USER_DATA 0 ehdr->tx_key 0-3[u]
USER_DATA 0 ehdr->user 0-15[u]
USER_DATA 0 ehdr->w0 0-u32max[u]
UNITS 0 ehdr unit_byte
USER_PTR 0 ehdr
HALF_LOCKED2 rcu_read