Searched refs:rol32 (Results 1 – 5 of 5) sorted by relevance
| /freebsd/sys/crypto/ |
| H A D | md5c.c | 142 rol32(uint32_t a, int b) in rol32() function 172 b += rol32(a + f + K[i] + m[i], 7); in md5block() 179 b += rol32(a + f + K[i + 1] + m[i + 1], 12); in md5block() 186 b += rol32(a + f + K[i + 2] + m[i + 2], 17); in md5block() 193 b += rol32(a + f + K[i + 3] + m[i + 3], 22); in md5block() 203 b += rol32(a + f + K[i] + m[(5*i + 1) % 16], 5); in md5block() 210 b += rol32(a + f + K[i + 1] + m[(5*i + 6) % 16], 9); in md5block() 217 b += rol32(a + f + K[i + 2] + m[(5*i + 11) % 16], 14); in md5block() 224 b += rol32(a + f + K[i + 3] + m[5*i % 16], 20); in md5block() 234 b += rol32(a + f + K[i] + m[(3*i + 5) % 16], 4); in md5block() [all …]
|
| /freebsd/sys/libkern/ |
| H A D | murmur3_32.c | 32 #define rol32(i32, n) ((i32) << (n) | (i32) >> (32 - (n))) macro 61 k = rol32(k, 15); in murmur3_32_hash() 64 hash = rol32(hash, 13); in murmur3_32_hash() 81 k = rol32(k, 15); in murmur3_32_hash() 113 k = rol32(k, 15); in murmur3_32_hash32() 116 hash = rol32(hash, 13); in murmur3_32_hash32()
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | siphash.h | 158 (a) += (b), (b) = rol32((b), 5), (b) ^= (a), (a) = rol32((a), 16), \ 159 (c) += (d), (d) = rol32((d), 8), (d) ^= (c), \ 160 (a) += (d), (d) = rol32((d), 7), (d) ^= (a), \ 161 (c) += (b), (b) = rol32((b), 13), (b) ^= (c), (c) = rol32((c), 16))
|
| H A D | bitops.h | 447 rol32(uint32_t word, unsigned int shift) in rol32() function
|
| /freebsd/contrib/elftoolchain/libpe/ |
| H A D | pe_rich.c | 58 rol32(uint32_t n, int c) in rol32() function 94 cksum += rol32((unsigned char) *p, off); in pe_rich_header_validate() 100 cksum += rol32(rh->rh_compid[i], rh->rh_cnt[i]); in pe_rich_header_validate()
|