/Linux-v6.1/arch/powerpc/crypto/ |
D | aes-tab-4k.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * crypto/aes_generic.c and are designed to be simply accessed by a combination 11 * of rlwimi/lwz instructions with a minimum of table registers (usually only 16 * For the safety-conscious it has to be noted that they might be vulnerable 19 * This is a quite good tradeoff for low power devices (e.g. routers) without 25 #define R(a, b, c, d) \ argument 26 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a 32 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */ 34 .long R(ee, 77, 77, 99), R(f6, 7b, 7b, 8d) 35 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) [all …]
|
/Linux-v6.1/fs/smbfs_common/ |
D | cifs_md4.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright (c) Andrew Tridgell 1997-1998. 32 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 50 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 51 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 52 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 56 u32 a, b, c, d; in md4_transform() local 58 a = hash[0]; in md4_transform() 59 b = hash[1]; in md4_transform() 61 d = hash[3]; in md4_transform() [all …]
|
/Linux-v6.1/crypto/ |
D | md4.c | 11 * Copyright (c) Andrew Tridgell 1997-1998. 45 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 64 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 65 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 69 u32 a, b, c, d; in md4_transform() local 71 a = hash[0]; in md4_transform() 72 b = hash[1]; in md4_transform() 74 d = hash[3]; in md4_transform() 76 ROUND1(a, b, c, d, in[0], 3); in md4_transform() [all …]
|
D | md5.c | 38 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x) 42 u32 a, b, c, d; in md5_transform() local 44 a = hash[0]; in md5_transform() 45 b = hash[1]; in md5_transform() 47 d = hash[3]; in md5_transform() 49 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform() 50 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform() 51 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform() 52 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform() 53 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform() [all …]
|
D | blake2b_generic.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR Apache-2.0) 11 * - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0 12 * - OpenSSL license : https://www.openssl.org/source/license.html 13 * - Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0 26 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 27 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 28 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 29 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 30 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 31 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, [all …]
|
/Linux-v6.1/scripts/mod/ |
D | sumversion.c | 23 * Copyright (c) Andrew Tridgell 1997-1998. 49 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 67 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 68 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s)) argument 69 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s)) argument 74 while (words--) { in le32_to_cpu_array() 82 while (words--) { in cpu_to_le32_array() 90 uint32_t a, b, c, d; in md4_transform() local 92 a = hash[0]; in md4_transform() 93 b = hash[1]; in md4_transform() [all …]
|
/Linux-v6.1/security/apparmor/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor.o 6 apparmor-y := apparmorfs.o audit.o capability.o task.o ipc.o lib.o match.o \ 9 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o 11 clean-files := capability_names.h rlim_names.h net_names.h 13 # Build a lower case string table of address family names 15 # #define AF_LOCAL 1 /* POSIX name for AF_UNIX */ 18 # [1] = "local", 26 quiet_cmd_make-af = GEN $@ 27 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\ [all …]
|
/Linux-v6.1/tools/certs/ |
D | print-cert-tbs-hash.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # Compute and print the To Be Signed (TBS) hash of a certificate. This is used 10 # This output should be redirected, without newline, in a file (hash0.txt) and 11 # signed to create a PKCS#7 file (hash0.p7s). Both of these files can then be 14 # Exemple on a workstation: 15 # ./print-cert-tbs-hash.sh certificate-to-invalidate.pem > hash0.txt 16 # openssl smime -sign -in hash0.txt -inkey builtin-private-key.pem \ 17 # -signer builtin-certificate.pem -certfile certificate-chain.pem \ 18 # -noattr -binary -outform DER -out hash0.p7s 20 # Exemple on a managed system: [all …]
|
/Linux-v6.1/lib/crypto/ |
D | blake2s-generic.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 21 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 22 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 23 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 24 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 25 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 26 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, 27 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 }, 28 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 }, [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | stm32mp15-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 9 adc1_in6_pins_a: adc1-in6-0 { 15 adc12_ain_pins_a: adc12-ain-0 { 24 adc12_ain_pins_b: adc12-ain-1 { 31 adc12_usb_cc_pins_a: adc12-usb-cc-pins-0 { 33 pinmux = <STM32_PINMUX('A', 4, ANALOG)>, /* ADC12 in18 */ 34 <STM32_PINMUX('A', 5, ANALOG)>; /* ADC12 in19 */ 38 cec_pins_a: cec-0 { [all …]
|
D | intel-ixp43x-gateworks-gw2358.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for Gateworks IXP43x-based Cambria GW2358 6 /dts-v1/; 8 #include "intel-ixp43x.dtsi" 13 #address-cells = <1>; 14 #size-cells = <1>; 24 stdout-path = "uart0:115200n8"; 32 compatible = "gpio-leds"; 33 led-user { 36 default-state = "on"; [all …]
|
D | intel-ixp4xx-reference-design.dtsi | 1 // SPDX-License-Identifier: ISC 5 * set-up for IXDP425, IXCDP1100, KIXRP435 and IXDP465. 20 stdout-path = "uart0:115200n8"; 28 compatible = "i2c-gpio"; 29 sda-gpios = <&gpio0 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 30 scl-gpios = <&gpio0 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 31 #address-cells = <1>; 32 #size-cells = <0>; 36 * Philips PCF8582C-2T/03 512byte I2C EEPROM 43 read-only; [all …]
|
/Linux-v6.1/arch/arm/crypto/ |
D | blake2s-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 // load the words on-demand. 24 .macro __ldrd a, b, src, offset 26 ldrd \a, \b, [\src, #\offset] 28 ldr \a, [\src, #\offset] 33 .macro __strd a, b, dst, offset 35 strd \a, \b, [\dst, #\offset] 37 str \a, [\dst, #\offset] 42 .macro _le32_bswap a, tmp 44 rev_l \a, \tmp [all …]
|
D | blake2b-neon-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 29 // M_0-M_3 are occasionally used for other purposes too. 50 // rotation amounts with NEON. (On Cortex-A53 it's the same speed as 51 // vshr.u64 + vsli.u64, while on Cortex-A7 it's faster.) 53 .byte 3, 4, 5, 6, 7, 0, 1, 2 55 .byte 2, 3, 4, 5, 6, 7, 0, 1 64 // NEON registers q0-q7. The message block is in q8..q15 (M_0-M_15). The stack 65 // pointer points to a 32-byte aligned buffer containing a copy of q8 and q9 66 // (M_0-M_3), so that they can be reloaded if they are used as temporary 67 // registers. The macro arguments s0-s15 give the order in which the message [all …]
|
/Linux-v6.1/Documentation/trace/postprocess/ |
D | trace-pagealloc-postprocess.pl | 2 # This is a POC (proof of concept or piece of crap, take your pick) for reading the 4 # to extract some high-level information on what is going on. The accuracy of the parser 7 # Example usage: trace-pagealloc-postprocess.pl < /sys/kernel/debug/tracing/trace_pipe 9 # --prepend-parent Report on the parent proc and PID 10 # --read-procstat If the trace lacks process info, get it from /proc 11 # --ignore-pid Aggregate processes of the same name together 19 use constant MM_PAGE_ALLOC => 1; 29 use constant STATE_PCPU_PAGES_REFILLED => 9; 31 # High-level events extrapolated from tracepoints 52 if ($current_time - 2 > $sigint_received) { [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/ |
D | simple-framebuffer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/simple-framebuffer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hans de Goede <hdegoede@redhat.com> 13 A simple frame-buffer describes a frame-buffer setup by firmware or 19 sub-nodes of the chosen node (*). Simplefb nodes must be named 22 If the devicetree contains nodes for the display hardware used by a 23 simplefb, then the simplefb node must contain a property called 24 display, which contains a phandle pointing to the primary display [all …]
|
/Linux-v6.1/drivers/usb/storage/ |
D | alauda.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for Alauda-based card readers 8 * The 'Alauda' is a chip manufacturered by RATOC for OEM use. 10 * Alauda implements a vendor-specific command set to access two media reader 14 * The driver was developed through reverse-engineering, with the help of the 16 * (very old) vendor-supplied GPL sma03 driver. 34 #define DRV_NAME "ums-alauda" 36 MODULE_DESCRIPTION("Driver for Alauda-based card readers"); 63 * Bulk opcodes (byte 1) 114 #define MEDIA_PORT(us) us->srb->device->lun [all …]
|
D | sddr09.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for SanDisk SDDR-09 SmartMedia reader 10 * The SanDisk SDDR-09 SmartMedia reader uses the Shuttle EUSB-01 chip. 11 * This chip is a programmable USB controller. In the SDDR-09, it has 12 * been programmed to obey a certain limited set of SCSI commands. 13 * This driver translates the "real" SCSI commands to the SDDR-09 SCSI 45 #define DRV_NAME "ums-sddr09" 47 MODULE_DESCRIPTION("Driver for SanDisk SDDR-09 SmartMedia reader"); 109 int chipshift; /* 1<<cs bytes total capacity */ 110 char pageshift; /* 1<<ps bytes in a page */ [all …]
|
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2010 Realtek Corporation.*/ 17 0x081, /* 0, -12.0dB */ 18 0x088, /* 1, -11.5dB */ 19 0x090, /* 2, -11.0dB */ 20 0x099, /* 3, -10.5dB */ 21 0x0A2, /* 4, -10.0dB */ 22 0x0AC, /* 5, -9.5dB */ 23 0x0B6, /* 6, -9.0dB */ 24 0x0C0, /* 7, -8.5dB */ [all …]
|
/Linux-v6.1/arch/microblaze/include/asm/ |
D | hash.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * a supported configuration. 10 * With just a barrel shifter, we can implement an efficient constant 11 * multiply using shifts and adds. GCC can find a 9-step solution, but 12 * this 6-step solution was found by Yevgen Voronenko's implementation 15 * That software is really not designed for a single multiplier this large, 17 * 6-shift, 6-add sequences for computing x * 0x61C88647. They are all 19 * a = (x << 9) + c; 20 * b = (x << 23) + a; 21 * return (a<<11) + (b<<6) + (c<<3) - b; [all …]
|
/Linux-v6.1/arch/alpha/kernel/ |
D | sys_sx164.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1995 David A Rusling 6 * Copyright (C) 1996 Jay A Estabrook 49 /* Not interested in the bogus interrupts (0,3,4,5,40-47), in sx164_init_irq() 50 NMI (1), or HALT (2). */ in sx164_init_irq() 56 if (request_irq(16 + 6, no_action, 0, "timer-cascade", NULL)) in sx164_init_irq() 57 pr_err("Failed to register timer-cascade interrupt\n"); in sx164_init_irq() 66 * 1 NMI 72 * 7 PCI-ISA Bridge 73 * 8 Interrupt Line A from slot 3 [all …]
|
D | sys_noritake.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1995 David A Rusling 6 * Copyright (C) 1996 Jay A Estabrook 9 * Code supporting the NORITAKE (AlphaServer 1000A), 10 * CORELLE (AlphaServer 800), and ALCOR Primo (AlphaStation 600A). 51 noritake_enable_irq(struct irq_data *d) in noritake_enable_irq() argument 53 noritake_update_irq_hw(d->irq, cached_irq_mask |= 1 << (d->irq - 16)); in noritake_enable_irq() 57 noritake_disable_irq(struct irq_data *d) in noritake_disable_irq() argument 59 noritake_update_irq_hw(d->irq, cached_irq_mask &= ~(1 << (d->irq - 16))); in noritake_disable_irq() 87 pld &= pld - 1; /* clear least bit set */ in noritake_device_interrupt() [all …]
|
/Linux-v6.1/lib/ |
D | test_hexdump.c | 13 '\xbe', '\x32', '\xdb', '\x7b', '\x0a', '\x18', '\x93', '\xb2', /* 00 - 07 */ 14 '\x70', '\xba', '\xc4', '\x24', '\x7d', '\x83', '\x34', '\x9b', /* 08 - 0f */ 15 '\xa6', '\x9c', '\x31', '\xad', '\x9c', '\x0f', '\xac', '\xe9', /* 10 - 17 */ 16 '\x4c', '\xd1', '\x19', '\x99', '\x43', '\xb1', '\xaf', '\x0c', /* 18 - 1f */ 19 static const unsigned char data_a[] = ".2.{....p..$}.4...1.....L...C..."; 22 "be", "32", "db", "7b", "0a", "18", "93", "b2", 23 "70", "ba", "c4", "24", "7d", "83", "34", "9b", 24 "a6", "9c", "31", "ad", "9c", "0f", "ac", "e9", 29 "32be", "7bdb", "180a", "b293", 30 "ba70", "24c4", "837d", "9b34", [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/ |
D | test_flow_dissector.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # Kselftest framework requirement - SKIP code is 4. 17 # This test needs to be run in a network namespace with in_netns.sh. Check if 20 if [[ -z $(ip netns identify $$) ]]; then 28 if ! unshare --net $bpftool prog attach pinned \ 31 err=1 37 if unshare --net $bpftool prog attach pinned \ 40 err=1 46 err=1 49 rm -rf /sys/fs/bpf/flow [all …]
|
/Linux-v6.1/arch/s390/include/asm/ |
D | timex.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Derived from "include/asm-i386/timex.h" 26 __uint128_t tod : 64; /* bits 0-63 of tod clock */ 31 __uint128_t eitod : 72; /* epoch index + bits 0-63 tod clock */ 35 __uint128_t us : 60; /* micro-seconds */ 36 __uint128_t sus : 12; /* sub-microseconds */ 47 " sck %1\n" in set_tod_clock() 50 : "=d" (cc) : "Q" (time) : "cc"); in set_tod_clock() 59 " stcke %1\n" in store_tod_clock_ext_cc() 62 : "=d" (cc), "=Q" (*clk) : : "cc"); in store_tod_clock_ext_cc() [all …]
|