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:
lib/crypto/aes.c aes_gcm_fips_test() -> aes_gcm_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 694633277618323456 |
| PARAM_VALUE | 1 | src | 694633277618323456 |
| PARAM_VALUE | 2 | data_len | 16 |
| PARAM_VALUE | 3 | authtag | 694633277618323472 |
| PARAM_VALUE | 4 | ad | 7381403979526352896 |
| PARAM_VALUE | 5 | ad_len | 16 |
| PARAM_VALUE | 7 | key | 695352246062424064 |
| PARAM_VALUE | 7 | key->aes.len | 16 |
| PARAM_VALUE | 7 | key->aes.nrounds | 10,12,14 |
| PARAM_VALUE | 7 | key->authtag_len | 16 |
| BUF_SIZE | 0 | dst | 32 |
| BUF_SIZE | 1 | src | 32 |
| BUF_SIZE | 3 | authtag | 16 |
| BUF_SIZE | 4 | ad | 16 |
| BUF_SIZE | 6 | nonce | 16 |
| UNITS | 2 | data_len | unit_byte |
| UNITS | 5 | ad_len | unit_byte |
arch/x86/coco/sev/core.c verify_and_dec_payload() -> aes_gcm_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | ad | 4096-ptr_max |
| PARAM_VALUE | 5 | ad_len | 48 |
| PARAM_VALUE | 6 | nonce | 1053133448152236032 |
| BUF_SIZE | 0 | dst | 80,144,4000 |
| BUF_SIZE | 1 | src | 4000 |
| BUF_SIZE | 3 | authtag | 32 |
| BUF_SIZE | 6 | nonce | 12 |
| CAPPED_DATA | 6 | *nonce | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | data_len | unit_byte |
| LOCK2 | _T->lock |
lib/crypto/tests/aes_gcm_kunit.c aes_gcm_decrypt_test() -> aes_gcm_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 7 | key | 16,4096-ptr_max |
| BUF_SIZE | 0 | dst | (-1),64,272,1024,1028,1032,1036-1040 |
| BUF_SIZE | 0 | dst | (-1),64,272,1024,1028,1032,1036-1040 |
| BUF_SIZE | 1 | src | (-1),64,272,1024,16384 |
| BUF_SIZE | 1 | src | (-1),64,272,1024,16384 |
| BUF_SIZE | 3 | authtag | (-1),4,8,12-16 |
| BUF_SIZE | 3 | authtag | (-1),4,8,12-16 |
| BUF_SIZE | 4 | ad | (-1),16,256,293 |
| BUF_SIZE | 4 | ad | (-1),16,256,293 |
| BUF_SIZE | 6 | nonce | (-1),12 |
| BUF_SIZE | 6 | nonce | (-1),12 |
| BUF_SIZE | 7 | key | (-1),280 |
| BUF_SIZE | 7 | key | (-1),280 |
| DATA_SOURCE | 0 | dst | $0 |
| DATA_SOURCE | 1 | src | $1 |
| DATA_SOURCE | 2 | data_len | $2 |
| DATA_SOURCE | 3 | authtag | $3 |
| DATA_SOURCE | 4 | ad | $4 |
| DATA_SOURCE | 5 | ad_len | $5 |
| DATA_SOURCE | 6 | nonce | $6 |
| DATA_SOURCE | 7 | key | $8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | data_len | |
| NO_OVERFLOW_SIMPLE | 5 | ad_len | |
| NO_OVERFLOW_SIMPLE | 7 | key->aes.len | |
| NO_OVERFLOW_SIMPLE | 7 | key->authtag_len | |
| UNITS | 2 | data_len | unit_byte |
| UNITS | 5 | ad_len | unit_byte |
lib/crypto/tests/aes_gcm_kunit.c test_aes_gcm_one_test_vector() -> aes_gcm_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 1 | src | 16,4096-ptr_max |
| PARAM_VALUE | 2 | data_len | 0,16,60,64 |
| PARAM_VALUE | 3 | authtag | 16,4096-ptr_max |
| PARAM_VALUE | 7 | key | 8348104730143952896 |
| PARAM_VALUE | 7 | key->aes.len | 16,24,32 |
| PARAM_VALUE | 7 | key->aes.nrounds | 10,12,14 |
| PARAM_VALUE | 7 | key->authtag_len | 16 |
| BUF_SIZE | 0 | dst | s32min-s32max |
| BUF_SIZE | 1 | src | s32min-s32max |
| BUF_SIZE | 3 | authtag | s32min-s32max |
| CAPPED_DATA | 5 | ad_len | 1 |
| CAPPED_DATA | 5 | ad_len | 1 |
| DATA_SOURCE | 0 | dst | r alloc_buf |
| DATA_SOURCE | 1 | src | r alloc_buf |
| DATA_SOURCE | 3 | authtag | r alloc_buf |