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_auth_update() -> aes_gcm_auth_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 426982258692722688,8686699603465760768 |
| PARAM_VALUE | 0 | ctx->data_len | 0 |
| PARAM_VALUE | 2 | len | 0-4096 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 2 | len | r scatterwalk_next |
| NOCHECK_CALL |
lib/crypto/aes.c aes_gcm_decrypt() -> aes_gcm_auth_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1388934090743455744 |
| PARAM_VALUE | 0 | ctx->ad_len | 0 |
| PARAM_VALUE | 0 | ctx->data_len | 0 |
| BUF_SIZE | 1 | ad | (-1),16,256,293 |
| BUF_SIZE | 1 | ad | (-1),16,256,293 |
| DATA_SOURCE | 1 | ad | $4 |
| DATA_SOURCE | 2 | len | $5 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | _T->lock |
lib/crypto/aes.c aes_gcm_encrypt() -> aes_gcm_auth_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2975561735461928960 |
| PARAM_VALUE | 0 | ctx->ad_len | 0 |
| PARAM_VALUE | 0 | ctx->data_len | 0 |
| PARAM_VALUE | 1 | *ad | 0-255 |
| BUF_SIZE | 1 | ad | (-1),16,256,293 |
| BUF_SIZE | 1 | ad | (-1),16,256,293 |
| DATA_SOURCE | 1 | ad | $4 |
| DATA_SOURCE | 2 | len | $5 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | _T->lock |
lib/crypto/tests/aes_gcm_kunit.c aead_auth_incrementally() -> aes_gcm_auth_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| PARAM_VALUE | 0 | ctx->data_len | 0 |
| PARAM_VALUE | 0 | *ctx->ctr32 | 0-4294967295 |
| PARAM_VALUE | 0 | *ctx->keystream | 0-255 |
| PARAM_VALUE | 1 | ad | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 104 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 2 | len | r rand_length |
| MEM_ZERO | 0 | ctx->keystream | |
| NOCHECK_CALL |
lib/crypto/tests/aes_gcm_kunit.c aead_auth_incrementally() -> aes_gcm_auth_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| PARAM_VALUE | 0 | ctx->data_len | 0 |
| PARAM_VALUE | 0 | *ctx->ctr32 | 0-4294967295 |
| PARAM_VALUE | 0 | *ctx->keystream | 0-255 |
| PARAM_VALUE | 1 | ad | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 104 |
| DATA_SOURCE | 0 | ctx | $0 |
| MEM_ZERO | 0 | ctx->keystream | |
| NOCHECK_CALL |