| /drivers/crypto/inside-secure/eip93/ |
| A D | eip93-cipher.c | 54 struct eip93_alg_template, alg.skcipher.base); in eip93_skcipher_cra_init() 87 alg.skcipher.base); in eip93_skcipher_setkey() 153 crypto_skcipher_blocksize(skcipher))) in eip93_skcipher_crypt() 206 .alg.skcipher = { 233 .alg.skcipher = { 260 .alg.skcipher = { 287 .alg.skcipher = { 314 .alg.skcipher = { 340 .alg.skcipher = { 366 .alg.skcipher = { [all …]
|
| A D | eip93-main.c | 87 crypto_unregister_skcipher(&eip93_algs[j]->alg.skcipher); in eip93_unregister_algs() 119 eip93_algs[i]->alg.skcipher.max_keysize = in eip93_register_algs() 123 eip93_algs[i]->alg.skcipher.max_keysize = in eip93_register_algs() 127 eip93_algs[i]->alg.skcipher.max_keysize = in eip93_register_algs() 131 eip93_algs[i]->alg.skcipher.max_keysize += in eip93_register_algs() 154 ret = crypto_register_skcipher(&eip93_algs[i]->alg.skcipher); in eip93_register_algs()
|
| /drivers/crypto/aspeed/ |
| A D | aspeed-hace-crypto.c | 673 .alg.skcipher.base = { 694 .alg.skcipher.op = { 699 .alg.skcipher.base = { 721 .alg.skcipher.op = { 747 .alg.skcipher.op = { 774 .alg.skcipher.op = { 800 .alg.skcipher.op = { 827 .alg.skcipher.op = { 856 .alg.skcipher.op = { 882 .alg.skcipher.op = { [all …]
|
| /drivers/crypto/amlogic/ |
| A D | amlogic-gxl-core.c | 52 .alg.skcipher.base = { 74 .alg.skcipher.op = { 81 .alg.skcipher.base = { 102 .alg.skcipher.op = { 125 mc_algs[i].alg.skcipher.base.base.cra_driver_name, in meson_debugfs_show() 126 mc_algs[i].alg.skcipher.base.base.cra_name, in meson_debugfs_show() 201 err = crypto_engine_register_skcipher(&mc_algs[i].alg.skcipher); in meson_register_algs() 204 mc_algs[i].alg.skcipher.base.base.cra_name); in meson_register_algs() 224 crypto_engine_unregister_skcipher(&mc_algs[i].alg.skcipher); in meson_unregister_algs()
|
| 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()
|
| /drivers/crypto/rockchip/ |
| A D | rk3288_crypto_skcipher.c | 464 .alg.skcipher.base = { 482 .alg.skcipher.op = { 489 .alg.skcipher.base = { 508 .alg.skcipher.op = { 515 .alg.skcipher.base = { 533 .alg.skcipher.op = { 540 .alg.skcipher.base = { 559 .alg.skcipher.op = { 566 .alg.skcipher.base = { 584 .alg.skcipher.op = { [all …]
|
| A D | rk3288_crypto.c | 213 rk_cipher_algs[i]->alg.skcipher.base.base.cra_driver_name, in rk_crypto_debugfs_show() 214 rk_cipher_algs[i]->alg.skcipher.base.base.cra_name, in rk_crypto_debugfs_show() 262 rk_cipher_algs[i]->alg.skcipher.base.base.cra_name, in rk_crypto_register() 263 rk_cipher_algs[i]->alg.skcipher.base.base.cra_driver_name); in rk_crypto_register() 264 err = crypto_engine_register_skcipher(&rk_cipher_algs[i]->alg.skcipher); in rk_crypto_register() 283 crypto_engine_unregister_skcipher(&rk_cipher_algs[k]->alg.skcipher); in rk_crypto_register() 296 crypto_engine_unregister_skcipher(&rk_cipher_algs[i]->alg.skcipher); in rk_crypto_unregister()
|
| /drivers/crypto/caam/ |
| A D | caamalg_qi.c | 56 struct skcipher_alg skcipher; member 628 skcipher); in skcipher_setkey() 745 err = xts_verify_key(skcipher, key, keylen); in xts_skcipher_setkey() 1483 .skcipher = { 1499 .skcipher = { 1515 .skcipher = { 1531 .skcipher = { 1549 .skcipher = { 1572 .skcipher = { 2594 struct skcipher_alg *alg = &t_alg->skcipher; in caam_skcipher_alg_init() [all …]
|
| A D | caamalg.c | 1889 .skcipher.base = { 1902 .skcipher.op = { 1908 .skcipher.base = { 1921 .skcipher.op = { 1940 .skcipher.op = { 1960 .skcipher.op = { 1983 .skcipher.op = { 2007 .skcipher.op = { 2025 .skcipher.op = { 2043 .skcipher.op = { [all …]
|
| A D | caamalg_qi2.c | 61 struct skcipher_alg skcipher; member 949 container_of(crypto_skcipher_alg(skcipher), in skcipher_setkey() 950 struct caam_skcipher_alg, skcipher); in skcipher_setkey() 1073 err = xts_verify_key(skcipher, key, keylen); in xts_skcipher_setkey() 1677 .skcipher = { 1693 .skcipher = { 1709 .skcipher = { 1725 .skcipher = { 1743 .skcipher = { 1766 .skcipher = { [all …]
|
| /drivers/crypto/ |
| 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()
|
| A D | talitos.c | 2257 struct skcipher_alg skcipher; member 2724 .alg.skcipher = { 2738 .alg.skcipher = { 2754 .alg.skcipher = { 2770 .alg.skcipher = { 2786 .alg.skcipher = { 2800 .alg.skcipher = { 2816 .alg.skcipher = { 2831 .alg.skcipher = { 3089 algt.alg.skcipher); in talitos_cra_init_skcipher() [all …]
|
| A D | geode-aes.h | 52 struct crypto_skcipher *skcipher; member
|
| A D | sa2ul.c | 158 struct skcipher_alg skcipher; member 845 crypto_free_skcipher(ctx->fallback.skcipher); in sa_cipher_cra_exit() 875 ctx->fallback.skcipher = child; in sa_cipher_cra_init() 889 struct crypto_skcipher *child = ctx->fallback.skcipher; in sa_cipher_setkey() 1316 skcipher_request_set_tfm(subreq, ctx->fallback.skcipher); in sa_cipher_run() 1943 .alg.skcipher = { 1966 .alg.skcipher = { 1988 .alg.skcipher = { 2011 .alg.skcipher = { 2191 alg_name = sa_algs[i].alg.skcipher.base.cra_name; in sa_register_algos() [all …]
|
| /drivers/crypto/allwinner/sun8i-ss/ |
| A D | sun8i-ss-core.c | 172 .alg.skcipher.base = { 194 .alg.skcipher.op = { 202 .alg.skcipher.base = { 223 .alg.skcipher.op = { 231 .alg.skcipher.base = { 253 .alg.skcipher.op = { 261 .alg.skcipher.base = { 282 .alg.skcipher.op = { 701 ss_algs[i].alg.skcipher.base.base.cra_name); in sun8i_ss_register_algs() 705 ss_algs[i].alg.skcipher.base.base.cra_name); in sun8i_ss_register_algs() [all …]
|
| A D | sun8i-ss-cipher.c | 27 …struct sun8i_ss_alg_template *algt = container_of(alg, struct sun8i_ss_alg_template, alg.skcipher.… in sun8i_ss_need_fallback() 101 alg.skcipher.base); in sun8i_ss_cipher_fallback() 201 algt = container_of(alg, struct sun8i_ss_alg_template, alg.skcipher.base); in sun8i_ss_cipher() 398 algt = container_of(alg, struct sun8i_ss_alg_template, alg.skcipher.base); in sun8i_ss_cipher_init()
|
| /drivers/crypto/allwinner/sun8i-ce/ |
| A D | sun8i-ce-core.c | 307 .alg.skcipher.base = { 329 .alg.skcipher.op = { 337 .alg.skcipher.base = { 358 .alg.skcipher.op = { 366 .alg.skcipher.base = { 388 .alg.skcipher.op = { 396 .alg.skcipher.base = { 417 .alg.skcipher.op = { 897 ce_algs[i].alg.skcipher.base.base.cra_name); in sun8i_ce_register_algs() 905 ce_algs[i].alg.skcipher.base.base.cra_name); in sun8i_ce_register_algs() [all …]
|
| A D | sun8i-ce-cipher.c | 32 algt = container_of(alg, struct sun8i_ce_alg_template, alg.skcipher.base); in sun8i_ce_cipher_need_fallback() 117 alg.skcipher.base); in sun8i_ce_cipher_fallback() 155 algt = container_of(alg, struct sun8i_ce_alg_template, alg.skcipher.base); in sun8i_ce_cipher_prepare() 441 algt = container_of(alg, struct sun8i_ce_alg_template, alg.skcipher.base); in sun8i_ce_cipher_init()
|
| /drivers/crypto/gemini/ |
| A D | sl3516-ce-core.c | 222 .alg.skcipher.base = { 242 .alg.skcipher.op = { 271 ce_algs[i].alg.skcipher.base.base.cra_driver_name, in sl3516_ce_debugfs_show() 272 ce_algs[i].alg.skcipher.base.base.cra_name, in sl3516_ce_debugfs_show() 292 ce_algs[i].alg.skcipher.base.base.cra_name); in sl3516_ce_register_algs() 293 err = crypto_engine_register_skcipher(&ce_algs[i].alg.skcipher); in sl3516_ce_register_algs() 296 ce_algs[i].alg.skcipher.base.base.cra_name); in sl3516_ce_register_algs() 319 ce_algs[i].alg.skcipher.base.base.cra_name); in sl3516_ce_unregister_algs() 320 crypto_engine_unregister_skcipher(&ce_algs[i].alg.skcipher); in sl3516_ce_unregister_algs()
|
| A D | sl3516-ce-cipher.c | 112 algt = container_of(alg, struct sl3516_ce_alg_template, alg.skcipher.base); in sl3516_ce_cipher_fallback() 143 algt = container_of(alg, struct sl3516_ce_alg_template, alg.skcipher.base); in sl3516_ce_cipher() 325 algt = container_of(alg, struct sl3516_ce_alg_template, alg.skcipher.base); in sl3516_ce_cipher_init()
|
| /drivers/crypto/marvell/cesa/ |
| A D | cipher.c | 224 memcpy(skreq->iv, basereq->chain.last->op->ctx.skcipher.iv, in mv_cesa_skcipher_complete() 490 memcpy(tmpl->ctx.skcipher.key, ctx->key, DES_KEY_SIZE); in mv_cesa_des_op() 544 memcpy(tmpl->ctx.skcipher.iv, req->iv, DES_BLOCK_SIZE); in mv_cesa_cbc_des_op() 597 memcpy(tmpl->ctx.skcipher.key, ctx->key, DES3_EDE_KEY_SIZE); in mv_cesa_des3_op() 650 memcpy(tmpl->ctx.skcipher.iv, req->iv, DES3_EDE_BLOCK_SIZE); in mv_cesa_cbc_des3_op() 717 tmpl->ctx.skcipher.key[i] = cpu_to_le32(key[i]); in mv_cesa_aes_op() 779 memcpy(tmpl->ctx.skcipher.iv, req->iv, AES_BLOCK_SIZE); in mv_cesa_cbc_aes_op()
|
| /drivers/crypto/inside-secure/ |
| A D | safexcel_cipher.c | 1294 .alg.skcipher = { 1331 .alg.skcipher = { 1405 .alg.skcipher = { 1467 .alg.skcipher = { 1506 .alg.skcipher = { 1566 .alg.skcipher = { 1605 .alg.skcipher = { 2479 .alg.skcipher = { 2770 .alg.skcipher = { 3052 .alg.skcipher = { [all …]
|
| /drivers/crypto/qce/ |
| A D | skcipher.c | 68 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in qce_skcipher_async_req_handle() local 78 rctx->ivsize = crypto_skcipher_ivsize(skcipher); in qce_skcipher_async_req_handle() 447 alg = &tmpl->alg.skcipher; in qce_skcipher_register_one() 502 crypto_unregister_skcipher(&tmpl->alg.skcipher); in qce_skcipher_unregister()
|
| A D | Makefile | 8 qcrypto-$(CONFIG_CRYPTO_DEV_QCE_SKCIPHER) += skcipher.o
|
| A D | cipher.h | 51 return container_of(alg, struct qce_alg_template, alg.skcipher); in to_cipher_tmpl()
|