Documented in 1 files:
Defined in 4 files as a member:
- crypto/gcm.c, line 25 (as a member)
- drivers/crypto/atmel-aes.c, line 121 (as a member)
- include/crypto/aes-gcm.h, line 20 (as a member)
- include/crypto/aes-gcm.h, line 35 (as a member)
Defined in 1 files as a function:
Referenced in 6 files:
- arch/arm64/crypto/sm4-ce-gcm-glue.c
- arch/powerpc/crypto/aes-gcm-p10.S
- crypto/gcm.c
- drivers/crypto/atmel-aes.c
- lib/crypto/aes.c
- lib/crypto/tests/ghash_kunit.c
Smatch caller information:
lib/crypto/tests/ghash_kunit.c check_key_consistency() -> ghash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 221286955302932480,8205568618814697472 |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-1024 |
| PARAM_VALUE | 3 | out | 297025968454000640 |
| BUF_SIZE | 1 | data | 1024 |
| BUF_SIZE | 1 | data | 1024 |
| BUF_SIZE | 3 | out | 16 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | key | $1 |
| DATA_SOURCE | 1 | data | r alloc_buf |
| DATA_SOURCE | 2 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/ghash_kunit.c check_key_consistency() -> ghash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-1024 |
| PARAM_VALUE | 3 | out | 309467012036358144 |
| BUF_SIZE | 1 | data | 1024 |
| BUF_SIZE | 1 | data | 1024 |
| BUF_SIZE | 3 | out | 16 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | key | $2 |
| DATA_SOURCE | 1 | data | r alloc_buf |
| DATA_SOURCE | 2 | len | r rand_length |
| NOCHECK_CALL |
lib/crypto/tests/ghash_kunit.c ghash_withtestkey() -> ghash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 5923241723233251328 |
| PARAM_VALUE | 2 | len | 0-16384 |
| BUF_SIZE | 1 | data | (-1),4096,16384 |
| BUF_SIZE | 1 | data | (-1),4096,16384 |
| BUF_SIZE | 3 | out | (-1),16 |
| BUF_SIZE | 3 | out | (-1),16 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | data | $0 |
| DATA_SOURCE | 2 | len | $1 |
| DATA_SOURCE | 3 | out | $2 |
| FUZZY_MAX | 2 | len | 4096 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | len |
lib/crypto/tests/ghash_kunit.c test_ghash_allones_key_and_message() -> ghash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 1079165455486541824 |
| PARAM_VALUE | 1 | data | 16,4096-ptr_max |
| PARAM_VALUE | 2 | len | 0,16-4096 |
| PARAM_VALUE | 3 | out | 6333408112581660672 |
| BUF_SIZE | 1 | data | 4096 |
| BUF_SIZE | 1 | data | 4096 |
| BUF_SIZE | 3 | out | 16 |
| DATA_SOURCE | 1 | data | r alloc_buf |
| FUZZY_MAX | 2 | len | 4096 |
| HARD_MAX | 2 | len | 4096 |
| NOCHECK_CALL |