Home
last modified time | relevance | path

Searched full:ecb (Results 1 – 25 of 118) sorted by relevance

12345

/Linux-v5.15/drivers/scsi/
Daha1740.c77 struct ecb ecb[AHA1740_ECBS]; member
88 static inline struct ecb *ecb_dma_to_cpu (struct Scsi_Host *host, in ecb_dma_to_cpu()
96 return (struct ecb *)(((char *) hdata->ecb) + (unsigned int) offset); in ecb_dma_to_cpu()
104 offset = (char *) cpu - (char *) hdata->ecb; in ecb_cpu_to_dma()
214 struct ecb *ecbptr; in aha1740_intr_handle()
283 memset(ecbptr,0,sizeof(struct ecb)); in aha1740_intr_handle()
351 /* locate an available ecb */ in aha1740_queuecommand_lck()
357 if (!host->ecb[ecbno].cmdw) in aha1740_queuecommand_lck()
364 if (host->ecb[ecbno].cmdw) in aha1740_queuecommand_lck()
365 panic("Unable to find empty ecb for aha1740.\n"); in aha1740_queuecommand_lck()
[all …]
/Linux-v5.15/drivers/crypto/keembay/
DKconfig17 enabled: ecb(aes), cts(cbc(aes)), ecb(sm4) and cts(cbc(sm4)).
20 bool "Support for Intel Keem Bay OCS AES/SM4 ECB HW acceleration"
24 AES/SM4 ECB mode hardware acceleration for use with Crypto API.
26 Provides OCS version of ecb(aes) and ecb(sm4)
28 Intel does not recommend use of ECB mode with AES/SM4.
/Linux-v5.15/crypto/
Dtcrypt.c1704 ret += tcrypt_test("ecb(des)"); in do_test()
1710 ret += tcrypt_test("ecb(des3_ede)"); in do_test()
1724 ret += tcrypt_test("ecb(blowfish)"); in do_test()
1730 ret += tcrypt_test("ecb(twofish)"); in do_test()
1738 ret += tcrypt_test("ecb(serpent)"); in do_test()
1746 ret += tcrypt_test("ecb(aes)"); in do_test()
1769 ret += tcrypt_test("ecb(cast5)"); in do_test()
1775 ret += tcrypt_test("ecb(cast6)"); in do_test()
1783 ret += tcrypt_test("ecb(arc4)"); in do_test()
1795 ret += tcrypt_test("ecb(tea)"); in do_test()
[all …]
Darc4.c46 pr_warn_ratelimited("\"%s\" (%ld) uses obsolete ecb(arc4) skcipher\n", in crypto_arc4_init()
54 * For legacy reasons, this is named "ecb(arc4)", not "arc4".
57 .base.cra_name = "ecb(arc4)",
58 .base.cra_driver_name = "ecb(arc4)-generic",
87 MODULE_ALIAS_CRYPTO("ecb(arc4)");
Decb.c3 * ECB: Electronic CodeBook mode
71 inst->alg.ivsize = 0; /* ECB mode doesn't take an IV */ in crypto_ecb_create()
84 .name = "ecb",
103 MODULE_DESCRIPTION("ECB block cipher mode of operation");
104 MODULE_ALIAS_CRYPTO("ecb");
Dlrw.c7 * Based on ecb.c
135 * We compute the tweak masks twice (both before and after the ECB encryption or
137 * mutliple calls to the 'ecb(..)' instance, which usually would be slower than
232 /* pass req->iv as IV (will be used by xor_tweak, ECB will ignore it) */ in lrw_init_crypt()
327 if (snprintf(ecb_name, CRYPTO_MAX_ALG_NAME, "ecb(%s)", in lrw_create()
359 if (!strncmp(cipher_name, "ecb(", 4)) { in lrw_create()
Dcrypto_null.c110 .base.cra_name = "ecb(cipher_null)",
111 .base.cra_driver_name = "ecb-cipher_null",
161 tfm = crypto_alloc_sync_skcipher("ecb(cipher_null)", 0, 0); in crypto_get_default_null_skcipher()
Dxts.c7 * Based on ecb.c
77 * We compute the tweak masks twice (both before and after the ECB encryption or
79 * mutliple calls to the 'ecb(..)' instance, which usually would be slower than
366 if (snprintf(ctx->name, CRYPTO_MAX_ALG_NAME, "ecb(%s)", in xts_create()
398 if (!strncmp(cipher_name, "ecb(", 4)) { in xts_create()
/Linux-v5.15/drivers/crypto/gemini/
Dsl3516-ce-cipher.c8 * ECB mode.
133 struct pkt_control_ecb *ecb; in sl3516_ce_cipher() local
223 ecb = (struct pkt_control_ecb *)ce->pctrl; in sl3516_ce_cipher()
227 ecb->control.op_mode = rctx->op_dir; in sl3516_ce_cipher()
228 ecb->control.cipher_algorithm = ECB_AES; in sl3516_ce_cipher()
229 ecb->cipher.header_len = 0; in sl3516_ce_cipher()
230 ecb->cipher.algorithm_len = areq->cryptlen; in sl3516_ce_cipher()
231 cpu_to_be32_array((__be32 *)ecb->key, (u32 *)op->key, op->keylen / 4); in sl3516_ce_cipher()
232 rctx->h = &ecb->cipher; in sl3516_ce_cipher()
237 ecb->control.aesnk = op->keylen / 4; in sl3516_ce_cipher()
/Linux-v5.15/drivers/crypto/
DKconfig196 As of z990 the ECB and CBC mode are hardware accelerated.
208 As of z9 the ECB and CBC modes are hardware accelerated
210 As of z10 the ECB and CBC modes are hardware accelerated
428 the ECB and CBC modes of operation are supported by the driver. Also
612 The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
685 - AES (CBC, CTR, ECB, XTS)
686 - 3DES (CBC, ECB)
687 - DES (CBC, ECB)
696 - AES (CBC, CTR, ECB, XTS)
697 - 3DES (ECB, CBC)
[all …]
Dmxs-dcp.c108 unsigned int ecb:1; member
268 if (rctx->ecb) in mxs_dcp_run_aes()
325 if (!rctx->ecb) { in mxs_dcp_aes_block_crypt()
378 if (!rctx->ecb) { in mxs_dcp_aes_block_crypt()
448 static int mxs_dcp_aes_enqueue(struct skcipher_request *req, int enc, int ecb) in mxs_dcp_aes_enqueue() argument
460 rctx->ecb = ecb; in mxs_dcp_aes_enqueue()
853 /* AES 128 ECB and AES 128 CBC */
856 .base.cra_name = "ecb(aes)",
857 .base.cra_driver_name = "ecb-aes-dcp",
/Linux-v5.15/arch/arm64/crypto/
DKconfig87 tristate "AES in ECB/CBC/CTR/XTS modes using ARMv8 Crypto Extensions"
95 tristate "AES in ECB/CBC/CTR/XTS modes using NEON instructions"
121 tristate "AES in ECB/CBC/CTR/XTS modes using bit-sliced NEON algorithm"
/Linux-v5.15/drivers/crypto/nx/
Dnx-aes-ecb.c3 * AES ECB routines supporting the Power 7+ Nest Accelerators driver
111 .base.cra_name = "ecb(aes)",
112 .base.cra_driver_name = "ecb-aes-nx",
/Linux-v5.15/drivers/crypto/qce/
Dskcipher.c275 * ECB and CBC algorithms require message lengths to be in qce_skcipher_crypt()
363 .name = "ecb(aes)",
364 .drv_name = "ecb-aes-qce",
400 .name = "ecb(des)",
401 .drv_name = "ecb-des-qce",
418 .name = "ecb(des3_ede)",
419 .drv_name = "ecb-3des-qce",
/Linux-v5.15/arch/s390/crypto/
Ddes_s390.c147 .base.cra_name = "ecb(des)",
148 .base.cra_driver_name = "ecb-des-s390",
149 .base.cra_priority = 400, /* combo: des + ecb */
265 .base.cra_name = "ecb(des3_ede)",
266 .base.cra_driver_name = "ecb-des3_ede-s390",
267 .base.cra_priority = 400, /* combo: des3 + ecb */
/Linux-v5.15/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c406 .base.cra_name = "ecb(aes)",
407 .base.cra_driver_name = "ecb-aes-rk",
451 .base.cra_name = "ecb(des)",
452 .base.cra_driver_name = "ecb-des-rk",
496 .base.cra_name = "ecb(des3_ede)",
497 .base.cra_driver_name = "ecb-des3-ede-rk",
/Linux-v5.15/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-core.c120 .cra_name = "ecb(aes)",
121 .cra_driver_name = "ecb-aes-sun4i-ss",
163 .cra_name = "ecb(des)",
164 .cra_driver_name = "ecb-des-sun4i-ss",
206 .cra_name = "ecb(des3_ede)",
207 .cra_driver_name = "ecb-des3-sun4i-ss",
/Linux-v5.15/arch/x86/crypto/
Dblowfish_glue.c7 * CBC & ECB parts based on code (crypto/cbc.c,ecb.c) by:
270 .base.cra_name = "ecb(blowfish)",
271 .base.cra_driver_name = "ecb-blowfish-asm",
Ddes3_ede_glue.c7 * CBC & ECB parts based on code (crypto/cbc.c,ecb.c) by:
317 .base.cra_name = "ecb(des3_ede)",
318 .base.cra_driver_name = "ecb-des3_ede-asm",
Dserpent_sse2_glue.c11 * CBC & ECB parts based on code (crypto/cbc.c,ecb.c) by:
Dtwofish_glue_3way.c78 .base.cra_name = "ecb(twofish)",
79 .base.cra_driver_name = "ecb-twofish-3way",
/Linux-v5.15/drivers/crypto/allwinner/
DKconfig57 The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode.
110 The Security System handle AES/3DES ciphers in ECB/CBC mode.
/Linux-v5.15/drivers/crypto/marvell/cesa/
Dcipher.c519 .cra_name = "ecb(des)",
520 .cra_driver_name = "mv-ecb-des",
629 .cra_name = "ecb(des3_ede)",
630 .cra_driver_name = "mv-ecb-des3-ede",
756 .cra_name = "ecb(aes)",
757 .cra_driver_name = "mv-ecb-aes",
/Linux-v5.15/arch/s390/kvm/
Dvsie.c440 const bool wants_tx = READ_ONCE(scb_o->ecb) & ECB_TE; in shadow_scb()
441 bool had_tx = scb_s->ecb & ECB_TE; in shadow_scb()
448 scb_s->ecb = 0; in shadow_scb()
505 scb_s->ecb |= scb_o->ecb & ECB_HOSTPROTINT; in shadow_scb()
511 scb_s->ecb |= ECB_TE; in shadow_scb()
514 scb_s->ecb |= scb_o->ecb & ECB_SPECI; in shadow_scb()
531 scb_s->ecb |= scb_o->ecb & ECB_GS; in shadow_scb()
621 if (!rc && (scb_s->ecb & ECB_TE)) in map_prefix()
750 if (gpa && (scb_s->ecb & ECB_TE)) { in pin_blocks()
800 if (((scb_s->ecb & ECB_GS) && !(scb_s->ecd & ECD_HOSTREGMGMT)) || in pin_blocks()
/Linux-v5.15/arch/sparc/crypto/
Ddes_glue.c379 .base.cra_name = "ecb(des)",
380 .base.cra_driver_name = "ecb-des-sparc64",
406 .base.cra_name = "ecb(des3_ede)",
407 .base.cra_driver_name = "ecb-des3_ede-sparc64",

12345