Home
last modified time | relevance | path

Searched +full:3 +full:des (Results 1 – 25 of 118) sorted by relevance

12345

/Linux-v6.6/Documentation/crypto/
Ddescore-readme.rst5 Fast & Portable DES encryption & decryption
15 des - fast & portable DES encryption & decryption.
43 3. Plug-compatible replacement for KERBEROS's low-level routines.
57 performance comparison to other available des code which i could
69 since i was interested in fast des filters rather than crypt(3)
72 all the other junk in the mit kerberos des library, so i've just
78 kerberos des replacement from australia (version 1.95):
93 gcc 2.1 -O2 Sun 3/110 304 uS 369.5uS 461.8uS 22%
94 cc -O1 Sun 3/110 336 uS 436.6uS 399.3uS 19%
95 cc -O2 Sun 3/110 360 uS 532.4uS 505.1uS 40%
[all …]
/Linux-v6.6/drivers/crypto/
DKconfig131 and uses triple-DES to generate secure random numbers like the
290 tristate "Support for OMAP DES/3DES hw engine"
296 OMAP processors have DES/3DES module accelerator. Select this if you
297 want to use the OMAP module for DES and 3DES algorithms. Currently
393 tristate "Support for Atmel DES/TDES hw accelerator"
398 Some Atmel processors have DES/TDES hw accelerator.
400 DES/TDES algorithms.
546 - 3DES (CBC, ECB)
547 - DES (CBC, ECB)
557 - 3DES (ECB, CBC)
[all …]
Datmel-tdes.c5 * Support for ATMEL DES/TDES HW acceleration.
36 #include <crypto/internal/des.h>
56 #define TDES_FLAGS_INIT BIT(3)
710 dev_dbg(dev, "request size is not exact amount of DES blocks\n"); in atmel_tdes_crypt()
910 .base.cra_name = "ecb(des)",
911 .base.cra_driver_name = "atmel-ecb-des",
922 .base.cra_name = "cbc(des)",
923 .base.cra_driver_name = "atmel-cbc-des",
935 .base.cra_name = "cfb(des)",
936 .base.cra_driver_name = "atmel-cfb-des",
[all …]
Domap-des.c3 * Support for OMAP DES and Triple DES HW acceleration.
20 #include <crypto/internal/des.h>
52 #define DES_REG_CTRL_TDES BIT(3)
85 __le32 key[(3 * DES_KEY_SIZE) / sizeof(u32)];
312 /* FIXME: take fist available des core */ in omap_des_find_dev()
717 .base.cra_name = "ecb(des)",
718 .base.cra_driver_name = "ecb-des-omap",
737 .base.cra_name = "cbc(des)",
738 .base.cra_driver_name = "cbc-des-omap",
913 .compatible = "ti,omap4-des",
[all …]
Dhifn_795x.c24 #include <crypto/internal/des.h>
37 #define ACRYPTO_OP_RNG 3
42 #define ACRYPTO_MODE_OFB 3
47 #define ACRYPTO_TYPE_3DES 3
158 #define HIFN_PUSTAT_REV_3 0x0030 /* 7751 PT6/3 */
395 #define HIFN_FLAG_RES_BUSY (1 << 3)
406 void __iomem *bar[3];
479 #define HIFN_CRYPT_CMD_ALG_DES 0x0000 /* DES */
480 #define HIFN_CRYPT_CMD_ALG_3DES 0x0001 /* 3DES */
928 if (strncmp(hifn_pll_ref, "ext", 3) == 0) in hifn_init_pll()
[all …]
/Linux-v6.6/arch/sparc/crypto/
DKconfig6 tristate "Ciphers: DES and Triple DES EDE, modes: ECB/CBC"
12 Block cipher: DES (FIPS 46-2) cipher algorithm
13 Block cipher: Triple DES EDE (FIPS 46-3) cipher algorithm
14 Length-preserving ciphers: DES with ECB and CBC modes
15 Length-preserving ciphers: Tripe DES EDE with ECB and CBC modes
/Linux-v6.6/include/linux/sunrpc/
Dgss_krb5.h136 #define ENCTYPE_DES_CBC_CRC 0x0001 /* DES cbc mode with CRC-32 */
137 #define ENCTYPE_DES_CBC_MD4 0x0002 /* DES cbc mode with RSA-MD4 */
138 #define ENCTYPE_DES_CBC_MD5 0x0003 /* DES cbc mode with RSA-MD5 */
139 #define ENCTYPE_DES_CBC_RAW 0x0004 /* DES cbc mode raw */
141 #define ENCTYPE_DES3_CBC_SHA 0x0005 /* DES-3 cbc mode with NIST-SHA */
142 #define ENCTYPE_DES3_CBC_RAW 0x0006 /* DES-3 cbc mode raw */
158 /* for 3DES */
/Linux-v6.6/include/crypto/internal/
Ddes.h3 * DES & Triple DES EDE key verification helpers
11 #include <crypto/des.h>
16 * crypto_des_verify_key - Check whether a DES key is weak
45 * For DES-EDE3, there is no known need to reject weak or
51 * same as DES. Implementers MUST reject keys that exhibit this
63 if ((!((K[0] ^ K[2]) | (K[1] ^ K[3])) || in des3_ede_verify_key()
64 !((K[2] ^ K[4]) | (K[3] ^ K[5]))) && in des3_ede_verify_key()
/Linux-v6.6/arch/s390/crypto/
Ddes_s390.c5 * s390 implementation of the DES Cipher Algorithm.
19 #include <crypto/internal/des.h>
23 #define DES3_KEY_SIZE (3 * DES_KEY_SIZE)
71 .cra_name = "des",
72 .cra_driver_name = "des-s390",
147 .base.cra_name = "ecb(des)",
148 .base.cra_driver_name = "ecb-des-s390",
149 .base.cra_priority = 400, /* combo: des + ecb */
171 .base.cra_name = "cbc(des)",
172 .base.cra_driver_name = "cbc-des-s390",
[all …]
DKconfig106 tristate "Ciphers: DES and Triple DES EDE, modes: ECB, CBC, CTR"
112 Block ciphers: DES (FIPS 46-2) cipher algorithm
113 Block ciphers: Triple DES EDE (FIPS 46-3) cipher algorithm
114 Length-preserving ciphers: DES with ECB, CBC, and CTR modes
115 Length-preserving ciphers: Triple DES EDED with ECB, CBC, and CTR modes
/Linux-v6.6/include/crypto/
Ddes.h3 * DES & Triple DES EDE Cipher Algorithms.
15 #define DES3_EDE_KEY_SIZE (3 * DES_KEY_SIZE)
16 #define DES3_EDE_EXPKEY_WORDS (3 * DES_EXPKEY_WORDS)
34 * des_expand_key - Expand a DES input key into a key schedule
45 * des3_ede_expand_key - Expand a triple DES input key into a key schedule
/Linux-v6.6/drivers/crypto/allwinner/
DKconfig21 The Security System handle AES/DES/3DES ciphers in CBC mode
57 The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode.
110 The Security System handle AES/3DES ciphers in ECB/CBC mode.
/Linux-v6.6/tools/testing/selftests/amd-pstate/
Dgitsource.sh9 # 3) Run tbench benchmark comparative test on acpi-cpufreq kernel driver.
28 # $1: governor, $2: round, $3: des-perf, $4: freq, $5: load, $6: time $7: energy, $8: PPW
31 echo "$1, $2, $3, $4, $5, $6, $7, $8" | tee -a $OUTFILE_GIT.csv > /dev/null 2>&1
99 … results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-des-perf-$1-$2.log
100 …avg_des_perf=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-des-perf-$…
101 printf "Gitsource-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_GIT.result
151 …ep "Gitsource-$1-#" $OUTFILE_GIT.result | grep "avg des perf:" | awk '{print $NF}' > $OUTFILE_GIT-
152 …avg_des_perf=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_GIT-des-perf…
153 printf "Gitsource-$1 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_GIT.result
192 # $1: base scaling_driver $2: base governor $3: comparison scaling_driver $4: comparison governor
[all …]
Dtbench.sh9 # 3) Get desire performance, frequency, load by perf.
23 # $1: governor, $2: round, $3: des-perf, $4: freq, $5: load, $6: performance, $7: energy, $8: perfo…
26 echo "$1, $2, $3, $4, $5, $6, $7, $8" | tee -a $OUTFILE_TBENCH.csv > /dev/null 2>&1
86 … results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-des-perf-$1-$2.log
87 …avg_des_perf=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_TBENCH-des-per…
88 printf "Tbench-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_TBENCH.result
138 … "Tbench-$1-#" $OUTFILE_TBENCH.result | grep "avg des perf:" | awk '{print $NF}' > $OUTFILE_TBENCH…
139 …avg_des_perf=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_TBENCH-des-p…
140 printf "Tbench-$1 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_TBENCH.result
179 # $1: base scaling_driver $2: base governor $3: comparative scaling_driver $4: comparative governor
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
67 {MLXSW_REG_SBXX_DIR_INGRESS, 3},
71 {MLXSW_REG_SBXX_DIR_EGRESS, 3},
81 {MLXSW_REG_SBXX_DIR_INGRESS, 3},
85 {MLXSW_REG_SBXX_DIR_EGRESS, 3},
185 const struct mlxsw_sp_sb_pool_des *des = in mlxsw_sp_sb_pr_write() local
191 mlxsw_reg_sbpr_pack(sbpr_pl, des->pool, des->dir, mode, in mlxsw_sp_sb_pr_write()
224 const struct mlxsw_sp_sb_pool_des *des = in mlxsw_sp_sb_cm_write() local
230 mlxsw_reg_sbcm_pack(sbcm_pl, local_port, pg_buff, des->dir, in mlxsw_sp_sb_cm_write()
231 min_buff, max_buff, infi_max, des->pool); in mlxsw_sp_sb_cm_write()
[all …]
/Linux-v6.6/drivers/crypto/qce/
Dskcipher.c13 #include <crypto/internal/des.h>
239 * being the same for triple des algorithms. The in qce_des3_setkey()
246 if (!((_key[0] ^ _key[2]) | (_key[1] ^ _key[3])) || in qce_des3_setkey()
247 !((_key[2] ^ _key[4]) | (_key[3] ^ _key[5])) || in qce_des3_setkey()
400 .name = "ecb(des)",
401 .drv_name = "ecb-des-qce",
409 .name = "cbc(des)",
410 .drv_name = "cbc-des-qce",
419 .drv_name = "ecb-3des-qce",
428 .drv_name = "cbc-3des-qce",
/Linux-v6.6/drivers/crypto/rockchip/
Drk3288_crypto.h7 #include <crypto/internal/des.h>
25 #define RK_CRYPTO_HRDMA_ERR_INT BIT(3)
33 #define RK_CRYPTO_HRDMA_ERR_ENA BIT(3)
46 #define RK_CRYPTO_HASH_START BIT(3)
60 #define RK_CRYPTO_BYTESWAP_BRFIFO BIT(3)
61 /* AES = 0 OR DES = 1 */
100 /* AES Input Data 0-3 Register */
106 /* AES output Data 0-3 Register */
112 /* AES IV Data 0-3 Register */
118 /* AES Key Data 0-3 Register */
[all …]
/Linux-v6.6/drivers/pci/hotplug/
Dacpiphp_ibm.c66 u8 res[3];
123 union apci_descriptor *ret = NULL, *des; in ibm_slot_from_id() local
129 des = (union apci_descriptor *)table; in ibm_slot_from_id()
130 if (memcmp(des->header.sig, "aPCI", 4) != 0) in ibm_slot_from_id()
133 des = (union apci_descriptor *)&table[ind += des->header.len]; in ibm_slot_from_id()
134 while (ind < size && (des->generic.type != 0x82 || in ibm_slot_from_id()
135 des->slot.slot_num != id)) { in ibm_slot_from_id()
136 des = (union apci_descriptor *)&table[ind += des->generic.len]; in ibm_slot_from_id()
139 if (ind < size && des->slot.slot_num == id) in ibm_slot_from_id()
140 ret = des; in ibm_slot_from_id()
[all …]
/Linux-v6.6/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c9 * Add support also for DES and 3DES in CBC and ECB mode.
226 if ((in_sg->length | in_sg->offset) & 3u) in sun4i_ss_cipher_poll()
231 if ((out_sg->length | out_sg->offset) & 3u) in sun4i_ss_cipher_poll()
442 /* CBC DES */
465 /* ECB DES */
488 /* CBC 3DES */
511 /* ECB 3DES */
606 /* check and set the DES key, prepare the mode to be used */
626 /* check and set the 3DES key, prepare the mode to be used */
Dsun4i-ss.h9 * Support DES and 3DES
33 #include <crypto/internal/des.h>
75 #define SS_CTS (3 << 12)
95 #define SS_OP_SHA1 (3 << 4)
/Linux-v6.6/Documentation/devicetree/bindings/crypto/
Dsamsung-sss.yaml16 -- Data Encryption Standard (DES)/3DES
Dfsl-sec2.txt1 Freescale SoC SEC Security Engines versions 1.x-2.x-3.x
6 SEC versions, high to low, e.g., "fsl,sec2.1", "fsl,sec2.0" (SEC2/3)
22 bit 2 = set if SEC has the DES/3DES EU (DEU)
23 bit 3 = set if SEC has the message digest EU (MDEU/MDEU-A)
41 bit 3 = set if SEC supports the 802.11i AES ccmp desc. type
/Linux-v6.6/drivers/crypto/gemini/
Dsl3516-ce.h12 * It can handle AES, DES, 3DES, MD5, WEP, TKIP, SHA1, HMAC(MD5), HMAC(SHA1),
27 #define TQ3_IV BIT(3)
167 * @mix_key_sel: 0:use rCipherKey0-3 1:use Key Mixer
169 * @cipher_algorithm: choice of CBC/ECE and AES/DES/3DES
174 u32 auth_check_len :3;
176 u32 auth_algorithm :3;
182 u32 cipher_algorithm :3;
/Linux-v6.6/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.877 For example '--pkg 1,3' or '--pkg all'
185 cpu0: HWP_REQ: min 6 max 35 des 0 epp 128 window 0x0 (0*10^0us) use_pkg 0
188 cpu1: HWP_REQ: min 6 max 35 des 0 epp 128 window 0x0 (0*10^0us) use_pkg 0
191 cpu2: HWP_REQ: min 6 max 35 des 0 epp 128 window 0x0 (0*10^0us) use_pkg 0
194 cpu3: HWP_REQ: min 6 max 35 des 0 epp 128 window 0x0 (0*10^0us) use_pkg 0
/Linux-v6.6/tools/power/x86/amd_pstate_tracer/
Damd_pstate_trace.py53 C_USEC = 3
68 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
76 …g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, dateti…
85 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
91 g_plot('set ylabel "des perf"')
92 …g_plot('set title "{} : cpu des perf : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, dat…
100 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
108 …g_plot('set title "{} : cpu load : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetim…
133 g_plot('set ylabel "des perf"')
134 g_plot('set title "{} : cpu des perf : {:%F %H:%M}"'.format(test_name, datetime.now()))
[all …]

12345