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_encrypt_update_helper() -> aes_gcm_encrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 426982258692722688 |
| PARAM_VALUE | 0 | ctx->data_len | 0 |
| 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_encrypt() -> aes_gcm_encrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2975561735461928960 |
| PARAM_VALUE | 0 | ctx->data_len | 0 |
| BUF_SIZE | 1 | dst | (-1),32,64,272,1024,4000,16384 |
| BUF_SIZE | 1 | dst | (-1),32,64,272,1024,4000,16384 |
| BUF_SIZE | 2 | src | (-1),16,32,64,96,128,256,1024 |
| BUF_SIZE | 2 | src | (-1),16,32,64,96,128,256,1024 |
| DATA_SOURCE | 1 | dst | $0 |
| DATA_SOURCE | 2 | src | $1 |
| DATA_SOURCE | 3 | len | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *src | 0-255 |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 3 | len | unit_byte |
| USER_PTR | 2 | src | |
| HALF_LOCKED2 | _T->lock |
lib/crypto/tests/aes_gcm_kunit.c aead_crypt_incrementally() -> aes_gcm_encrypt_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_encrypt_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 |