/linux-6.12.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-6.12.1/fs/smb/common/ |
D | cifs_md4.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright (c) Andrew Tridgell 1997-1998. 32 x &= 0xFFFFFFFF; in lshift() 33 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 51 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 52 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 53 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 57 u32 a, b, c, d; in md4_transform() local 59 a = hash[0]; in md4_transform() 62 d = hash[3]; in md4_transform() [all …]
|
/linux-6.12.1/crypto/ |
D | md4.c | 11 * Copyright (c) Andrew Tridgell 1997-1998. 44 x &= 0xFFFFFFFF; in lshift() 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() 74 d = hash[3]; in md4_transform() 76 ROUND1(a, b, c, d, in[0], 3); in md4_transform() [all …]
|
D | md5.c | 27 0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, 0xb2, 0x04, 28 0xe9, 0x80, 0x09, 0x98, 0xec, 0xf8, 0x42, 0x7e, 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() 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() [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-6.12.1/scripts/mod/ |
D | sumversion.c | 25 * Copyright (c) Andrew Tridgell 1997-1998. 50 x &= 0xFFFFFFFF; in lshift() 51 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 69 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 70 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s)) argument 71 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s)) argument 76 while (words--) { in le32_to_cpu_array() 84 while (words--) { in cpu_to_le32_array() 92 uint32_t a, b, c, d; in md4_transform() local 94 a = hash[0]; in md4_transform() [all …]
|
/linux-6.12.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-6.12.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 \ 10 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o 12 obj-$(CONFIG_SECURITY_APPARMOR_KUNIT_TEST) += apparmor_policy_unpack_test.o 13 apparmor_policy_unpack_test-objs += policy_unpack_test.o 15 clean-files := capability_names.h rlim_names.h net_names.h 17 # Build a lower case string table of address family names 30 quiet_cmd_make-af = GEN $@ 31 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\ [all …]
|
/linux-6.12.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. 20 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 21 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 22 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 23 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 24 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 25 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, 26 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 }, 27 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 }, [all …]
|
/linux-6.12.1/arch/mips/kernel/ |
D | r2300_fpu.S | 8 * Multi-arch abstraction and asm macros for easier reading: 20 #include <asm/asm-offsets.h> 23 #define EX(a,b) \ argument 24 9: a,##b; \ 25 .section __ex_table,"a"; \ 26 PTR_WD 9b,fault; \ 29 #define EX2(a,b) \ argument 30 9: a,##b; \ 31 .section __ex_table,"a"; \ 32 PTR_WD 9b,fault; \ [all …]
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | stm32mp13-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 9 /omit-if-no-ref/ 10 adc1_pins_a: adc1-pins-0 { 12 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1 in12 */ 16 /omit-if-no-ref/ 17 adc1_usb_cc_pins_a: adc1-usb-cc-pins-0 { 20 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1 in12 */ 24 /omit-if-no-ref/ [all …]
|
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 /omit-if-no-ref/ 10 adc1_ain_pins_a: adc1-ain-0 { 14 <STM32_PINMUX('B', 0, ANALOG)>, /* ADC1_INP9 */ 15 <STM32_PINMUX('C', 0, ANALOG)>, /* ADC1_INP10 */ 17 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1_INP15 */ 21 /omit-if-no-ref/ 22 adc1_in6_pins_a: adc1-in6-0 { [all …]
|
D | stm32h7-pinctrl.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 6 * licensing only applies to this file, and not this project as a 9 * a) This file is free software; you can redistribute it and/or 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 * obtaining a copy of this software and associated documentation 35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 43 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 47 i2c1_pins_a: i2c1-0 { 51 bias-disable; [all …]
|
/linux-6.12.1/arch/arm/crypto/ |
D | blake2s-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 // load the words on-demand. 21 .word 0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A 22 .word 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19 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] [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 58 .quad 0x6a09e667f3bcc908, 0xbb67ae8584caa73b 59 .quad 0x3c6ef372fe94f82b, 0xa54ff53a5f1d36f1 60 .quad 0x510e527fade682d1, 0x9b05688c2b3e6c1f 61 .quad 0x1f83d9abfb41bd6b, 0x5be0cd19137e2179 [all …]
|
/linux-6.12.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/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 29 use constant STATE_PCPU_PAGES_REFILLED => 9; 31 # High-level events extrapolated from tracepoints 46 my $sigint_report = 0; 47 my $sigint_exit = 0; [all …]
|
/linux-6.12.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-6.12.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"); 44 #define ALAUDA_STATUS_ERROR 0x01 45 #define ALAUDA_STATUS_READY 0x40 [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"); 97 #define LSB_of(s) ((s)&0xFF) 110 char pageshift; /* 1<<ps bytes in a page */ [all …]
|
/linux-6.12.1/arch/arm/boot/dts/intel/ixp/ |
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>; 16 memory@0 { 19 reg = <0x00000000 0x8000000>; 24 stdout-path = "uart0:115200n8"; 32 compatible = "gpio-leds"; [all …]
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | dirty_log_perf_test.c | 1 // SPDX-License-Identifier: GPL-2.0 39 if (gic_fd > 0) in arch_cleanup_vm() 70 struct kvm_vcpu *vcpu = vcpu_args->vcpu; in vcpu_worker() 71 int vcpu_idx = vcpu_args->vcpu_idx; in vcpu_worker() 72 uint64_t pages_count = 0; in vcpu_worker() 76 struct timespec total = (struct timespec){0}; in vcpu_worker() 80 run = vcpu->run; in vcpu_worker() 89 TEST_ASSERT(ret == 0, "vcpu_run failed: %d", ret); in vcpu_worker() 92 exit_reason_str(run->exit_reason)); in vcpu_worker() 94 pr_debug("Got sync event from vCPU %d\n", vcpu_idx); in vcpu_worker() [all …]
|
/linux-6.12.1/drivers/gpu/drm/display/ |
D | drm_dsc_helper.c | 1 // SPDX-License-Identifier: MIT 6 * Manasi Navare <manasi.d.navare@intel.com> 23 * VESA specification for DP 1.4 adds a new feature called Display Stream 35 * drm_dsc_dp_pps_header_init() - Initializes the PPS Header 47 memset(pps_header, 0, sizeof(*pps_header)); in drm_dsc_dp_pps_header_init() 49 pps_header->HB1 = DP_SDP_PPS; in drm_dsc_dp_pps_header_init() 50 pps_header->HB2 = DP_SDP_PPS_HEADER_PAYLOAD_BYTES_MINUS_1; in drm_dsc_dp_pps_header_init() 55 * drm_dsc_dp_rc_buffer_size - get rc buffer size in bytes 57 * @rc_buffer_size: number of blocks - 1, according to DPCD offset 63h 60 * buffer size in bytes, or 0 on invalid input [all …]
|
/linux-6.12.1/arch/s390/include/asm/ |
D | timex.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Derived from "include/asm-i386/timex.h" 18 #define TOD_UNIX_EPOCH 0x7d91048bca000000ULL 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 */ 48 " ipm %0\n" in set_tod_clock() 49 " srl %0,28\n" in set_tod_clock() 50 : "=d" (cc) : "Q" (time) : "cc"); in set_tod_clock() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_flow_dissector.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 unmount=0 10 # Kselftest framework requirement - SKIP code is 4. 14 if [ $UID != 0 ]; then 19 # This test needs to be run in a network namespace with in_netns.sh. Check if 22 if [[ -z $(ip netns identify $$) ]]; then 23 err=0 30 if ! unshare --net $bpftool prog attach pinned \ 39 if unshare --net $bpftool prog attach pinned \ 51 rm -rf /sys/fs/bpf/flow [all …]
|
/linux-6.12.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 …]
|