Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/keys/dh.c keyctl_dh_compute_kdf() -> crypto_kdf108_ctr_generate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kmd | 1-ptr_max |
| PARAM_VALUE | 1 | info | 2553928995943297024 |
| PARAM_VALUE | 1 | info->iov_base | 16,4096-ptr_max |
| PARAM_VALUE | 1 | info->iov_len | 0-u32max |
| PARAM_VALUE | 2 | info_nvec | 1 |
| PARAM_VALUE | 3 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 4 | dlen | 0-4000000 |
| BUF_SIZE | 3 | dst | 0-u64max |
| DATA_SOURCE | 0 | kmd | $0 |
| DATA_SOURCE | 3 | dst | r _kmalloc_noprof |
crypto/kdf_sp800108.c kdf_test() -> kdf_test param 3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kmd | 1-ptr_max |
| PARAM_VALUE | 0 | kmd->base.__crt_ctx->key | 0-4294967295 |
| PARAM_VALUE | 0 | kmd->base.__crt_ctx->keylen | 0-64 |
| PARAM_VALUE | 0 | *kmd->base.__crt_ctx | 0-4294967295 |
| PARAM_VALUE | 0 | *kmd->base.__crt_ctx->key | 0-255 |
| PARAM_VALUE | 1 | info | 2620695743545573408 |
| PARAM_VALUE | 2 | info_nvec | 1 |
| PARAM_VALUE | 3 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 4 | dlen | 0-4000000 |
| BUF_SIZE | 0 | kmd | s32min-s32max |
| BUF_SIZE | 3 | dst | 16 |
| BUF_SIZE | 3 | dst | 16 |
| DATA_SOURCE | 0 | kmd | r crypto_alloc_shash |
| DATA_SOURCE | 3 | dst | r _kzalloc_noprof |
| BYTE_COUNT | 3 | ==dst4 | 8050 |