Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/crypto/inside-secure/eip93/eip93-aead.c, line 151
- drivers/crypto/inside-secure/eip93/eip93-hash.c, line 568
Smatch caller information:
drivers/crypto/inside-secure/eip93/eip93-hash.c eip93_hash_hmac_setkey() -> eip93_hmac_setkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 6 | skip_ipad | 1 |
| BUF_SIZE | 1 | key | (-1)-s32max |
| BUF_SIZE | 1 | key | (-1)-s32max |
| BUF_SIZE | 4 | dest_ipad | 64 |
| BUF_SIZE | 5 | dest_opad | 32 |
| DATA_SOURCE | 1 | key | $1 |
| DATA_SOURCE | 2 | keylen | $2 |
| DATA_SOURCE | 3 | hashlen | r crypto_ahash_digestsize |
| PARAM_COMPARE | 1 | key | == $2 |
| NOSPEC | 2 | keylen | |
| NOSPEC | 2 | keylen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *key | 0-255 |
| USER_DATA | 2 | keylen | 0-s32max[c] |
| BYTE_COUNT | 1 | ==key2 | 8050 |
| USER_PTR | 1 | key | |
| HALF_LOCKED2 | sk |
drivers/crypto/inside-secure/eip93/eip93-aead.c eip93_aead_setkey() -> eip93_hmac_setkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 4096-ptr_max |
| PARAM_VALUE | 2 | keylen | 1-2147483639 |
| PARAM_VALUE | 6 | skip_ipad | 0 |
| BUF_SIZE | 4 | dest_ipad | 32 |
| BUF_SIZE | 5 | dest_opad | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | keylen | 1-2147483639[c] |
| UNITS | 2 | keylen | unit_byte |
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &sdata->sec_mtx | ||
| HALF_LOCKED2 | sk |