Home
last modified time | relevance | path

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

123

/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 …]
H A Dapi-intro.rst109 sources, please consider changing the license to GPL (see section 3 of
190 - Dana L. How (DES)
207 DES algorithm contributors:
/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/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/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/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/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/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/Documentation/devicetree/bindings/crypto/
H A Dsamsung-sss.yaml16 -- Data Encryption Standard (DES)/3DES
/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, datetime.now()))
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, datetime.now()))
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, datetime.now()))
132 g_plot('set ylabel "des per
[all...]
/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.884 For example '--pkg 1,3' or '--pkg all'
212 cpu0: HWP_REQ: min 6 max 35 des 0 epp 128 window 0x0 (0*10^0us) use_pkg 0
215 cpu1: HWP_REQ: min 6 max 35 des 0 epp 128 window 0x0 (0*10^0us) use_pkg 0
218 cpu2: HWP_REQ: min 6 max 35 des 0 epp 128 window 0x0 (0*10^0us) use_pkg 0
221 cpu3: HWP_REQ: min 6 max 35 des 0 epp 128 window 0x0 (0*10^0us) use_pkg 0
/linux/include/linux/
H A Dccp.h303 /***** 3DES engine *****/
324 * @type: Type of 3DES operation
326 * @action: 3DES operation (decrypt/encrypt)
327 * @key: key to be used for this 3DES operation
340 * 3DES operation the new IV overwrites the old IV.
478 #define CCP_ECC_MAX_OUTPUTS 3
/linux/drivers/crypto/caam/
H A Dcaamalg_qi.c1502 .cra_driver_name = "cbc-3des-caam-qi",
1517 .cra_name = "cbc(des)",
1518 .cra_driver_name = "cbc-des-caam-qi",
2194 .cra_name = "authenc(hmac(md5),cbc(des))",
2196 "cbc-des-caam-qi",
2216 "cbc(des)))",
2218 "cbc-des-caam-qi",
2238 .cra_name = "authenc(hmac(sha1),cbc(des))",
2240 "cbc-des-caam-qi",
2260 "cbc(des)))",
[all …]
H A Dcaamalg.c25 * | JobDesc #3 |------------
26 * | *(packet 3) |
1301 if (ctrlpriv->era < 3) in init_authenc_job()
2017 .cra_driver_name = "cbc-3des-caam",
2035 .cra_name = "cbc(des)",
2036 .cra_driver_name = "cbc-des-caam",
2121 .cra_name = "ecb(des)",
2122 .cra_driver_name = "ecb-des-caam",
3000 .cra_name = "authenc(hmac(md5),cbc(des))",
3002 "cbc-des-caam",
[all …]
H A Dcaamalg_desc.c274 * Valid algorithm values - one of OP_ALG_ALGSEL_{AES, DES, 3DES} ANDed
322 if (is_qi || era < 3) { in cnstr_shdsc_aead_encap()
368 * Valid algorithm values - one of OP_ALG_ALGSEL_{AES, DES, 3DES} ANDed
418 if (is_qi || era < 3) { in cnstr_shdsc_aead_decap()
486 * Valid algorithm values - one of OP_ALG_ALGSEL_{AES, DES, 3DES} ANDed
561 if (is_qi || era < 3) { in cnstr_shdsc_aead_givencap()
1450 * Valid algorithm values - one of OP_ALG_ALGSEL_{AES, DES, 3DES} ANDed
1527 * Valid algorithm values - one of OP_ALG_ALGSEL_{AES, DES, 3DES} ANDed
/linux/drivers/edac/
H A Di82875p_edac.c70 * 3 Invalid AGP access
85 * 3 SERR on invalid AGP access
101 * 3 special cycle - ro 0
111 * 3 prefetchable - ro 0(non),1(pre)
129 * 3 reserved
150 * 3:2 reserved
170 u8 des; member
204 pci_read_config_byte(pdev, I82875P_DES, &info->des); in i82875p_get_error_info()
216 pci_read_config_byte(pdev, I82875P_DES, &info->des); in i82875p_get_error_info()
255 row, multi_chan ? (info->des & 0x1) : 0, in i82875p_process_error_info()
[all …]
H A Di82975x_edac.c65 /* Error Reporting is supported by 3 mechanisms:
68 3. SCI DMI generation ( SCICMD )
139 * 3 reserved
158 * 7:6 Rank 3 architecture
160 * 3:2 Rank 1 architecture
186 * 3:2 reserved
219 u8 des; member
253 pci_read_config_byte(pdev, I82975X_DES, &info->des); in i82975x_get_error_info()
271 pci_read_config_byte(pdev, I82975X_DES, &info->des); in i82975x_get_error_info()
394 edac_dbg(3, "(%d) cumul_size 0x%x\n", index, cumul_size); in i82975x_init_csrows()
[all …]
/linux/tools/power/cpupower/po/
H A Dde.po403 " Meinung des Betriebssystems) *\n"
521 "Für die mit * markierten Argumente ist das Weglassen des Arguments\n"
612 "1. Das Weglassen des Arguments -c oder --cpu ist gleichbedeutend mit der "
621 "3. FREQuencies can be passed in Hz, kHz (default), MHz, GHz, or THz\n"
630 "3. FREQuenzen können in Hz, kHz (Standard), MHz, GHz oder THz eingegeben\n"
705 " -m, --sched-mc [VAL] Legt die Mehrkern-Scheduler-Richtlinie des "
718 msgstr "--perf-bias-Parameter außerhalb des Bereichs [0-%d]\n"
723 msgstr "Parameter --sched-mc außerhalb des Bereichs [0-%d]\n"
728 msgstr "Parameter --sched-smt außerhalb des Bereichs [0-%d]\n"
743 msgstr "Fehler beim Einstellen des perf-bias-Wertes auf der CPU %d\n"
[all …]
/linux/drivers/crypto/bcm/
H A Dutil.c324 return "cbc(des)"; in spu_alg_name()
326 return "ecb(des)"; in spu_alg_name()
328 return "ctr(des)"; in spu_alg_name()
330 return "des"; in spu_alg_name()
342 return "3des"; in spu_alg_name()
527 if (i >= 3) in format_value_ccm()
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii-fsm9900.c64 #define SYSCLK_AC_COUPLE BIT(3)
70 #define SYSCLK_SEL_CMOS BIT(3)
100 #define FIRSTORDER_THRESH(x) (((x) & 0x7) << 3)
111 #define CLKBUF_L_EN BIT(3)
116 #define L0_RX_TERM_MODE(x) (((x) & 3) << 4)
182 DIV_FRAC_START3_MUX | DIV_FRAC_START3(3)},
192 SECONDORDERENABLE | FIRSTORDER_THRESH(3) | SECONDORDERGAIN(2)},
194 SECONDORDERENABLE | FIRSTORDER_THRESH(3) | SECONDORDERGAIN(4)},
220 /* Power up the Ser/Des engine */ in emac_sgmii_init_fsm9900()
230 netdev_err(adpt->netdev, "error: ser/des failed to start\n"); in emac_sgmii_init_fsm9900()
/linux/drivers/media/dvb-frontends/
H A Dves1x93.h6 Copyright (C) 2001 Ronny Strutz <3des@elitedvb.de>
/linux/drivers/crypto/
H A Dsa2ul.h49 #define NKEY_SZ 3
72 #define SA_ENG_ID_EM2 3 /* Encryption/Decryption enginefor pass 2 */
87 #define SA_CMDL_OFFSET_OPTION_CTRL3 7 /* Option Control Byte 3 */
106 #define SA_CTX_PE_PKT_TYPE_3GPP_AIR 0 /* 3GPP Air Cipher */
110 #define SA_CTX_PE_PKT_TYPE_IPSEC_ESP 3
126 * Bit 2-3: Fetch Encryption/Air Ciphering Bytes
138 #define SA_CTX_DMA_SIZE_128 3
160 #define SA_AUTH_SW_CTRL_SHA224 3
350 SA_EALG_ID_DES_CBC, /* DES CBC mode */
351 SA_EALG_ID_3DES_CBC, /* 3DES CBC mode */

123