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 aes_gcm_decrypt_update_helper() -> aes_gcm_decrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 8686699603465760768 |
| PARAM_VALUE | 0 | ctx->data_len | 0 |
| PARAM_VALUE | 0 | ctx->key | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-4096 |
| BUF_SIZE | 1 | dst | (-1),64 |
| BUF_SIZE | 1 | dst | (-1),64 |
| BUF_SIZE | 2 | src | (-1),64 |
| BUF_SIZE | 2 | src | (-1),64 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | ctx | $3 |
| DATA_SOURCE | 1 | dst | $0 |
| DATA_SOURCE | 2 | src | $1 |
| DATA_SOURCE | 3 | len | $2 |
| NOCHECK_CALL | |||
| UNITS | 3 | len | unit_byte |
lib/crypto/aes.c aes_gcm_decrypt() -> aes_gcm_decrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1388934090743455744 |
| PARAM_VALUE | 0 | ctx->data_len | 0 |
| BUF_SIZE | 1 | dst | (-1),32,64,144,272,1024,4000 |
| BUF_SIZE | 1 | dst | (-1),32,64,144,272,1024,4000 |
| BUF_SIZE | 2 | src | (-1),32,64,272,1024,4000,16384 |
| BUF_SIZE | 2 | src | (-1),32,64,272,1024,4000,16384 |
| DATA_SOURCE | 1 | dst | $0 |
| DATA_SOURCE | 2 | src | $1 |
| DATA_SOURCE | 3 | len | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | _T->lock |
lib/crypto/tests/aes_gcm_kunit.c aead_crypt_incrementally() -> aes_gcm_decrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| PARAM_VALUE | 0 | *ctx->ctr32 | 0-4294967295 |
| PARAM_VALUE | 0 | *ctx->keystream | 0-255 |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 104 |
| CAPPED_DATA | 3 | len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 3 | len | r rand_length |
| MEM_ZERO | 0 | ctx->keystream | |
| NOCHECK_CALL |
lib/crypto/tests/aes_gcm_kunit.c aead_crypt_incrementally() -> aes_gcm_decrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| PARAM_VALUE | 0 | *ctx->ctr32 | 0-4294967295 |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 104 |
| DATA_SOURCE | 0 | ctx | $0 |
| MEM_ZERO | 0 | ctx->keystream | |
| NOCHECK_CALL |