| /kernel/linux/linux-5.10/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 14 * instructions. E.g. evldw, evlwwsplat, ... 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 */ 35 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/crypto/ |
| D | aes-tab-4k.S | 15 * crypto/aes_generic.c and are designed to be simply accessed by a combination 16 * of rlwimi/lwz instructions with a minimum of table registers (usually only 19 * instructions. E.g. evldw, evlwwsplat, ... 21 * For the safety-conscious it has to be noted that they might be vulnerable 24 * This is a quite good tradeoff for low power devices (e.g. routers) without 30 #define R(a, b, c, d) \ argument 31 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a 37 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */ 40 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) 45 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) [all …]
|
| /kernel/linux/linux-5.10/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 26 quiet_cmd_make-af = GEN $@ 27 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\ 28 sed $< >>$@ -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \ 29 's/^\#define[ \t]+AF_([A-Z0-9_]+)[ \t]+([0-9]+)(.*)/[\2] = "\L\1",/p';\ [all …]
|
| /kernel/linux/linux-4.19/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 26 quiet_cmd_make-af = GEN $@ 27 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\ 28 sed $< >>$@ -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \ 29 's/^\#define[ \t]+AF_([A-Z0-9_]+)[ \t]+([0-9]+)(.*)/[\2] = "\L\1",/p';\ [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_flow_dissector.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 unmount=0 8 # Kselftest framework requirement - SKIP code is 4. 12 if [ $UID != 0 ]; then 17 # This test needs to be run in a network namespace with in_netns.sh. Check if 20 if [[ -z $(ip netns identify $$) ]]; then 21 err=0 28 if ! unshare --net $bpftool prog attach pinned \ 37 if unshare --net $bpftool prog attach pinned \ 49 rm -rf /sys/fs/bpf/flow [all …]
|
| /kernel/linux/linux-5.10/tools/memory-model/scripts/ |
| D | parseargs.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 8 # Include into other Linux kernel tools/memory-model scripts. 12 # Author: Paul E. McKenney <paulmck@linux.vnet.ibm.com> 19 echo if test -z '"$'$1'"' > $T/s 29 initparam LKMM_HERD_OPTIONS "-conf linux-kernel.cfg" 34 scriptname=$0 38 echo " --destdir path (place for .litmus.out, default by .litmus)" 39 echo " --herdopts -conf linux-kernel.cfg ..." 40 echo " --jobs N (number of jobs, default one per CPU)" 41 echo " --procs N (litmus tests with at most this many processes)" [all …]
|
| /kernel/linux/linux-5.10/tools/perf/tests/shell/ |
| D | test_arm_coresight.sh | 9 # SPDX-License-Identifier: GPL-2.0 16 perf list | grep -q 'cs_etm//' && return 0 26 rm -f ${perfdata} 27 rm -f ${file} 34 rm -f $file 35 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \ 36 -- taskset -c $2 touch $file 43 …6512 1 branches:u: ffffb220824c strcmp+0xc (/lib/aarch64-linux-gnu/ld-2.27.s… 44 …512 1 branches:u: ffffb22082e0 strcmp+0xa0 (/lib/aarch64-linux-gnu/ld-2.27.s… 45 …512 1 branches:u: ffffb2208320 strcmp+0xe0 (/lib/aarch64-linux-gnu/ld-2.27.s… [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
| D | kvm-recheck-refscale.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Analyze a given results directory for refscale performance measurements. 6 # Usage: kvm-recheck-refscale.sh resdir 10 # Authors: Paul E. McKenney <paulmck@linux.ibm.com> 13 if test -d "$i" -a -r "$i" 23 configfile=`echo $i | sed -e 's/^.*\///'` 25 sed -e 's/^\[[^]]*]//' < $i/console.log | tr -d '\015' | 26 awk -v configfile="$configfile" ' 28 if (dataphase + 0 == 0) { 30 # print configfile, $0; [all …]
|
| D | kvm-test-1-run.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Run a kvm-based test of the specified tree on the specified configs. 7 # Execute this in the source tree. Do not run it as a background task 10 # Usage: kvm-test-1-run.sh config builddir resdir seconds qemu-args boot_args 12 # qemu-args defaults to "-enable-kvm -nographic", along with arguments 18 # Anything you specify for either qemu-args or boot_args is appended to 19 # the default values. The "-smp" value is deduced from the contents of 26 # Authors: Paul E. McKenney <paulmck@linux.ibm.com> 28 T=${TMPDIR-/tmp}/kvm-test-1-run.sh.$$ 29 trap 'rm -rf $T' 0 [all …]
|
| D | functions.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 8 # Authors: Paul E. McKenney <paulmck@linux.ibm.com> 10 # bootparam_hotplug_cpu bootparam-string 12 # Returns 1 if the specified boot-parameter string tells rcutorture to 13 # test CPU-hotplug operations. 15 echo "$1" | grep -q "torture\.onoff_" 18 # checkarg --argname argtype $# arg mustmatch cannotmatch 23 if test $3 -le 1 28 if echo "$4" | grep -q -e "$5" 35 if echo "$4" | grep -q -e "$6" [all …]
|
| D | kvm.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Run a series of tests under KVM. By default, this series is specified 5 # by the relevant CFLIST file, but can be overridden by the --configs 6 # command-line argument. 12 # Authors: Paul E. McKenney <paulmck@linux.ibm.com> 14 scriptname=$0 17 T=${TMPDIR-/tmp}/kvm.sh.$$ 18 trap 'rm -rf $T' 0 46 cpus=0 47 ds=`date +%Y.%m.%d-%H.%M.%S` [all …]
|
| /kernel/linux/linux-4.19/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 */ 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", 25 "4c", "d1", "19", "99", "43", "b1", "af", "0c", 29 "32be", "7bdb", "180a", "b293", 30 "ba70", "24c4", "837d", "9b34", [all …]
|
| /kernel/linux/linux-5.10/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 */ 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", 25 "4c", "d1", "19", "99", "43", "b1", "af", "0c", 29 "32be", "7bdb", "180a", "b293", 30 "ba70", "24c4", "837d", "9b34", [all …]
|
| /kernel/linux/linux-5.10/crypto/ |
| D | sm3_generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SM3 secure hash, as specified by OSCCA GM/T 0004-2012 SM3 and 4 * described at https://tools.ietf.org/html/draft-shen-sm3-hash-01 7 * Written by Gilad Ben-Yossef <gilad@benyossef.com> 22 0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F, 23 0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F, 24 0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74, 25 0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B 31 return x ^ rol32(x, 9) ^ rol32(x, 17); in p0() 39 static inline u32 ff(unsigned int n, u32 a, u32 b, u32 c) in ff() argument [all …]
|
| /kernel/linux/linux-4.19/Documentation/ABI/stable/ |
| D | sysfs-class-tpm | 4 Contact: tpmdd-devel@lists.sf.net 5 Description: The device/ directory under a specific TPM instance exposes 12 Contact: tpmdd-devel@lists.sf.net 13 Description: The "active" property prints a '1' if the TPM chip is accepting 16 visible to the OS, but will only accept a restricted set of 24 Contact: tpmdd-devel@lists.sf.net 32 Contact: tpmdd-devel@lists.sf.net 37 Manufacturer: 0x53544d20 41 Manufacturer is a hex dump of the 4 byte manufacturer info 42 space in a TPM. TCG version shows the TCG TPM spec level that [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ipvs/ |
| D | ip_vs_est.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Global data moved to netns i.e struct netns_ipvs 28 This code is to estimate rate in a shorter interval (such as 8 29 seconds) for virtual services and real servers. For measure rate in a 30 long interval, it is easy to implement a user level daemon which 38 avgrate = avgrate*(1-W) + rate*W 40 where W = 2^(-2) 46 * Netlink users can see 64-bit values but sockopt users are restricted 47 to 32-bit values for conns, packets, bps, cps and pps. 49 * A lot of code is taken from net/core/gen_estimator.c [all …]
|
| /kernel/linux/linux-4.19/drivers/pinctrl/ |
| D | pinctrl-lpc18xx.c | 19 #include <linux/pinctrl/pinconf-generic.h> 22 #include "pinctrl-utils.h" 25 #define LPC18XX_SCU_REG_ENAIO0 0xc88 26 #define LPC18XX_SCU_REG_ENAIO1 0xc8c 27 #define LPC18XX_SCU_REG_ENAIO2 0xc90 28 #define LPC18XX_SCU_REG_ENAIO2_DAC BIT(0) 31 #define LPC18XX_SCU_PIN_MODE_MASK 0x7 37 #define LPC18XX_SCU_PIN_EHD_MASK 0x300 43 #define LPC18XX_SCU_I2C0_EFP BIT(0) 47 #define LPC18XX_SCU_I2C0_SCL_SHIFT 0 [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/ |
| D | pinctrl-lpc18xx.c | 19 #include <linux/pinctrl/pinconf-generic.h> 22 #include "pinctrl-utils.h" 25 #define LPC18XX_SCU_REG_ENAIO0 0xc88 26 #define LPC18XX_SCU_REG_ENAIO1 0xc8c 27 #define LPC18XX_SCU_REG_ENAIO2 0xc90 28 #define LPC18XX_SCU_REG_ENAIO2_DAC BIT(0) 31 #define LPC18XX_SCU_PIN_MODE_MASK 0x7 37 #define LPC18XX_SCU_PIN_EHD_MASK 0x300 43 #define LPC18XX_SCU_I2C0_EFP BIT(0) 47 #define LPC18XX_SCU_I2C0_SCL_SHIFT 0 [all …]
|
| /kernel/linux/linux-5.10/scripts/genksyms/ |
| D | lex.l | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 /* We've got a two-level lexer here. We let flex do basic tokenization 28 IDENT [A-Za-z_\$][A-Za-z0-9_\$]* 30 O_INT 0[0-7]* 31 D_INT [1-9][0-9]* 32 X_INT 0[Xx][0-9A-Fa-f]+ 36 FRAC ([0-9]*\.[0-9]+)|([0-9]+\.) 37 EXP [Ee][+-]?[0-9]+ 39 REAL ({FRAC}{EXP}?{F_SUF}?)|([0-9]+{EXP}{F_SUF}?) 44 MC_TOKEN ([~%^&*+=|<>/-]=)|(&&)|("||")|(->)|(<<)|(>>) [all …]
|
| /kernel/linux/linux-4.19/scripts/genksyms/ |
| D | lex.l | 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 You should have received a copy of the GNU General Public License 21 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 34 /* We've got a two-level lexer here. We let flex do basic tokenization 40 IDENT [A-Za-z_\$][A-Za-z0-9_\$]* 42 O_INT 0[0-7]* 43 D_INT [1-9][0-9]* 44 X_INT 0[Xx][0-9A-Fa-f]+ 48 FRAC ([0-9]*\.[0-9]+)|([0-9]+\.) 49 EXP [Ee][+-]?[0-9]+ [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/stable/ |
| D | sysfs-class-tpm | 4 Contact: linux-integrity@vger.kernel.org 5 Description: The device/ directory under a specific TPM instance exposes 12 Contact: linux-integrity@vger.kernel.org 13 Description: The "active" property prints a '1' if the TPM chip is accepting 16 visible to the OS, but will only accept a restricted set of 24 Contact: linux-integrity@vger.kernel.org 32 Contact: linux-integrity@vger.kernel.org 37 Manufacturer: 0x53544d20 41 Manufacturer is a hex dump of the 4 byte manufacturer info 42 space in a TPM. TCG version shows the TCG TPM spec level that [all …]
|
| /kernel/linux/linux-4.19/crypto/ |
| D | sm3_generic.c | 2 * SM3 secure hash, as specified by OSCCA GM/T 0004-2012 SM3 and 3 * described at https://tools.ietf.org/html/draft-shen-sm3-hash-01 6 * Written by Gilad Ben-Yossef <gilad@benyossef.com> 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * You should have received a copy of the GNU General Public License 33 0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F, 34 0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F, 35 0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74, 36 0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B 42 return x ^ rol32(x, 9) ^ rol32(x, 17); in p0() [all …]
|
| /kernel/linux/linux-4.19/net/netfilter/ipvs/ |
| D | ip_vs_est.c | 13 * Global data moved to netns i.e struct netns_ipvs 32 This code is to estimate rate in a shorter interval (such as 8 33 seconds) for virtual services and real servers. For measure rate in a 34 long interval, it is easy to implement a user level daemon which 42 avgrate = avgrate*(1-W) + rate*W 44 where W = 2^(-2) 50 * Netlink users can see 64-bit values but sockopt users are restricted 51 to 32-bit values for conns, packets, bps, cps and pps. 53 * A lot of code is taken from net/core/gen_estimator.c 58 * Make a summary from each cpu [all …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/rcutorture/bin/ |
| D | functions.sh | 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # You should have received a copy of the GNU General Public License 17 # http://www.gnu.org/licenses/gpl-2.0.html. 21 # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> 23 # bootparam_hotplug_cpu bootparam-string 25 # Returns 1 if the specified boot-parameter string tells rcutorture to 26 # test CPU-hotplug operations. 28 echo "$1" | grep -q "rcutorture\.onoff_" 31 # checkarg --argname argtype $# arg mustmatch cannotmatch 36 if test $3 -le 1 [all …]
|