| /linux/tools/testing/crypto/chacha20-s390/ |
| H A D | test-cipher.c | 10 #include <crypto/skcipher.h> 41 /* tie all skcipher structures together */ 99 /* Perform cipher operations with skcipher */ 109 pr_info("skcipher encrypt returned with result" in test_skcipher_encdec() 117 pr_info("skcipher decrypt returned with result" in test_skcipher_encdec() 128 struct crypto_skcipher *skcipher = NULL; in test_skcipher() 134 skcipher = crypto_alloc_skcipher(name, 0, 0); in test_skcipher() 135 if (IS_ERR(skcipher)) { in test_skcipher() 136 pr_info("could not allocate skcipher %s handle\n", name); in test_skcipher() 137 return PTR_ERR(skcipher); in test_skcipher() 129 struct crypto_skcipher *skcipher = NULL; test_skcipher() local [all...] |
| /linux/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_skcipher.c | 27 struct rk_crypto_tmp *algt = container_of(alg, struct rk_crypto_tmp, alg.skcipher.base); in rk_cipher_need_fallback() 74 struct rk_crypto_tmp *algt = container_of(alg, struct rk_crypto_tmp, alg.skcipher.base); in rk_cipher_fallback() 314 struct rk_crypto_tmp *algt = container_of(alg, struct rk_crypto_tmp, alg.skcipher.base); in rk_cipher_run() 438 struct rk_crypto_tmp *algt = container_of(alg, struct rk_crypto_tmp, alg.skcipher.base); in rk_cipher_tfm_init() 463 .alg.skcipher.base = { 481 .alg.skcipher.op = { 488 .alg.skcipher.base = { 507 .alg.skcipher.op = { 514 .alg.skcipher.base = { 532 .alg.skcipher.op = { [all …]
|
| H A D | rk3288_crypto.h | 262 struct skcipher_engine_alg skcipher; member
|
| /linux/crypto/ |
| H A D | essiv.c | 52 struct crypto_skcipher *skcipher; member 73 crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey() 74 crypto_skcipher_set_flags(tctx->u.skcipher, in essiv_skcipher_setkey() 77 err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen); in essiv_skcipher_setkey() 149 skcipher_request_set_tfm(subreq, tctx->u.skcipher); in essiv_skcipher_crypt() 300 struct crypto_skcipher *skcipher; in essiv_skcipher_init_tfm() local 303 skcipher = crypto_spawn_skcipher(&ictx->u.skcipher_spawn); in essiv_skcipher_init_tfm() 304 if (IS_ERR(skcipher)) in essiv_skcipher_init_tfm() 305 return PTR_ERR(skcipher); in essiv_skcipher_init_tfm() 308 crypto_skcipher_reqsize(skcipher)); in essiv_skcipher_init_tfm() [all …]
|
| H A D | Kconfig | 834 instantiated either as an skcipher or as an AEAD (depending on the
|
| /linux/drivers/crypto/ |
| H A D | geode-aes.c | 155 crypto_skcipher_clear_flags(tctx->fallback.skcipher, in geode_setkey_skcipher() 157 crypto_skcipher_set_flags(tctx->fallback.skcipher, in geode_setkey_skcipher() 160 return crypto_skcipher_setkey(tctx->fallback.skcipher, key, len); in geode_setkey_skcipher() 243 tctx->fallback.skcipher = in geode_init_skcipher() 246 if (IS_ERR(tctx->fallback.skcipher)) { in geode_init_skcipher() 248 return PTR_ERR(tctx->fallback.skcipher); in geode_init_skcipher() 252 crypto_skcipher_reqsize(tctx->fallback.skcipher)); in geode_init_skcipher() 260 crypto_free_skcipher(tctx->fallback.skcipher); in geode_exit_skcipher() 275 skcipher_request_set_tfm(subreq, tctx->fallback.skcipher); in geode_skcipher_crypt()
|
| H A D | geode-aes.h | 52 struct crypto_skcipher *skcipher; member
|
| H A D | talitos.c | 2335 struct skcipher_alg skcipher; member 2802 .alg.skcipher = { 2816 .alg.skcipher = { 2832 .alg.skcipher = { 2848 .alg.skcipher = { 2864 .alg.skcipher = { 2878 .alg.skcipher = { 2894 .alg.skcipher = { 2909 .alg.skcipher = { 3167 algt.alg.skcipher); in talitos_cra_init_skcipher() [all …]
|
| H A D | atmel-tdes.c | 516 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in atmel_tdes_set_iv_as_last_ciphertext_block() local 517 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_tdes_set_iv_as_last_ciphertext_block() 626 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in atmel_tdes_crypt() local 627 struct atmel_tdes_ctx *ctx = crypto_skcipher_ctx(skcipher); in atmel_tdes_crypt() 644 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_tdes_crypt()
|
| H A D | sa2ul.h | 318 struct crypto_skcipher *skcipher; member
|
| H A D | hifn_795x.c | 2154 struct skcipher_alg skcipher; member 2163 .skcipher = { 2174 .skcipher = { 2188 .skcipher = { 2199 .skcipher = { 2213 .skcipher = { 2223 .skcipher = { 2255 alg->alg = t->skcipher; in hifn_alg_alloc()
|
| H A D | atmel-aes.c | 477 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in atmel_aes_set_iv_as_last_ciphertext_block() local 478 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_aes_set_iv_as_last_ciphertext_block() 500 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in atmel_aes_ctr_update_req_iv() local 501 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_aes_ctr_update_req_iv() 1058 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in atmel_aes_crypt() local 1059 struct atmel_aes_base_ctx *ctx = crypto_skcipher_ctx(skcipher); in atmel_aes_crypt() 1080 !IS_ALIGNED(req->cryptlen, crypto_skcipher_blocksize(skcipher))) in atmel_aes_crypt() 1091 unsigned int ivsize = crypto_skcipher_ivsize(skcipher); in atmel_aes_crypt()
|
| /linux/drivers/crypto/qce/ |
| H A D | Makefile | 8 qcrypto-$(CONFIG_CRYPTO_DEV_QCE_SKCIPHER) += skcipher.o
|
| H A D | cipher.h | 51 return container_of(alg, struct qce_alg_template, alg.skcipher); in to_cipher_tmpl()
|
| /linux/drivers/crypto/amlogic/ |
| H A D | amlogic-gxl-cipher.c | 68 algt = container_of(alg, struct meson_alg_template, alg.skcipher.base); in meson_cipher_do_fallback() 104 algt = container_of(alg, struct meson_alg_template, alg.skcipher.base); in meson_cipher() 320 algt = container_of(alg, struct meson_alg_template, alg.skcipher.base); in meson_cipher_init()
|
| H A D | amlogic-gxl.h | 144 struct skcipher_engine_alg skcipher; member
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-aes.c | 351 se_alg = container_of(alg, struct tegra_se_alg, alg.skcipher.base); in tegra_aes_cra_init() 520 .alg.skcipher.op.do_one_request = tegra_aes_do_one_req, 521 .alg.skcipher.base = { 542 .alg.skcipher.op.do_one_request = tegra_aes_do_one_req, 543 .alg.skcipher.base = { 563 .alg.skcipher.op.do_one_request = tegra_aes_do_one_req, 564 .alg.skcipher.base = { 585 .alg.skcipher.op.do_one_request = tegra_aes_do_one_req, 586 .alg.skcipher.base = { 1995 sk_alg = &tegra_aes_algs[i].alg.skcipher; in tegra_init_aes() [all …]
|
| /linux/drivers/crypto/ccree/ |
| H A D | cc_driver.h | 175 struct skcipher_alg skcipher; member
|
| /linux/drivers/crypto/gemini/ |
| H A D | sl3516-ce.h | 322 struct skcipher_engine_alg skcipher; member
|
| /linux/drivers/crypto/bcm/ |
| H A D | cipher.h | 108 struct skcipher_alg skcipher; member
|