Defined in 1 files as a prototype:
Defined in 7 files as a function:
- drivers/crypto/bcm/cipher.c, line 3009 (as a function)
- drivers/crypto/caam/caamalg.c, line 1615 (as a function)
- drivers/crypto/caam/caamalg_qi.c, line 1193 (as a function)
- drivers/crypto/caam/caamalg_qi2.c, line 1356 (as a function)
- drivers/crypto/intel/ixp4xx/ixp4xx_crypto.c, line 1313 (as a function)
- drivers/crypto/talitos.c, line 1521 (as a function)
- net/mac80211/aead_api.c, line 50 (as a function)
Referenced in 8 files:
- drivers/crypto/bcm/cipher.c, line 4464
-
drivers/crypto/caam/caamalg.c
- line 2255
- line 2279
- line 2303
- line 2327
- line 2351
- line 2375
- line 2398
- line 2423
- line 2448
- line 2473
- line 2498
- line 2523
- line 2548
- line 2573
- line 2598
- line 2623
- line 2648
- line 2673
- line 2698
- line 2723
- line 2749
- line 2775
- line 2801
- line 2827
- line 2853
- line 2879
- line 2905
- line 2931
- line 2957
- line 2983
- line 3008
- line 3033
- line 3058
- line 3083
- line 3108
- line 3133
- line 3158
- line 3183
- line 3208
- line 3233
- line 3258
- line 3283
- line 3309
- line 3336
- line 3364
- line 3391
- line 3419
- line 3446
- line 3474
- line 3501
- line 3529
- line 3556
- line 3584
- line 3611
-
drivers/crypto/caam/caamalg_qi.c
- line 1640
- line 1661
- line 1683
- line 1705
- line 1727
- line 1749
- line 1771
- line 1793
- line 1816
- line 1838
- line 1861
- line 1883
- line 1906
- line 1928
- line 1950
- line 1973
- line 1996
- line 2019
- line 2042
- line 2065
- line 2088
- line 2111
- line 2134
- line 2157
- line 2180
- line 2202
- line 2224
- line 2246
- line 2268
- line 2290
- line 2313
- line 2335
- line 2358
- line 2380
- line 2403
- line 2425
- line 2448
-
drivers/crypto/caam/caamalg_qi2.c
- line 1391
- line 1851
- line 1872
- line 1894
- line 1916
- line 1938
- line 1960
- line 1982
- line 2004
- line 2027
- line 2049
- line 2072
- line 2094
- line 2117
- line 2139
- line 2161
- line 2184
- line 2207
- line 2230
- line 2253
- line 2276
- line 2299
- line 2322
- line 2345
- line 2368
- line 2391
- line 2413
- line 2435
- line 2457
- line 2479
- line 2501
- line 2524
- line 2546
- line 2569
- line 2591
- line 2614
- line 2636
- line 2659
- line 2682
- line 2706
- line 2731
- line 2755
- line 2780
- line 2804
- line 2829
- line 2853
- line 2878
- line 2902
- line 2926
- line 2949
- line 2973
- line 2997
- drivers/crypto/intel/ixp4xx/ixp4xx_crypto.c, line 1554
- drivers/crypto/talitos.c, line 3290
- net/mac80211/aes_ccm.h, line 35
- net/mac80211/aes_gcm.h, line 26
Smatch caller information:
net/mac80211/wpa.c ieee80211_aes_ccm_decrypt() -> aead_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | b_0 | 4096-ptr_max |
| PARAM_VALUE | 3 | aad_len | 0-u16max |
| PARAM_VALUE | 4 | data | 4096-ptr_max |
| PARAM_VALUE | 5 | data_len | 0-s32max |
| BUF_SIZE | 1 | b_0 | 16 |
| BUF_SIZE | 1 | b_0 | 16 |
| BUF_SIZE | 2 | aad | 30 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | b_0 | $1 |
| DATA_SOURCE | 4 | data | $3 |
| DATA_SOURCE | 5 | data_len | $4 |
| DATA_SOURCE | 6 | mic | $5 |
| RX_PATH | |||
| USER_DATA | 4 | *data | 0-255 |
| UNITS | 4 | data | unit_byte |
| UNITS | 5 | data_len | unit_byte |
| UNITS | 6 | mic | unit_byte |
| USER_PTR | 4 | data |
net/mac80211/wpa.c ieee80211_aes_gcm_decrypt() -> aead_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | b_0 | 4096-ptr_max |
| PARAM_VALUE | 3 | aad_len | 0-u16max |
| PARAM_VALUE | 4 | data | 4096-ptr_max |
| PARAM_VALUE | 5 | data_len | 0-s32max |
| BUF_SIZE | 1 | b_0 | 16 |
| BUF_SIZE | 1 | b_0 | 16 |
| BUF_SIZE | 2 | aad | 30 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | b_0 | $1 |
| DATA_SOURCE | 4 | data | $3 |
| DATA_SOURCE | 5 | data_len | $4 |
| DATA_SOURCE | 6 | mic | $5 |
| RX_PATH | |||
| USER_DATA | 4 | *data | 0-255 |
| UNITS | 4 | data | unit_byte |
| UNITS | 5 | data_len | unit_byte |
| UNITS | 6 | mic | unit_byte |
| USER_PTR | 4 | data |
drivers/crypto/caam/caamalg_qi2.c ipsec_gcm_decrypt() -> aead_decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->assoclen | 16,20 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->cryptlen | 0-u32max |
| USER_DATA | 0 | req->dst->length | 1-u32max[c] |
| USER_DATA | 0 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 0 | req->src->length | 1-u32max[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| USER_PTR | 0 | req->iv | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh |
crypto/aead.c crypto_aead_decrypt() -> (struct aead_alg)->decrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| DATA_SOURCE | 0 | req | $0 |
| NOSPEC | 0 | req->cryptlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dst->length | 0-2147483646[c] |
| HOST_DATA | 0 | req->src->length | 0-2147483646[c] |
| USER_DATA | 0 | req->cryptlen | 0-u32max |
| USER_DATA | 0 | req->dst->length | 1-2147483646[c] |
| USER_DATA | 0 | req->dst->offset | 0-2147551739[c] |
| USER_DATA | 0 | req->src->length | 1-2147483646[c] |
| USER_DATA | 0 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 0 | *req->iv | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | req->dst->length | |
| NO_OVERFLOW_SIMPLE | 0 | req->src->length | |
| USER_PTR | 0 | req->iv | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | rcu_read |
crypto/cryptd.c cryptd_aead_crypt() -> cryptd_aead_crypt param 3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.flags | 512 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 80 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &backlog->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | bh |