Home
last modified time | relevance | path

Searched +full:1 +full:- +full:9 +full:a +full:- +full:d (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/linux/arch/powerpc/crypto/
H A Daes-tab-4k.S1 /* 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/fs/smb/common/
H A Dcifs_md4.c1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright (c) Andrew Tridgell 1997-1998.
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()
60 b = hash[1]; in md4_transform()
62 d = hash[3]; in md4_transform()
[all …]
/linux/crypto/
H A Dmd4.c11 * 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 …]
H A Dmd5.c38 (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 …]
H A Dblake2b_generic.c1 // 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/scripts/mod/
H A Dsumversion.c25 * Copyright (c) Andrew Tridgell 1997-1998.
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()
95 b = hash[1]; in md4_transform()
[all …]
/linux/security/apparmor/
H A DMakefile1 # 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
19 # #define AF_LOCAL 1 /* POSIX name for AF_UNIX */
22 # [1] = "local",
[all …]
/linux/tools/certs/
H A Dprint-cert-tbs-hash.sh2 # 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/lib/crypto/
H A Dblake2s-generic.c1 // 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/arch/arm/boot/dts/st/
H A Dstm32mp15-pinctrl.dtsi1 // 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 {
13 <STM32_PINMUX('B', 1, ANALOG)>, /* ADC1_INP5 */
17 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1_INP15 */
21 /omit-if-no-ref/
22 adc1_in6_pins_a: adc1-in6-0 {
28 /omit-if-no-ref/
[all …]
H A Dstm32mp13-pinctrl.dtsi1 // 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 …]
/linux/arch/arm/crypto/
H A Dblake2s-core.S1 /* 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 …]
H A Dblake2b-neon-core.S1 /* 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/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl2 # 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
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/drivers/usb/storage/
H A Dalauda.c1 // 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)
116 #define MEDIA_PORT(us) us->srb->device->lun
[all …]
H A Dsddr09.c1 // 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/Documentation/devicetree/bindings/display/
H A Dsimple-framebuffer.yaml1 # 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/arch/arm/boot/dts/intel/ixp/
H A Dintel-ixp43x-gateworks-gw2358.dts1 // 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 …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Ddm.c1 // 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/drivers/gpu/drm/display/
H A Ddrm_dsc_helper.c1 // 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
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
64 int size = 1024 * (rc_buffer_size + 1); in drm_dsc_dp_rc_buffer_size()
68 return 1 * size; in drm_dsc_dp_rc_buffer_size()
[all …]
/linux/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c1 // SPDX-License-Identifier: GPL-2.0
58 static int nr_vcpus = 1;
70 struct kvm_vcpu *vcpu = vcpu_args->vcpu; in vcpu_worker()
71 int vcpu_idx = vcpu_args->vcpu_idx; 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()
96 pr_debug("vCPU %d updated last completed iteration to %d\n", in vcpu_worker()
100 pages_count += vcpu_args->pages; in vcpu_worker()
[all …]
/linux/arch/alpha/kernel/
H A Dsys_noritake.c1 // 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).
50 noritake_enable_irq(struct irq_data *d) in noritake_enable_irq() argument
52 noritake_update_irq_hw(d->irq, cached_irq_mask |= 1 << (d->irq - 16)); in noritake_enable_irq()
56 noritake_disable_irq(struct irq_data *d) in noritake_disable_irq() argument
58 noritake_update_irq_hw(d->irq, cached_irq_mask &= ~(1 << (d->irq - 16))); in noritake_disable_irq()
86 pld &= pld - 1; /* clear least bit set */ in noritake_device_interrupt()
[all …]
H A Dsys_sx164.c1 // 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 …]
/linux/arch/microblaze/include/asm/
H A Dhash.h1 /* 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/scripts/
H A Dcheckstack.pl2 # SPDX-License-Identifier: GPL-2.0
9 # s390 port and big speedup by Arnd Bergmann <arnd@bergmann-dalldorf.de>
21 # objdump -d vmlinux | scripts/checkstack.pl [arch] [min_stack]
31 # $1 (first bracket) matches the size of the stack growth
35 # $1 (first bracket) matches the dynamic amount of the stack growth
44 $arch = `uname -m`;
49 if ($min_stack eq "" || $min_stack !~ /^\d+$/) {
53 $x = "[0-9a-f]"; # hex character
54 $xs = "[0-9a-f ]"; # hex character or space
57 #ffffffc0006325cc: a9bb7bfd stp x29, x30, [sp, #-80]!
[all …]

12345678910>>...42