Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 39 files:
- arch/powerpc/crypto/aes_cbc.c, line 33
- arch/powerpc/crypto/aes_ctr.c, line 32
- arch/powerpc/crypto/aes_xts.c, line 35
- arch/s390/crypto/aes_s390.c
- crypto/algif_skcipher.c, line 341
- crypto/skcipher.c, line 639
- crypto/tcrypt.c
- crypto/testmgr.c
- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c, line 547
- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c, line 429
- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c, line 401
- drivers/crypto/amlogic/amlogic-gxl-cipher.c, line 323
- drivers/crypto/aspeed/aspeed-hace-crypto.c, line 648
- drivers/crypto/atmel-aes.c, line 1716
- drivers/crypto/caam/caamalg.c, line 3739
- drivers/crypto/caam/caamalg_qi.c, line 2518
- drivers/crypto/caam/caamalg_qi2.c, line 1619
- drivers/crypto/ccp/ccp-crypto-aes-xts.c, line 206
- drivers/crypto/ccree/cc_cipher.c, line 185
- drivers/crypto/chelsio/chcr_algo.c
- drivers/crypto/gemini/sl3516-ce-cipher.c, line 320
- drivers/crypto/geode-aes.c, line 244
- drivers/crypto/intel/ixp4xx/ixp4xx_crypto.c, line 639
- drivers/crypto/intel/qat/qat_common/qat_algs.c, line 1143
- drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c, line 522
- drivers/crypto/mxs-dcp.c, line 572
- drivers/crypto/omap-aes.c, line 631
- drivers/crypto/qce/skcipher.c, line 285
- drivers/crypto/rockchip/rk3288_crypto_skcipher.c, line 440
- drivers/crypto/sa2ul.c, line 868
- drivers/crypto/sahara.c, line 713
- drivers/crypto/starfive/jh7110-aes.c, line 614
- drivers/md/dm-crypt.c, line 2308
- drivers/md/dm-integrity.c, line 4529
- fs/ecryptfs/crypto.c
- net/mac80211/fils_aead.c
- security/keys/encrypted-keys/encrypted.c
- security/keys/trusted-keys/trusted_dcp.c, line 91
- tools/testing/crypto/chacha20-s390/test-cipher.c, line 134
Smatch caller information:
net/mac80211/fils_aead.c aes_siv_decrypt() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 8804802956732792832 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 128 |
| BUF_SIZE | 0 | alg_name | 9 |
| STR_LEN | 0 | alg_name | 8 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH |
net/mac80211/fils_aead.c aes_siv_encrypt() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 8804802956732792832 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 128 |
| BUF_SIZE | 0 | alg_name | 9 |
| STR_LEN | 0 | alg_name | 8 |
| TERMINATED | 0 | alg_name | 1 |
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c sun8i_ss_cipher_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/intel/ixp4xx/ixp4xx_crypto.c init_tfm_ablk() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/ccp/ccp-crypto-aes-xts.c ccp_aes_xts_init_tfm() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 2527425603252830208 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 9 |
| STR_LEN | 0 | alg_name | 8 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/sa2ul.c sa_cipher_cra_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/testmgr.c alg_test_skcipher() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | mask | 0,1024 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| DATA_SOURCE | 0 | alg_name | $1 |
| DATA_SOURCE | 1 | type | $2 |
| DATA_SOURCE | 2 | mask | $3 |
| HARD_MAX | 2 | mask | 1024 |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_skcipher_vs_generic_impl() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1-u64max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| DATA_SOURCE | 0 | alg_name | $0 [m] |
| HALF_LOCKED2 | global &once_lock |
security/keys/encrypted-keys/encrypted.c aes_get_sizes() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 7439540407511859200 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 128 |
| BUF_SIZE | 0 | alg_name | 9 |
security/keys/encrypted-keys/encrypted.c init_skcipher_req() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 7439540407511859200 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 128 |
| BUF_SIZE | 0 | alg_name | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mkey->sem | ||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| TYPE_LOCK | (struct key)->sem |
drivers/crypto/intel/qat/qat_common/qat_algs.c qat_alg_skcipher_init_xts_tfm() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 2527425603252830208 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 9 |
| STR_LEN | 0 | alg_name | 8 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/gemini/sl3516-ce-cipher.c sl3516_ce_cipher_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg.c caam_cra_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/caam/caamalg_qi2.c caam_cra_init_skcipher() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/amlogic/amlogic-gxl-cipher.c meson_cipher_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/algif_skcipher.c skcipher_bind() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0,69760 |
| DATA_SOURCE | 0 | alg_name | $0 |
| FUZZY_MAX | 2 | mask | 69760 |
| BIT_INFO | 2 | mask | 0x0,0x11080 |
| HARD_MAX | 2 | mask | 69760 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-integrity.c create_journal() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1-u64max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 65536 |
crypto/tcrypt.c test_mb_skcipher_speed() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| DATA_SOURCE | 0 | alg_name | $0 |
crypto/tcrypt.c test_skcipher_speed() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0,128 |
| DATA_SOURCE | 0 | alg_name | $0 |
| FUZZY_MAX | 2 | mask | 128 |
| BIT_INFO | 2 | mask | 0x0,0x80 |
| HARD_MAX | 2 | mask | 128 |
drivers/crypto/caam/caamalg_qi.c caam_cra_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ecryptfs/crypto.c ecryptfs_init_crypt_ctx() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1-u64max |
| PARAM_VALUE | 0 | *alg_name | 0-255 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| TYPE_LOCK | (struct ecryptfs_crypt_stat)->cs_tfm_mutex |
fs/ecryptfs/crypto.c ecryptfs_process_key_cipher() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1-u64max |
| PARAM_VALUE | 0 | *alg_name | 0-255 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &key_tfm_list_mutex |
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c cpt_skcipher_fallback_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 384 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-crypt.c crypt_alloc_tfms_skcipher() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 65536 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| DATA_SOURCE | 0 | alg_name | $1 |
| STR_LEN | 0 | alg_name | (-1),127 |
| STR_LEN | 0 | alg_name | (-1),127 |
| HALF_LOCKED2 | &md->type_lock |
drivers/crypto/ccree/cc_cipher.c cc_cipher_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 384 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/aspeed/aspeed-hace-crypto.c aspeed_crypto_cra_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 384 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/starfive/jh7110-aes.c starfive_aes_init_tfm() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1942385012309278720,4345846485120036864,9092827645767405568 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 13 |
| BUF_SIZE | 0 | alg_name | 13 |
| DATA_SOURCE | 0 | alg_name | $1 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/qce/skcipher.c qce_skcipher_init_fallback() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/atmel-aes.c atmel_aes_xts_init_tfm() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/chelsio/chcr_algo.c chcr_init_tfm() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/chelsio/chcr_algo.c chcr_rfc3686_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 8804802956732792832 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 9 |
| STR_LEN | 0 | alg_name | 8 |
| TERMINATED | 0 | alg_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c sun8i_ce_cipher_init() -> crypto_alloc_skcipher()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 256 |
| BUF_SIZE | 0 | alg_name | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |