Home
last modified time | relevance | path

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

12345

/linux/Documentation/crypto/
H A 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/arch/sparc/crypto/
H A 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/include/linux/sunrpc/
H A 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/drivers/crypto/
H A DKconfig176 and uses triple-DES to generate secure random numbers like the
335 tristate "Support for OMAP DES/3DES hw engine"
341 OMAP processors have DES/3DES module accelerator. Select this if you
342 want to use the OMAP module for DES and 3DES algorithms. Currently
439 tristate "Support for Atmel DES/TDES hw accelerator"
444 Some Atmel processors have DES/TDES hw accelerator.
446 DES/TDES algorithms.
592 - 3DES (CBC, ECB)
593 - DES (CBC, ECB)
603 - 3DES (ECB, CBC)
[all …]
H A 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 …]
/linux/include/crypto/internal/
H A 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/arch/s390/crypto/
H A 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 …]
H A 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/include/crypto/
H A 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/drivers/crypto/allwinner/
H A 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/tools/testing/selftests/amd-pstate/
H A 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
104 … results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-des-perf-$1-$2.log
105 …avg_des_perf=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-des-perf-$…
106 printf "Gitsource-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_GIT.result
156 …ep "Gitsource-$1-#" $OUTFILE_GIT.result | grep "avg des perf:" | awk '{print $NF}' > $OUTFILE_GIT-
157 …avg_des_perf=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_GIT-des-perf…
158 printf "Gitsource-$1 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_GIT.result
197 # $1: base scaling_driver $2: base governor $3: comparison scaling_driver $4: comparison governor
[all …]
H A 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/drivers/net/ethernet/mellanox/mlxsw/
H A 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/drivers/crypto/qce/
H A 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",
H A Daead.c11 #include <crypto/internal/des.h>
18 #define CCM_NONCE_AUTHSIZE_SHIFT 3
422 rctx->ccm_rfc4309_iv[0] = 3; in qce_aead_async_req_handle()
621 * being the same for triple des algorithms. The in qce_aead_setkey()
626 if (!((_key[0] ^ _key[2]) | (_key[1] ^ _key[3])) || in qce_aead_setkey()
627 !((_key[2] ^ _key[4]) | (_key[3] ^ _key[5])) || in qce_aead_setkey()
703 .name = "authenc(hmac(sha1),cbc(des))",
704 .drv_name = "authenc-hmac-sha1-cbc-des-qce",
712 .drv_name = "authenc-hmac-sha1-cbc-3des-qce",
719 .name = "authenc(hmac(sha256),cbc(des))",
[all …]
/linux/drivers/crypto/rockchip/
H A 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/drivers/pci/hotplug/
H A 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/drivers/crypto/allwinner/sun4i-ss/
H A 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 */
H A 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/Documentation/devicetree/bindings/crypto/
H A Dsamsung-sss.yaml16 -- Data Encryption Standard (DES)/3DES
H A 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/drivers/crypto/gemini/
H A 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/tools/power/x86/x86_energy_perf_policy/
H A 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/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py52 C_USEC = 3
67 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
75 …g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, dateti…
84 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
90 g_plot('set ylabel "des perf"')
91 …g_plot('set title "{} : cpu des perf : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, dat…
99 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
107 …g_plot('set title "{} : cpu load : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetim…
132 g_plot('set ylabel "des perf"')
133 g_plot('set title "{} : cpu des perf : {:%F %H:%M}"'.format(test_name, datetime.now()))
[all …]
/linux/arch/x86/crypto/
H A Ddes3_ede_glue.c3 * Glue Code for assembler optimized version of 3DES
12 #include <crypto/des.h>
28 /* 3-way parallel cipher functions */
80 if (nbytes >= bsize * 3) { in ecb_crypt()
85 wsrc += bsize * 3; in ecb_crypt()
86 wdst += bsize * 3; in ecb_crypt()
87 nbytes -= bsize * 3; in ecb_crypt()
88 } while (nbytes >= bsize * 3); in ecb_crypt()
174 u64 ivs[3 - 1]; in __cbc_decrypt()
184 if (nbytes >= bsize * 3) { in __cbc_decrypt()
[all …]

12345