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_ccm_encrypt_update_helper() -> aes_ccm_encrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 633072880490749952 |
| 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 |
| NOSPEC | 3 | len | |
| NOSPEC | 3 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | len | 1-63[c] |
| UNITS | 3 | len | unit_byte |
lib/crypto/aes.c aes_ccm_encrypt() -> aes_ccm_encrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 8665162067663159296 |
| PARAM_VALUE | 0 | ctx->ad_padded | 0 |
| PARAM_VALUE | 0 | ctx->key | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->partial_len | 0-15 |
| BUF_SIZE | 1 | dst | (-1),4,16,20,23-25,32,64,272,1024,1028,1030,1032,1034,1036,1038,1040,16384 |
| BUF_SIZE | 1 | dst | (-1),4,16,20,23-25,32,64,272,1024,1028,1030,1032,1034,1036,1038,1040,16384 |
| BUF_SIZE | 2 | src | (-1),16,64,256,1024 |
| BUF_SIZE | 2 | src | (-1),16,64,256,1024 |
| CAPPED_DATA | 3 | len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| 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 | 0 | ctx->ad_remaining | |
| NO_OVERFLOW_SIMPLE | 0 | ctx->data_remaining | |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 3 | len | unit_byte |
lib/crypto/tests/aes_ccm_kunit.c aead_crypt_incrementally() -> aes_ccm_encrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| PARAM_VALUE | 0 | ctx->key | 4096-ptr_max |
| PARAM_VALUE | 0 | *ctx->mac | 0-255 |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 96 |
| CAPPED_DATA | 3 | len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 3 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/aes_ccm_kunit.c aead_crypt_incrementally() -> aes_ccm_encrypt_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| PARAM_VALUE | 0 | ctx->key | 4096-ptr_max |
| PARAM_VALUE | 0 | *ctx->mac | 0-255 |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 96 |
| DATA_SOURCE | 0 | ctx | $0 |
| NOCHECK_CALL |