/openbmc/linux/arch/powerpc/crypto/ |
H A 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 …]
|
/openbmc/linux/fs/smb/common/ |
H A D | cifs_md4.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright (c) Andrew Tridgell 1997-1998. 31 x &= 0xFFFFFFFF; in lshift() 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() 61 d = hash[3]; in md4_transform() [all …]
|
/openbmc/qemu/pc-bios/ |
HD | u-boot.e500 | ... -f A v q * q 3 x4 j-=m ld \c Qkkbal 0e N b l ... |
/openbmc/linux/crypto/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | common.filter | 4 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # You should have received a copy of the GNU General Public License 24 sed -Ee 's/[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}/yyyy-mm-dd hh:mm:ss/' 29 sed -E -e 's/[0-9. ]{5} [KMGT]iB/ SIZE/' \ 30 -e 's/[0-9. ]{5} B/ SIZE/' 35 sed -Ee 's/\#block[0-9]{3,}/NODE_NAME/' 40 gsed -e '/Attached to:/s/\device[[0-9]\+\]/device[N]/g' 46 sed -e "s#$TEST_DIR/#TEST_DIR/#g" \ 47 -e "s#$SOCK_DIR/#SOCK_DIR/#g" \ [all …]
|
/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | create_go.py | 1 # Recipe creation tool - go support plugin 9 # SPDX-License-Identifier: GPL-2.0-only 42 # see https://go.dev/ref/mod#pseudo-versions 44 …r"^v[0-9]+\.(0\.0-|\d+\.\d+-([^+]*\.)?0\.)(?P<utc>\d{14})-(?P<commithash>[A-Za-z0-9]+)(\+[0-9A-Za-… 47 …0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA… 61 recipe = "go-native" 70 "You will likely need to add a layer that provides '%s'" % (recipe)) 87 """Resolve the repository in a static manner 129 … r'^(?P<root>github\.com/[A-Za-z0-9_.\-]+/[A-Za-z0-9_.\-]+)(/(?P<suffix>[A-Za-z0-9_.\-]+))*$') 137 …r'^(?P<root>bitbucket\.org/(?P<bitname>[A-Za-z0-9_.\-]+/[A-Za-z0-9_.\-]+))(/(?P<suffix>[A-Za-z0-9_… [all …]
|
/openbmc/linux/scripts/mod/ |
H A D | sumversion.c | 23 * Copyright (c) Andrew Tridgell 1997-1998. 48 x &= 0xFFFFFFFF; in lshift() 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() [all …]
|
/openbmc/linux/tools/certs/ |
H A 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 …]
|
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/ |
H A D | 0003-wayland-Add-Wayland-example.patch | 6 --- 7 Upstream-Status: Pending 23 diff --git a/host_applications/linux/apps/hello_pi/CMakeLists.txt b/host_applications/linux/apps/he… 25 --- a/host_applications/linux/apps/hello_pi/CMakeLists.txt 27 @@ -25,6 +25,7 @@ add_subdirectory(hello_encode) 35 diff --git a/host_applications/linux/apps/hello_pi/Makefile b/host_applications/linux/apps/hello_pi… 37 --- a/host_applications/linux/apps/hello_pi/Makefile 39 @@ -24,6 +24,7 @@ apps: libs/ilclient/libilclient.a libs/vgfont/libvgfont.a libs/revision/librevis 40 $(MAKE) -C hello_teapot 41 $(MAKE) -C hello_fft [all …]
|
/openbmc/linux/lib/crypto/ |
H A 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 …]
|
/openbmc/linux/security/apparmor/ |
H A 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 …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A 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_ain_pins_a: adc1-ain-0 { 13 <STM32_PINMUX('B', 0, ANALOG)>, /* ADC1_INP9 */ 14 <STM32_PINMUX('C', 0, ANALOG)>, /* ADC1_INP10 */ 16 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1_INP15 */ 20 adc1_in6_pins_a: adc1-in6-0 { 26 adc12_ain_pins_a: adc12-ain-0 { 35 adc12_ain_pins_b: adc12-ain-1 { [all …]
|
/openbmc/u-boot/lib/ |
H A D | md5.c | 3 * (fs/cifs/md5.c) into U-Boot by Bartlomiej Sieka <tur@semihalf.com>. 7 * This code implements the MD5 message-digest algorithm. 17 * To compute the message digest of a chunk of bytes, declare an 20 * will fill a supplied 16-byte array with the digest. 34 #include <u-boot/md5.h> 40 * Note: this code is harmless on little-endian machines. 48 ((unsigned) buf[1] << 8 | buf[0]); in byteReverse() 51 } while (--longs); in byteReverse() 55 * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious 61 ctx->buf[0] = 0x67452301; in MD5Init() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/ |
H A D | 0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch | 9 In file included from ../git/lib/libmtd.c:40:0: 13 [-Wformat=] 19 return sys_errmsg("cannot seek mtd%d to offset %"PRIdoff_t, 23 #define PRId32 "d" 25 Upstream-Status: Submitted 27 Signed-off-by: Thorsten Glaser <tg@mirbsd.org> 28 --- 29 include/common.h | 18 ------------------ 30 jffsX-utils/mkfs.jffs2.c | 20 ++++++++++---------- 31 lib/libmtd.c | 8 ++++---- [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A 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 …]
|
/openbmc/linux/Documentation/trace/postprocess/ |
H A 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 …]
|
/openbmc/linux/arch/arm/crypto/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A 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 …]
|
/openbmc/openbmc/poky/meta/recipes-core/sysvinit/sysvinit/ |
H A D | rc | 7 # A startup script is _not_ run when the service was 15 # Version: @(#)rc 2.78 07-Nov-1999 miquels@cistron.nl 24 if [ "$num_steps" != "0" ]; then 30 if type psplash-write >/dev/null 2>&1; then 31 psplash-write "PROGRESS $progress" || true 47 trap - INT QUIT TSTP 60 # Ignore CTRL-C only in this shell, so we can interrupt subprocesses. 64 stty onlcr 0>&1 67 [ "$STACK_SIZE" = "" ] || ulimit -S -s $STACK_SIZE 76 echo "Usage: $0 <runlevel>" >&2 [all …]
|
/openbmc/linux/drivers/usb/storage/ |
H A 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 …]
|
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-host_%.bbappend | 1 DEPENDS:append = " fp5280g3-yaml-config" 4 -Dsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/fp5280g3-yaml-config/ipmi-sensors.yaml \ 5 …-Dinvsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/fp5280g3-yaml-config/ipmi-inventory-sensors.yam… 6 -Dfru-yaml-gen=${STAGING_DIR_HOST}${datadir}/fp5280g3-yaml-config/ipmi-fru-read.yaml \ 7 -Dget-dbus-active-software=enabled \ 8 …-Dfw-ver-regex="([\\\\d]+).([\\\\d]+).([\\\\d]+)-dev-([\\\\d]+)-g([0-9a-fA-F]{2})([0-9a-fA-F]{2})(… 9 -Dmatches-map="1,2,5,6,7,8" \
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | cve_check.py | 4 # SPDX-License-Identifier: MIT 26 …elease>[0-9]+(?:[-\.][0-9]+)*)(?P<patch>[-_\.]?(?P<patch_l>[a-z]))?(?P<pre>[-_\.]?(?P<pre_l>(rc|al… 28 …e>[0-9]+(?:[-\.][0-9]+)*)(?P<patch>[-_\.]?(p|patch)(?P<patch_l>[0-9]+))?(?P<pre>[-_\.]?(?P<pre_l>(… 30 … r"""r?v?(?:(?P<release>[0-9]+(?:[-\.][0-9]+)*)(?P<pre>[-_\.]?(?P<pre_l>(rc|alpha|beta|pre|previe… 35 raise Exception("Invalid version: '{0}'".format(version)) 38 release=tuple(int(i) for i in match.group("release").replace("-",".").split(".")), 62 # remove leading 0 64 reversed(list(itertools.dropwhile(lambda x: x == 0, reversed(release)))) 72 _pre = float(pre_v) if pre_v else float('-inf') 80 Matches the last "CVE-YYYY-ID" in the file name, also if written [all …]
|
/openbmc/linux/arch/arm/boot/dts/intel/ixp/ |
H A 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 …]
|