| /kernel/linux/linux-5.10/Documentation/crypto/ |
| D | descore-readme.rst | 5 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 …]
|
| /kernel/linux/linux-6.6/Documentation/crypto/ |
| D | descore-readme.rst | 5 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 …]
|
| /kernel/linux/linux-5.10/drivers/crypto/ |
| D | Kconfig | 187 tristate "DES and Triple DES cipher algorithms" 194 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 223 and uses triple-DES to generate secure random numbers like the 394 tristate "Support for OMAP DES/3DES hw engine" 400 OMAP processors have DES/3DES module accelerator. Select this if you 401 want to use the OMAP module for DES and 3DES algorithms. Currently 421 and for 3gpp Layer 2 ciphering support. 525 tristate "Support for Atmel DES/TDES hw accelerator" 530 Some Atmel processors have DES/TDES hw accelerator. 532 DES/TDES algorithms. [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/ |
| D | Kconfig | 131 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
| D | hal_com_h2c.h | 76 #define H2C_MEDIA_STATUS_RPT_LEN 3 78 #define H2C_DISCON_DECISION_LEN 3 79 #define H2C_AP_OFFLOAD_LEN 3 87 #define H2C_REMOTE_WAKE_CTRL_LEN 3 94 #define H2C_FORCE_BT_TXPWR_LEN 3 99 … b) (((a)[0] == (b)[0] && (a)[1] == (b)[1] && (a)[2] == (b)[2] && (a)[3] == (b)[3] && (a)[4] == (… 100 …efine cpMacAddr(des, src) ((des)[0] = (src)[0], (des)[1] = (src)[1], (des)[2] = (src)[2], (des)[3]… argument 101 #define cpIpAddr(des, src) ((des)[0] = (src)[0], (des)[1] = (src)[1], (des)[2] = (src)[2], (des)[3]… argument 129 #define FW_WOWLAN_UNICAST BIT(3) 156 …DPAGE_LOC_QOS_NULL_DATA(__pH2CCmd, __Value) SET_BITS_TO_LE_1BYTE_8BIT((__pH2CCmd)+3, 0, 8, __Value) [all …]
|
| /kernel/linux/linux-6.6/arch/sparc/crypto/ |
| D | Kconfig | 6 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
|
| /kernel/linux/linux-6.6/include/linux/sunrpc/ |
| D | gss_krb5.h | 136 #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 */
|
| /kernel/linux/linux-6.6/include/crypto/internal/ |
| D | des.h | 3 * 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()
|
| /kernel/linux/linux-5.10/include/crypto/internal/ |
| D | des.h | 3 * 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()
|
| /kernel/linux/linux-6.6/arch/s390/crypto/ |
| D | des_s390.c | 5 * 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 …]
|
| D | Kconfig | 106 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
|
| /kernel/linux/linux-5.10/arch/s390/crypto/ |
| D | des_s390.c | 5 * 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 …]
|
| /kernel/linux/linux-6.6/include/crypto/ |
| D | des.h | 3 * 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
|
| /kernel/linux/linux-5.10/include/crypto/ |
| D | des.h | 3 * 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
|
| /kernel/linux/linux-5.10/drivers/crypto/allwinner/ |
| D | Kconfig | 21 The Security System handle AES/DES/3DES ciphers in CBC mode 48 The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode. 101 The Security System handle AES/3DES ciphers in ECB/CBC mode.
|
| /kernel/linux/linux-6.6/drivers/crypto/allwinner/ |
| D | Kconfig | 21 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.
|
| /kernel/linux/linux-5.10/include/linux/sunrpc/ |
| D | gss_krb5.h | 186 #define ENCTYPE_DES_CBC_CRC 0x0001 /* DES cbc mode with CRC-32 */ 187 #define ENCTYPE_DES_CBC_MD4 0x0002 /* DES cbc mode with RSA-MD4 */ 188 #define ENCTYPE_DES_CBC_MD5 0x0003 /* DES cbc mode with RSA-MD5 */ 189 #define ENCTYPE_DES_CBC_RAW 0x0004 /* DES cbc mode raw */ 191 #define ENCTYPE_DES3_CBC_SHA 0x0005 /* DES-3 cbc mode with NIST-SHA */ 192 #define ENCTYPE_DES3_CBC_RAW 0x0006 /* DES-3 cbc mode raw */ 204 /* for 3DES */
|
| /kernel/linux/linux-6.6/tools/testing/selftests/amd-pstate/ |
| D | tbench.sh | 9 # 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 …]
|
| D | gitsource.sh | 9 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_buffers.c | 1 // 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() 209 const struct mlxsw_sp_sb_pool_des *des = in mlxsw_sp_sb_cm_write() local 215 mlxsw_reg_sbcm_pack(sbcm_pl, local_port, pg_buff, des->dir, in mlxsw_sp_sb_cm_write() 216 min_buff, max_buff, infi_max, des->pool); in mlxsw_sp_sb_cm_write() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_buffers.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/crypto/rockchip/ |
| D | rk3288_crypto.h | 6 #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 …]
|
| /kernel/linux/linux-6.6/drivers/crypto/qce/ |
| D | skcipher.c | 13 #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",
|
| /kernel/linux/linux-5.10/drivers/pci/hotplug/ |
| D | acpiphp_ibm.c | 66 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 …]
|
| /kernel/linux/linux-6.6/drivers/pci/hotplug/ |
| D | acpiphp_ibm.c | 66 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 …]
|