Home
last modified time | relevance | path

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

123456

/Linux-v6.6/arch/x86/crypto/
DKconfig17 tristate "Ciphers: AES, modes: ECB, CBC, CTS, CTR, XTR, XTS, GCM (AES-NI)"
27 Length-preserving ciphers: AES with ECB, CBC, CTS, CTR, XTR, XTS
33 tristate "Ciphers: Blowfish, modes: ECB, CBC"
40 Length-preserving ciphers: Blowfish with ECB and CBC modes
45 tristate "Ciphers: Camellia with modes: ECB, CBC"
51 Length-preserving ciphers: Camellia with ECB and CBC modes
56 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX)"
63 Length-preserving ciphers: Camellia with ECB and CBC modes
70 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX2)"
74 Length-preserving ciphers: Camellia with ECB and CBC modes
[all …]
Dblowfish_glue.c7 * CBC & ECB parts based on code (crypto/cbc.c,ecb.c) by:
112 .base.cra_name = "ecb(blowfish)",
113 .base.cra_driver_name = "ecb-blowfish-asm",
Ddes3_ede_glue.c7 * CBC & ECB parts based on code (crypto/cbc.c,ecb.c) by:
309 .base.cra_name = "ecb(des3_ede)",
310 .base.cra_driver_name = "ecb-des3_ede-asm",
/Linux-v6.6/drivers/scsi/
Daha1740.c81 struct ecb ecb[AHA1740_ECBS]; member
92 static inline struct ecb *ecb_dma_to_cpu (struct Scsi_Host *host, in ecb_dma_to_cpu()
100 return (struct ecb *)(((char *) hdata->ecb) + (unsigned int) offset); in ecb_dma_to_cpu()
108 offset = (char *) cpu - (char *) hdata->ecb; in ecb_cpu_to_dma()
218 struct ecb *ecbptr; in aha1740_intr_handle()
287 memset(ecbptr,0,sizeof(struct ecb)); in aha1740_intr_handle()
355 /* locate an available ecb */ in aha1740_queuecommand_lck()
361 if (!host->ecb[ecbno].cmdw) in aha1740_queuecommand_lck()
368 if (host->ecb[ecbno].cmdw) in aha1740_queuecommand_lck()
369 panic("Unable to find empty ecb for aha1740.\n"); in aha1740_queuecommand_lck()
[all …]
/Linux-v6.6/arch/sparc/crypto/
DKconfig6 tristate "Ciphers: DES and Triple DES EDE, modes: ECB/CBC"
14 Length-preserving ciphers: DES with ECB and CBC modes
15 Length-preserving ciphers: Tripe DES EDE with ECB and CBC modes
70 tristate "Ciphers: AES, modes: ECB, CBC, CTR"
75 Length-preseving ciphers: AES with ECB, CBC, and CTR modes
80 tristate "Ciphers: Camellia, modes: ECB, CBC"
86 Length-preserving ciphers: Camellia with ECB and CBC modes
/Linux-v6.6/arch/s390/crypto/
DKconfig84 tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS, GCM"
91 Length-preserving ciphers: AES with ECB, CBC, XTS, and CTR modes
95 As of z9 the ECB and CBC modes are hardware accelerated
98 As of z10 the ECB and CBC modes are hardware accelerated
106 tristate "Ciphers: DES and Triple DES EDE, modes: ECB, CBC, CTR"
114 Length-preserving ciphers: DES with ECB, CBC, and CTR modes
115 Length-preserving ciphers: Triple DES EDED with ECB, CBC, and CTR modes
119 As of z990 the ECB and CBC mode are hardware accelerated.
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-v6.6/arch/arm64/crypto/
DKconfig132 tristate "Ciphers: AES, modes: ECB, CBC, CTR, CTS, XCTR, XTS"
136 Length-preserving ciphers: AES with ECB, CBC, CTR, CTS,
155 tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (ARMv8 Crypto Extensions)"
162 - ECB (Electronic Codebook) mode (NIST SP800-38A)
172 tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (NEON)"
179 - ECB (Electronic Codebook) mode (NIST SP800-38A)
202 tristate "Ciphers: AES, modes: ECB/CBC/CTR/XCTR/XTS modes (bit-sliced NEON)"
210 - ECB (Electronic Codebook) mode (NIST SP800-38A)
234 tristate "Ciphers: SM4, modes: ECB/CBC/CFB/CTR/XTS (ARMv8 Crypto Extensions)"
241 - ECB (Electronic Codebook) mode (NIST SP800-38A)
[all …]
Dsm4-neon-glue.c277 .cra_name = "ecb(sm4)",
278 .cra_driver_name = "ecb-sm4-neon",
352 MODULE_DESCRIPTION("SM4 ECB/CBC/CFB/CTR using ARMv8 NEON");
355 MODULE_ALIAS_CRYPTO("ecb(sm4)");
/Linux-v6.6/drivers/crypto/intel/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-v6.6/crypto/
Dtcrypt.c1479 ret = min(ret, tcrypt_test("ecb(des)")); in do_test()
1485 ret = min(ret, tcrypt_test("ecb(des3_ede)")); in do_test()
1499 ret = min(ret, tcrypt_test("ecb(blowfish)")); in do_test()
1505 ret = min(ret, tcrypt_test("ecb(twofish)")); in do_test()
1513 ret = min(ret, tcrypt_test("ecb(serpent)")); in do_test()
1521 ret = min(ret, tcrypt_test("ecb(aes)")); in do_test()
1545 ret = min(ret, tcrypt_test("ecb(cast5)")); in do_test()
1551 ret = min(ret, tcrypt_test("ecb(cast6)")); in do_test()
1559 ret = min(ret, tcrypt_test("ecb(arc4)")); in do_test()
1571 ret = min(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()
431 MODULE_SOFTDEP("pre: ecb");
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()
469 MODULE_SOFTDEP("pre: ecb");
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()
/Linux-v6.6/drivers/crypto/gemini/
Dsl3516-ce-cipher.c8 * ECB mode.
137 struct pkt_control_ecb *ecb; in sl3516_ce_cipher() local
227 ecb = (struct pkt_control_ecb *)ce->pctrl; in sl3516_ce_cipher()
231 ecb->control.op_mode = rctx->op_dir; in sl3516_ce_cipher()
232 ecb->control.cipher_algorithm = ECB_AES; in sl3516_ce_cipher()
233 ecb->cipher.header_len = 0; in sl3516_ce_cipher()
234 ecb->cipher.algorithm_len = areq->cryptlen; in sl3516_ce_cipher()
235 cpu_to_be32_array((__be32 *)ecb->key, (u32 *)op->key, op->keylen / 4); in sl3516_ce_cipher()
236 rctx->h = &ecb->cipher; in sl3516_ce_cipher()
241 ecb->control.aesnk = op->keylen / 4; in sl3516_ce_cipher()
/Linux-v6.6/drivers/crypto/
DKconfig298 the ECB and CBC modes of operation are supported by the driver. Also
472 The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
545 - AES (CBC, CTR, ECB, XTS)
546 - 3DES (CBC, ECB)
547 - DES (CBC, ECB)
556 - AES (CBC, CTR, ECB, XTS)
557 - 3DES (ECB, CBC)
558 - DES (ECB, CBC)
650 Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
724 AES block ciphers in ECB and CBC mode, as well as SHA1, SHA224, SHA256,
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-v6.6/arch/arm/crypto/
DKconfig167 tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (bit-sliced NEON)"
177 - ECB (Electronic Codebook) mode (NIST SP800-38A)
190 tristate "Ciphers: AES, modes: ECB/CBC/CTS/CTR/XTS (ARMv8 Crypto Extensions)"
198 - ECB (Electronic Codebook) mode (NIST SP800-38A)
/Linux-v6.6/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-v6.6/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-v6.6/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-core.c119 .cra_name = "ecb(aes)",
120 .cra_driver_name = "ecb-aes-sun4i-ss",
162 .cra_name = "ecb(des)",
163 .cra_driver_name = "ecb-des-sun4i-ss",
205 .cra_name = "ecb(des3_ede)",
206 .cra_driver_name = "ecb-des3-sun4i-ss",
/Linux-v6.6/arch/s390/kvm/
Dvsie.c450 const bool wants_tx = READ_ONCE(scb_o->ecb) & ECB_TE; in shadow_scb()
451 bool had_tx = scb_s->ecb & ECB_TE; in shadow_scb()
458 scb_s->ecb = 0; in shadow_scb()
515 scb_s->ecb |= scb_o->ecb & ECB_HOSTPROTINT; in shadow_scb()
523 scb_s->ecb |= scb_o->ecb & ECB_PTF; in shadow_scb()
529 scb_s->ecb |= ECB_TE; in shadow_scb()
532 scb_s->ecb |= scb_o->ecb & ECB_SPECI; in shadow_scb()
549 scb_s->ecb |= scb_o->ecb & ECB_GS; in shadow_scb()
641 if (!rc && (scb_s->ecb & ECB_TE)) in map_prefix()
770 if (gpa && (scb_s->ecb & ECB_TE)) { in pin_blocks()
[all …]
/Linux-v6.6/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c465 .base.cra_name = "ecb(aes)",
466 .base.cra_driver_name = "ecb-aes-rk",
516 .base.cra_name = "ecb(des)",
517 .base.cra_driver_name = "ecb-des-rk",
567 .base.cra_name = "ecb(des3_ede)",
568 .base.cra_driver_name = "ecb-des3-ede-rk",

123456