/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/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/linux/fs/smb/common/ |
H A 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 …]
|
/openbmc/qemu/pc-bios/ |
HD | u-boot.e500 | ... F ^ c ~ > n . N ` Q q 1 a ! A Y ; y 9 i ) I ... |
/openbmc/linux/crypto/ |
H A 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 …]
|
H A 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 …]
|
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/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 …1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-… 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 103 bb.debug(1, "%s is redirectred to %s" % 113 1, "Failed to fetch page from [%s]: %s" % (url, str(url_err))) [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 19 # #define AF_LOCAL 1 /* POSIX name for AF_UNIX */ 22 # [1] = "local", [all …]
|
/openbmc/linux/scripts/mod/ |
H A 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 …]
|
/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 | 3 Date: Tue, 1 Oct 2013 13:19:20 +0200 6 --- 7 Upstream-Status: Pending 9 .../linux/apps/hello_pi/CMakeLists.txt | 1 + 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 [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/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 { 12 <STM32_PINMUX('B', 1, ANALOG)>, /* ADC1_INP5 */ 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 { 42 adc12_usb_cc_pins_a: adc12-usb-cc-pins-0 { [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() 61 ctx->buf[0] = 0x67452301; in MD5Init() 62 ctx->buf[1] = 0xefcdab89; in MD5Init() [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. 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 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 …]
|
/openbmc/openbmc/poky/meta/recipes-core/sysvinit/sysvinit/ |
H A D | rc | 7 # A startup script is _not_ run when the service was 10 # have K?? links in rc{1,2,3,4,5} ) 15 # Version: @(#)rc 2.78 07-Nov-1999 miquels@cistron.nl 30 if type psplash-write >/dev/null 2>&1; then 31 psplash-write "PROGRESS $progress" || true 43 case "$1" in 47 trap - INT QUIT TSTP 48 scriptname=$1 60 # Ignore CTRL-C only in this shell, so we can interrupt subprocesses. 64 stty onlcr 0>&1 [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 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 …]
|
/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/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>; 24 stdout-path = "uart0:115200n8"; 32 compatible = "gpio-leds"; 33 led-user { 36 default-state = "on"; [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"); 63 * Bulk opcodes (byte 1) 116 #define MEDIA_PORT(us) us->srb->device->lun [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | cve_check.py | 4 # SPDX-License-Identifier: MIT 26 …lease>[0-9]+(?:[-\.][0-9]+)*)(?P<patch>[-_\.]?(?P<patch_l>[a-z]))?(?P<pre>[-_\.]?(?P<pre_l>(rc|alp… 28 …>[0-9]+(?:[-\.][0-9]+)*)(?P<patch>[-_\.]?(p|patch)(?P<patch_l>[0-9]+))?(?P<pre>[-_\.]?(?P<pre_l>(r… 30 … r"""r?v?(?:(?P<release>[0-9]+(?:[-\.][0-9]+)*)(?P<pre>[-_\.]?(?P<pre_l>(rc|alpha|beta|pre|previe… 38 release=tuple(int(i) for i in match.group("release").replace("-",".").split(".")), 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 81 in lowercase. Possible to have multiple CVE IDs in a single 87 cve_file_name_match = re.compile(r".*(CVE-\d{4}-\d{4,})", re.IGNORECASE) 91 return fname_match.group(1).upper() if fname_match else "" [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/shadow/files/ |
H A D | shadow-update-pam-conf.patch | 6 The system-auth in the configure files is from Fedora which put all the 4 pam type rules 8 In yocto it obey the way with Debian/Ubuntu, and the names are common-auth, common-account, 9 common-password and common-session. 12 See meta/recipes-extended/pam/libpam/pam.d/common-password 14 Upstream-Status: Inappropriate [oe-core specific] 16 Signed-off-by: Kang Kai <kai.kang@windriver.com> 17 --- 18 etc/pam.d/chage | 2 +- 19 etc/pam.d/chgpasswd | 2 +- 20 etc/pam.d/groupadd | 2 +- [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/uefi/files/ |
H A D | 0001-BootLogoLib-align-logo-coords-to-be-even.patch | 12 PC 0x0101FB92F798 (0x0101FB92D000+0x00002798) [ 1] ConSplitterDxe.dll 17 even. And if coords are odd then they are bumped a bit to make things 20 Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> 22 This is a temporary workaround for an alignment problem in EDK2/qemu, see the 23 discussion at https://mail.gnu.org/archive/html/qemu-devel/2024-06/msg02964.html. 25 Upstream-Status: Inappropriate [workaround] 26 Signed-off-by: Ross Burton <ross.burton@arm.com> 27 --- 29 MdeModulePkg/Logo/Logo.bmp | Bin 12446 -> 34010 bytes 32 diff --git a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c b/MdeModulePkg/Library/BootLogoLib/Boot… [all …]
|