/Linux-v5.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 …]
|
/Linux-v5.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 393 tristate "Support for OMAP DES/3DES hw engine" 399 OMAP processors have DES/3DES module accelerator. Select this if you 400 want to use the OMAP module for DES and 3DES algorithms. Currently 420 and for 3gpp Layer 2 ciphering support. 524 tristate "Support for Atmel DES/TDES hw accelerator" 529 Some Atmel processors have DES/TDES hw accelerator. 531 DES/TDES algorithms. [all …]
|
D | atmel-tdes.c | 5 * Support for ATMEL DES/TDES HW acceleration. 36 #include <crypto/internal/des.h> 56 #define TDES_FLAGS_INIT BIT(3) 722 pr_err("request size is not exact amount of DES blocks\n"); in atmel_tdes_crypt() 923 .base.cra_name = "ecb(des)", 924 .base.cra_driver_name = "atmel-ecb-des", 935 .base.cra_name = "cbc(des)", 936 .base.cra_driver_name = "atmel-cbc-des", 948 .base.cra_name = "cfb(des)", 949 .base.cra_driver_name = "atmel-cfb-des", [all …]
|
D | omap-des.c | 3 * Support for OMAP DES and Triple DES HW acceleration. 36 #include <crypto/internal/des.h> 56 #define DES_REG_CTRL_TDES BIT(3) 90 __le32 key[(3 * DES_KEY_SIZE) / sizeof(u32)]; 318 /* FIXME: take fist available des core */ in omap_des_find_dev() 737 .base.cra_name = "ecb(des)", 738 .base.cra_driver_name = "ecb-des-omap", 754 .base.cra_name = "cbc(des)", 755 .base.cra_driver_name = "cbc-des-omap", 922 .compatible = "ti,omap4-des", [all …]
|
D | hifn_795x.c | 24 #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 …]
|
D | n2_core.c | 20 #include <crypto/internal/des.h> 663 u8 des[DES_KEY_SIZE]; member 664 u8 des3[3 * DES_KEY_SIZE]; 768 memcpy(ctx->key.des, key, keylen); in n2_des_setkey() 1094 /* DES: ECB CBC and CFB are supported */ 1095 { .name = "ecb(des)", 1096 .drv_name = "ecb-des", 1108 { .name = "cbc(des)", 1109 .drv_name = "cbc-des", 1122 { .name = "cfb(des)", [all …]
|
/Linux-v5.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 …]
|
/Linux-v5.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()
|
/Linux-v5.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 …]
|
/Linux-v5.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
|
/Linux-v5.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.
|
/Linux-v5.10/include/linux/sunrpc/ |
D | gss_krb5.h | 185 #define ENCTYPE_DES_CBC_CRC 0x0001 /* DES cbc mode with CRC-32 */ 186 #define ENCTYPE_DES_CBC_MD4 0x0002 /* DES cbc mode with RSA-MD4 */ 187 #define ENCTYPE_DES_CBC_MD5 0x0003 /* DES cbc mode with RSA-MD5 */ 188 #define ENCTYPE_DES_CBC_RAW 0x0004 /* DES cbc mode raw */ 190 #define ENCTYPE_DES3_CBC_SHA 0x0005 /* DES-3 cbc mode with NIST-SHA */ 191 #define ENCTYPE_DES3_CBC_RAW 0x0006 /* DES-3 cbc mode raw */ 203 /* for 3DES */
|
/Linux-v5.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 …]
|
/Linux-v5.10/drivers/crypto/rockchip/ |
D | rk3288_crypto.h | 6 #include <crypto/internal/des.h> 23 #define RK_CRYPTO_HRDMA_ERR_INT BIT(3) 31 #define RK_CRYPTO_HRDMA_ERR_ENA BIT(3) 44 #define RK_CRYPTO_HASH_START BIT(3) 58 #define RK_CRYPTO_BYTESWAP_BRFIFO BIT(3) 59 /* AES = 0 OR DES = 1 */ 98 /* AES Input Data 0-3 Register */ 104 /* AES output Data 0-3 Register */ 110 /* AES IV Data 0-3 Register */ 116 /* AES Key Data 0-3 Register */ [all …]
|
/Linux-v5.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 …]
|
/Linux-v5.10/Documentation/devicetree/bindings/crypto/ |
D | samsung-sss.yaml | 17 -- Data Encryption Standard (DES)/3DES
|
D | fsl-sec2.txt | 1 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-v5.10/drivers/crypto/qce/ |
D | skcipher.c | 12 #include <crypto/internal/des.h> 344 .name = "ecb(des)", 345 .drv_name = "ecb-des-qce", 353 .name = "cbc(des)", 354 .drv_name = "cbc-des-qce", 363 .drv_name = "ecb-3des-qce", 372 .drv_name = "cbc-3des-qce",
|
/Linux-v5.10/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-cipher.c | 9 * Add support also for DES and 3DES in CBC and ECB mode. 390 /* CBC DES */ 413 /* ECB DES */ 436 /* CBC 3DES */ 459 /* ECB 3DES */ 555 /* check and set the DES key, prepare the mode to be used */ 575 /* check and set the 3DES key, prepare the mode to be used */
|
D | sun4i-ss.h | 9 * Support DES and 3DES 33 #include <crypto/internal/des.h> 75 #define SS_CTS (3 << 12) 95 #define SS_OP_SHA1 (3 << 4)
|
D | sun4i-ss-core.c | 52 .cra_alignmask = 3, 79 .cra_alignmask = 3, 105 .cra_alignmask = 3, 126 .cra_alignmask = 3, 141 .cra_name = "cbc(des)", 142 .cra_driver_name = "cbc-des-sun4i-ss", 148 .cra_alignmask = 3, 162 .cra_name = "ecb(des)", 163 .cra_driver_name = "ecb-des-sun4i-ss", 169 .cra_alignmask = 3, [all …]
|
/Linux-v5.10/fs/cifs/ |
D | smbencrypt.c | 21 #include <crypto/des.h> 48 key[2] = ((str[1] & 0x03) << 5) | (str[2] >> 3); in str_to_key() 49 key[3] = ((str[2] & 0x07) << 4) | (str[3] >> 4); in str_to_key() 50 key[4] = ((str[3] & 0x0F) << 3) | (str[4] >> 5); in str_to_key() 67 cifs_dbg(VFS, "FIPS compliance enabled: DES not permitted\n"); in smbhash() 190 /* Does the NT MD4 hash then des encryption. */
|
/Linux-v5.10/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.8 | 77 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-v5.10/net/sunrpc/auth_gss/ |
D | gss_krb5_mech.c | 1 // SPDX-License-Identifier: BSD-3-Clause 33 * DES (All DES enctypes are mapped to the same gss functionality) 38 .name = "des-cbc-crc", 39 .encrypt_name = "cbc(des)", 55 * 3DES 241 /* Old format supports only DES! Any other enctype uses new format */ in gss_import_v1_context() 334 cdata[3] = usage&0xff; in set_cdata()
|
/Linux-v5.10/include/linux/ |
D | ccp.h | 302 /***** 3DES engine *****/ 323 * @type: Type of 3DES operation 325 * @action: 3DES operation (decrypt/encrypt) 326 * @key: key to be used for this 3DES operation 339 * 3DES operation the new IV overwrites the old IV. 477 #define CCP_ECC_MAX_OUTPUTS 3
|