/openbmc/linux/net/ceph/crush/ |
H A D | hash.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Robert Jenkins' function for mixing 32-bit values 11 * a, b = random bits, c = input and output 13 #define crush_hashmix(a, b, c) do { \ argument 14 a = a-b; a = a-c; a = a^(c>>13); \ 15 b = b-c; b = b-a; b = b^(a<<8); \ 16 c = c-a; c = c-b; c = c^(b>>13); \ 17 a = a-b; a = a-c; a = a^(c>>12); \ 18 b = b-c; b = b-a; b = b^(a<<16); \ 19 c = c-a; c = c-b; c = c^(b>>5); \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/geis/ |
H A D | 0001-provide-function-declaration-with-prototypes.patch | 3 Date: Fri, 2 Sep 2022 16:57:51 -0700 6 Fixes build with clang-15+ 8 Upstream-Status: Pending 9 Signed-off-by: Khem Raj <raj.khem@gmail.com> 10 --- 11 libgeis/backend/grail/geis_grail_window_grab.c | 2 +- 12 libgeis/backend/grail/geis_ugsubscription_store.c | 2 +- 13 libgeis/backend/grail/geis_ugsubscription_store.h | 2 +- 14 libgeis/backend/test_fixture/geis_backend_test_fixture.c | 4 ++-- 15 libgeis/geis.c | 2 +- [all …]
|
/openbmc/rest-dbus/resources/ |
H A D | jquery.min.js | 1 /*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ 2 …a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):fu… argument 4 …a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&… argument 5 …a,b,c,d,e)}m.Tween=Za,Za.prototype={constructor:Za,init:function(a,b,c,d,e,f){this.elem=a,this.pro… argument
|
H A D | jstree.min.js | 1 /*! jsTree - v3.2.0 - 2015-08-06 - (MIT) */ 2 …a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof mod… argument 3 c||(k=b.children(".jstree-children")[0]),r=b.children(".jstree-anchor")[0]===i.activeElement,b.remo… argument 4 …-"+b),this.element[this.settings.core.themes.responsive?"addClass":"removeClass"]("jstree-"+b+"-re… argument 5 …a(b.target).closest(".jstree-node")[0]!==b.currentTarget)return!0;if("touchstart"===b.type&&(!this… argument
|
/openbmc/linux/net/ceph/ |
H A D | ceph_hash.c | 10 #define mix(a, b, c) \ argument 12 a = a - b; a = a - c; a = a ^ (c >> 13); \ 13 b = b - c; b = b - a; b = b ^ (a << 8); \ 14 c = c - a; c = c - b; c = c ^ (b >> 13); \ 15 a = a - b; a = a - c; a = a ^ (c >> 12); \ 16 b = b - c; b = b - a; b = b ^ (a << 16); \ 17 c = c - a; c = c - b; c = c ^ (b >> 5); \ 18 a = a - b; a = a - c; a = a ^ (c >> 3); \ 19 b = b - c; b = b - a; b = b ^ (a << 10); \ 20 c = c - a; c = c - b; c = c ^ (b >> 15); \ [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | sha1.c | 4 /* ================ sha1.c ================ */ 6 SHA-1 in C 10 Test Vectors (from FIPS PUB 180-1) 12 A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D 15 A million repetitions of "a" 30 SHA-1 in C 47 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) 52 #define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ 53 |(rol(block->l[i],8)&0x00FF00FF)) 55 #define blk0(i) block->l[i] [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_jhash.h | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2019 Facebook 9 return (word << shift) | (word >> ((-shift) & 31)); in rol32() 12 #define __jhash_mix(a, b, c) \ argument 14 a -= c; a ^= rol32(c, 4); c += b; \ 15 b -= a; b ^= rol32(a, 6); a += c; \ 16 c -= b; c ^= rol32(b, 8); b += a; \ 17 a -= c; a ^= rol32(c, 16); c += b; \ 18 b -= a; b ^= rol32(a, 19); a += c; \ 19 c -= b; c ^= rol32(b, 4); b += a; \ [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. 14 * Copyright (c) Cryptoapi developers. 15 * Copyright (c) 2002 David S. Miller (davem@redhat.com) 16 * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> 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 [all …]
|
/openbmc/linux/include/linux/ |
H A D | jhash.h | 6 * Copyright (C) 2006. Bob Jenkins (bob_jenkins@burtleburtle.net) 12 * lookup3.c, by Bob Jenkins, May 2006, Public Domain. 14 * These are functions for producing 32-bit hashes for hash table lookup. 20 * Copyright (C) 2009-2010 Jozsef Kadlecsik (kadlec@netfilter.org) 32 #define jhash_mask(n) (jhash_size(n)-1) 34 /* __jhash_mix -- mix 3 32-bit values reversibly. */ 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | jhash.h | 6 * Copyright (C) 2006. Bob Jenkins (bob_jenkins@burtleburtle.net) 12 * lookup3.c, by Bob Jenkins, May 2006, Public Domain. 14 * These are functions for producing 32-bit hashes for hash table lookup. 20 * Copyright (C) 2009-2010 Jozsef Kadlecsik (kadlec@blackhole.kfki.hu) 32 #define jhash_mask(n) (jhash_size(n)-1) 34 /* __jhash_mix -- mix 3 32-bit values reversibly. */ 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ [all …]
|
/openbmc/linux/crypto/ |
H A D | md4.c | 11 * Copyright (c) Andrew Tridgell 1997-1998. 13 * Copyright (c) Cryptoapi developers. 14 * Copyright (c) 2002 David S. Miller (davem@redhat.com) 15 * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> 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() [all …]
|
H A D | md5.c | 9 * Copyright (c) Cryptoapi developers. 10 * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> 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() 46 c = hash[2]; 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0003-src-basic-missing.h-check-for-missing-strndupa.patch | 8 Upstream-Status: Inappropriate [musl specific] 10 Signed-off-by: Khem Raj <raj.khem@gmail.com> 11 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 13 Signed-off-by: Andrej Valek <andrej.valek@siemens.com> 15 Signed-off-by: Scott Murray <scott.murray@konsulko.com> 16 Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> 19 Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> 21 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 23 --- 25 src/backlight/backlight.c | 1 + [all …]
|
H A D | 0017-Adjust-for-musl-headers.patch | 3 Date: Fri, 21 Jan 2022 22:19:37 -0800 6 Upstream-Status: Inappropriate [musl specific] 8 Signed-off-by: Khem Raj <raj.khem@gmail.com> 11 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 12 --- 13 src/libsystemd-network/sd-dhcp6-client.c | 2 +- 14 src/network/netdev/bareudp.c | 2 +- 15 src/network/netdev/batadv.c | 2 +- 16 src/network/netdev/bond.c | 2 +- 17 src/network/netdev/bridge.c | 2 +- [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-power.json | 6 …a fixed 800 MHz clock. This event counts the number of pclk cycles measured while the counter was… 10 "BriefDescription": "Core 0 C State Transition Cycles", 14 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev… 18 "BriefDescription": "Core 10 C State Transition Cycles", 22 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev… 26 "BriefDescription": "Core 11 C State Transition Cycles", 30 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev… 34 "BriefDescription": "Core 12 C State Transition Cycles", 38 …"PublicDescription": "Number of cycles spent performing core C state transitions. There is one ev… 42 "BriefDescription": "Core 13 C State Transition Cycles", [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/ |
H A D | ext4_utils.mk | 6 make_ext4fs_SRC_FILES += make_ext4fs_main.c 7 make_ext4fs_SRC_FILES += canned_fs_config.c 8 make_ext4fs_OBJS := $(make_ext4fs_SRC_FILES:.c=.o) 10 ext2simg_SRC_FILES += ext2simg.c 11 ext2simg_OBJS := $(ext2simg_SRC_FILES:.c=.o) 13 ext4fixup_SRC_FILES += ext4fixup_main.c 14 ext4fixup_OBJS := $(ext4fixup_SRC_FILES:.c=.o) 16 libext4_utils_SRC_FILES += make_ext4fs.c 17 libext4_utils_SRC_FILES += ext4fixup.c 18 libext4_utils_SRC_FILES += ext4_utils.c [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | ui-bootstrap-tpls-0.11.0.js | 2 * angular-ui-bootstrap 3 * http://angular-ui.github.io/bootstrap/ 5 * Version: 0.11.0 - 2014-05-01 8 …-group.html","template/accordion/accordion.html","template/alert/alert.html","template/carousel/ca… argument 9 …a.replace(b,function(a,b){return(b?c:"")+a.toLowerCase()})}var b={placement:"top",animation:!0,pop… function
|
H A D | ui-bootstrap-tpls-0.11.0.min.js | 2 * angular-ui-bootstrap 3 * http://angular-ui.github.io/bootstrap/ 5 * Version: 0.11.0 - 2014-05-01 8 …-group.html","template/accordion/accordion.html","template/alert/alert.html","template/carousel/ca… argument 9 …a.replace(b,function(a,b){return(b?c:"")+a.toLowerCase()})}var b={placement:"top",animation:!0,pop… function
|
/openbmc/qemu/include/qemu/ |
H A D | jhash.h | 3 * Copyright (C) 2006. Bob Jenkins (bob_jenkins@burtleburtle.net) 9 * lookup3.c, by Bob Jenkins, May 2006, Public Domain. 11 * These are functions for producing 32-bit hashes for hash table lookup. 17 * Copyright (C) 2009-2010 Jozsef Kadlecsik (kadlec@blackhole.kfki.hu) 33 /* __jhash_mix -- mix 3 32-bit values reversibly. */ 34 #define __jhash_mix(a, b, c) \ argument 36 a -= c; a ^= rol32(c, 4); c += b; \ 37 b -= a; b ^= rol32(a, 6); a += c; \ 38 c -= b; c ^= rol32(b, 8); b += a; \ 39 a -= c; a ^= rol32(c, 16); c += b; \ [all …]
|
/openbmc/u-boot/lib/ |
H A D | sha1.c | 1 // SPDX-License-Identifier: LGPL-2.1 5 * FIPS-180-1 compliant SHA-1 implementation 7 * Copyright (C) 2003-2006 Christophe Devine 10 * The SHA-1 standard was published by NIST in 1993. 12 * http://www.itl.nist.gov/fipspubs/fip180-1.htm 26 #include <u-boot/sha1.h> 34 * 32-bit integer manipulation macros (big endian) 54 * SHA-1 context setup 58 ctx->total[0] = 0; in sha1_starts() 59 ctx->total[1] = 0; in sha1_starts() [all …]
|
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. 51 } while (--longs); in byteReverse() 61 ctx->buf[0] = 0x67452301; in MD5Init() 62 ctx->buf[1] = 0xefcdab89; in MD5Init() 63 ctx->buf[2] = 0x98badcfe; in MD5Init() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0017-Adjust-for-musl-headers.patch | 3 Date: Fri, 21 Jan 2022 22:19:37 -0800 6 Upstream-Status: Inappropriate [musl specific] 8 Signed-off-by: Khem Raj <raj.khem@gmail.com> 11 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 12 --- 13 src/basic/linux/ethtool.h | 3 ++- 14 src/libsystemd-network/sd-dhcp6-client.c | 2 +- 15 src/network/netdev/bareudp.c | 2 +- 16 src/network/netdev/batadv.c | 2 +- 17 src/network/netdev/bond.c | 2 +- [all …]
|
/openbmc/ipmitool/src/plugins/lan/ |
H A D | md5.c | 2 Copyright (C) 1999, 2000, 2002 Aladdin Enterprises. All rights reserved. 4 This software is provided 'as-is', without any express or implied 14 in a product, an acknowledgment in the product documentation would be 24 /* $Id: md5.c,v 1.1 2003/11/18 17:56:02 iceblink Exp $ */ 32 (section A.5) but excluding the rest of Appendix A. It does not include 36 The original and principal author of md5.c is L. Peter Deutsch 40 2002-04-13 lpd Clarified derivation from RFC 1321; now handles byte order 43 2002-03-11 lpd Corrected argument list for main(), and added int return 45 2002-02-21 lpd Added missing #include <stdio.h> in test program. 46 2000-07-03 lpd Patched to eliminate warnings about "constant is [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/ |
H A D | Replace-murmurhash-algorithm-with-Robert-Jenkin-s-ha.patch | 3 Upstream-Status: Pending 9 Signed-off-by: Roy.Li <rongqing.li@windriver.com> 10 --- 11 libfdproto/ostr.c | 192 +++++++++++++++++++++-------------------------------- 12 1 file changed, 74 insertions(+), 118 deletions(-) 14 diff --git a/libfdproto/ostr.c b/libfdproto/ostr.c 16 --- a/libfdproto/ostr.c 17 +++ b/libfdproto/ostr.c 18 @@ -430,128 +430,84 @@ after_proto: 22 -/* Hash function -- credits to Austin Appleby, thank you ^^ */ [all …]
|
/openbmc/linux/fs/ubifs/ |
H A D | auth.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2018 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de> 16 #include <keys/user-type.h> 17 #include <keys/asymmetric-type.h> 22 * ubifs_node_calc_hash - calculate the hash of a UBIFS node 23 * @c: UBIFS file-system description object 24 * @node: the node to calculate a hash for 27 * Returns 0 for success or a negative error code otherwise. 29 int __ubifs_node_calc_hash(const struct ubifs_info *c, const void *node, in __ubifs_node_calc_hash() argument 34 return crypto_shash_tfm_digest(c->hash_tfm, node, le32_to_cpu(ch->len), in __ubifs_node_calc_hash() [all …]
|