Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

crypto/aes.c crypto_aes_gcm_decrypt_common() -> aes_gcm_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 8686699603465760768
BUF_SIZE 1 nonce s32min-(-2),1-s32max
BUF_SIZE 1 nonce s32min-(-2),1-s32max
DATA_SOURCE 1 nonce $2
DATA_SOURCE 2 key $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *nonce 0-255
USER_PTR 1 nonce
HALF_LOCKED2 &pool->lock

crypto/aes.c crypto_aes_gcm_encrypt_common() -> aes_gcm_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 426982258692722688
BUF_SIZE 1 nonce s32min-(-2),1-s32max
BUF_SIZE 1 nonce s32min-(-2),1-s32max
DATA_SOURCE 1 nonce $2
DATA_SOURCE 2 key $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *nonce 0-255
USER_PTR 1 nonce

lib/crypto/aes.c aes_gcm_decrypt() -> aes_gcm_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1388934090743455744
BUF_SIZE 1 nonce (-1),12,16
BUF_SIZE 1 nonce (-1),12,16
BUF_SIZE 2 key (-1),280
BUF_SIZE 2 key (-1),280
DATA_SOURCE 1 nonce $6
DATA_SOURCE 2 key $7
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 key->authtag_len
HALF_LOCKED2 _T->lock

lib/crypto/aes.c aes_gcm_encrypt() -> aes_gcm_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 2975561735461928960
BUF_SIZE 1 nonce (-1),12,16
BUF_SIZE 1 nonce (-1),12,16
BUF_SIZE 2 key (-1),280
BUF_SIZE 2 key (-1),280
DATA_SOURCE 1 nonce $6
DATA_SOURCE 2 key $7
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 key->authtag_len
HALF_LOCKED2 _T->lock

lib/crypto/tests/aes_gcm_kunit.c aes_gcm_init_test() -> aes_gcm_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1-u64max
BUF_SIZE 0 ctx (-1),104
BUF_SIZE 0 ctx (-1),104
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 nonce $3
DATA_SOURCE 2 key $5
NOCHECK_CALL