| /dragonfly/contrib/libpcap/ |
| HD | gencode.c | 942 merge(struct block *b0, struct block *b1) in merge() argument 944 register struct block **p = &b0; in merge() 1012 gen_and(struct block *b0, struct block *b1) in gen_and() argument 1014 backpatch(b0, b1->head); in gen_and() 1015 b0->sense = !b0->sense; in gen_and() 1017 merge(b1, b0); in gen_and() 1019 b1->head = b0->head; in gen_and() 1023 gen_or(struct block *b0, struct block *b1) in gen_or() argument 1025 b0->sense = !b0->sense; in gen_or() 1026 backpatch(b0, b1->head); in gen_or() [all …]
|
| /dragonfly/sys/netproto/802_11/wlan_ccmp/ |
| HD | ieee80211_crypto_ccmp.c | 211 READ_6(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5) in READ_6() argument 213 uint32_t iv32 = (b0 << 0) | (b1 << 8) | (b2 << 16) | (b3 << 24); in READ_6() 319 uint8_t b0[AES_BLOCK_LEN], uint8_t aad[2 * AES_BLOCK_LEN], in ccmp_init_blocks() 329 b0[0] = 0x59; in ccmp_init_blocks() 331 IEEE80211_ADDR_COPY(b0 + 2, wh->i_addr2); in ccmp_init_blocks() 332 b0[8] = pn >> 40; in ccmp_init_blocks() 333 b0[9] = pn >> 32; in ccmp_init_blocks() 334 b0[10] = pn >> 24; in ccmp_init_blocks() 335 b0[11] = pn >> 16; in ccmp_init_blocks() 336 b0[12] = pn >> 8; in ccmp_init_blocks() [all …]
|
| /dragonfly/contrib/gmp/mpn/generic/ |
| HD | toom52_mul.c | 67 #define b0 bp in mpn_toom52_mul() macro 113 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom52_mul() 115 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom52_mul() 120 cy = mpn_add_n_sub_n (bs1, bsm1, b0, b1, n); in mpn_toom52_mul() 124 bs1[n] = mpn_add_n (bs1, b0, b1, n); in mpn_toom52_mul() 125 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom52_mul() 127 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom52_mul() 132 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom52_mul() 138 bs1[n] = mpn_add (bs1, b0, n, b1, t); in mpn_toom52_mul() 139 if (mpn_zero_p (b0 + t, n - t) && mpn_cmp (b0, b1, t) < 0) in mpn_toom52_mul() [all …]
|
| HD | toom42_mul.c | 73 #define b0 bp in mpn_toom42_mul() macro 123 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom42_mul() 125 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom42_mul() 130 cy = mpn_add_n_sub_n (bs1, bsm1, b0, b1, n); in mpn_toom42_mul() 134 bs1[n] = mpn_add_n (bs1, b0, b1, n); in mpn_toom42_mul() 136 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom42_mul() 138 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom42_mul() 143 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom42_mul() 149 bs1[n] = mpn_add (bs1, b0, n, b1, t); in mpn_toom42_mul() 151 if (mpn_zero_p (b0 + t, n - t) && mpn_cmp (b0, b1, t) < 0) in mpn_toom42_mul() [all …]
|
| HD | toom32_mul.c | 69 #define b0 bp in mpn_toom32_mul() macro 132 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom32_mul() 134 cy = mpn_add_n_sub_n (bp1, bm1, b1, b0, n); in mpn_toom32_mul() 139 cy = mpn_add_n_sub_n (bp1, bm1, b0, b1, n); in mpn_toom32_mul() 143 bp1_hi = mpn_add_n (bp1, b0, b1, n); in mpn_toom32_mul() 145 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom32_mul() 147 ASSERT_NOCARRY (mpn_sub_n (bm1, b1, b0, n)); in mpn_toom32_mul() 152 ASSERT_NOCARRY (mpn_sub_n (bm1, b0, b1, n)); in mpn_toom32_mul() 159 bp1_hi = mpn_add (bp1, b0, n, b1, t); in mpn_toom32_mul() 161 if (mpn_zero_p (b0 + t, n - t) && mpn_cmp (b0, b1, t) < 0) in mpn_toom32_mul() [all …]
|
| HD | toom62_mul.c | 72 #define b0 bp in mpn_toom62_mul() macro 139 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom62_mul() 141 cy = mpn_add_n_sub_n (bs1, bsm1, b1, b0, n); in mpn_toom62_mul() 146 cy = mpn_add_n_sub_n (bs1, bsm1, b0, b1, n); in mpn_toom62_mul() 151 bs1[n] = mpn_add_n (bs1, b0, b1, n); in mpn_toom62_mul() 152 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom62_mul() 154 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom62_mul() 159 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom62_mul() 166 bs1[n] = mpn_add (bs1, b0, n, b1, t); in mpn_toom62_mul() 167 if (mpn_zero_p (b0 + t, n - t) && mpn_cmp (b0, b1, t) < 0) in mpn_toom62_mul() [all …]
|
| HD | toom22_mul.c | 91 #define b0 bp in mpn_toom22_mul() macro 138 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom22_mul() 140 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom22_mul() 145 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom22_mul() 150 if (mpn_zero_p (b0 + t, n - t) && mpn_cmp (b0, b1, t) < 0) in mpn_toom22_mul() 152 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom22_mul() 158 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom22_mul()
|
| HD | mulmod_bnm1.c | 139 #define b0 bp in mpn_mulmod_bnm1() macro 163 cy = mpn_add (xp + n, b0, n, b1, bn - n); in mpn_mulmod_bnm1() 171 bm1 = b0; in mpn_mulmod_bnm1() 180 bm1 = b0; in mpn_mulmod_bnm1() 205 cy = mpn_sub (sp1 + n + 1, b0, n, b1, bn - n); in mpn_mulmod_bnm1() 210 bp1 = b0; in mpn_mulmod_bnm1() 225 else if (UNLIKELY (bp1 == b0)) in mpn_mulmod_bnm1() 326 #undef b0 in mpn_mulmod_bnm1()
|
| HD | toom63_mul.c | 96 #define b0 (bp + 0 * n) in mpn_toom63_mul() macro 136 v3[n]+= mpn_add_n (v3, v3, b0, n); /* 16b2+b0 */ in mpn_toom63_mul() 138 v3[n] = mpn_add (v3, b0, n, v3, t+1); /* 16b2+b0 */ in mpn_toom63_mul() 147 cy = mpn_add (ws, b0, n, b2, t); in mpn_toom63_mul() 187 v3[n]+= mpn_add_n (v3, v3, b0, n); /* 4b2+b0 */ in mpn_toom63_mul() 189 v3[n] = mpn_add (v3, b0, n, v3, t+1); /* 4b2+b0 */ in mpn_toom63_mul() 208 #undef b0 in mpn_toom63_mul()
|
| HD | toom53_mul.c | 70 #define b0 bp in mpn_toom53_mul() macro 131 bs1[n] = mpn_add (bs1, b0, n, b2, t); /* b0 + b2 */ in mpn_toom53_mul() 162 cy = mpn_addlsh2_n (bs2, b0, b2, t); in mpn_toom53_mul() 164 cy = mpn_addlsh_n (bs2, b0, b2, t, 2); in mpn_toom53_mul() 167 cy = mpn_add_1 (bs2 + t, b0 + t, n - t, cy); in mpn_toom53_mul() 171 bs2[n] = mpn_add (bs2, b0, n, gp, t); in mpn_toom53_mul() 202 cy = mpn_addlsh1_n (bsh, b1, b0, n); in mpn_toom53_mul() 213 cy = mpn_lshift (bsh, b0, n, 1); in mpn_toom53_mul() 310 mpn_mul_n (v0, a0, b0, n); /* v0, 2n limbs */ in mpn_toom53_mul()
|
| HD | toom43_mul.c | 63 #define b0 bp in mpn_toom43_mul() macro 109 cy += mpn_add_n (b0b2, b0b2, b0, t); /* 4b2 + b0 */ in mpn_toom43_mul() 111 cy = mpn_add_1 (b0b2 + t, b0 + t, n - t, cy); in mpn_toom43_mul() 141 bsm1[n] = mpn_add (bsm1, b0, n, b2, t); in mpn_toom43_mul() 220 #undef b0 in mpn_toom43_mul()
|
| HD | toom44_mul.c | 113 #define b0 bp in mpn_toom44_mul() macro 183 cy = mpn_addlsh1_n (bpx, b1, b0, n); in mpn_toom44_mul() 195 cy = mpn_lshift (bpx, b0, n, 1); in mpn_toom44_mul() 218 TOOM44_MUL_N_REC (v0, a0, b0, n, tp); in mpn_toom44_mul()
|
| HD | toom33_mul.c | 92 #define b0 bp in mpn_toom33_mul() macro 175 cy = mpn_add (gp, b0, n, b2, t); in mpn_toom33_mul() 212 cy = 2 * cy + mpn_rsblsh1_n (bs2, b0, bs2, n); in mpn_toom33_mul() 218 cy = 2 * cy + mpn_addlsh1_n (bs2, b0, bs2, n); in mpn_toom33_mul() 225 cy -= mpn_sub_n (bs2, bs2, b0, n); in mpn_toom33_mul()
|
| /dragonfly/sys/bus/u4b/ |
| HD | usb_endian.h | 96 #define USETW2(w,b1,b0) do { \ argument 97 (w)[0] = (uint8_t)(b0); \ 101 #define USETW4(w,b3,b2,b1,b0) do { \ argument 102 (w)[0] = (uint8_t)(b0); \ 108 #define USETW8(w,b7,b6,b5,b4,b3,b2,b1,b0) do { \ argument 109 (w)[0] = (uint8_t)(b0); \
|
| /dragonfly/sys/tools/sound/ |
| HD | feeder_eq_mkfilter.awk | 127 w0, A, alpha, a0, a1, a2, b0, b1, b2) 134 b0 = 1.0 + (alpha * A); 141 b0 = A*((A+1.0)+((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha)); 148 b0 = b1 = b2 = a0 = a1 = a2 = 0.0; 150 b0 /= a0; 159 coeffs["treble", gain, 3] = feedeq_fx_floor(b0); 168 b0 = 1.0 + (alpha * A); 175 b0 = A*((A+1.0)-((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha)); 182 b0 = b1 = b2 = a0 = a1 = a2 = 0.0; 184 b0 /= a0; [all …]
|
| /dragonfly/tools/tools/ath/athkey/ |
| HD | athkey.c | 61 int b0, b1; in getdata() local 71 b0 = toint(cp[0]); in getdata() 81 b1 = b0, b0 = 0; in getdata() 89 data[len++] = (b0<<4) | b1; in getdata()
|
| /dragonfly/crypto/openssh/ |
| HD | smult_curve25519_ref.c | 134 unsigned int b0[64]; in mainloop() local 160 square(b0,a0); in mainloop() 161 square(b0 + 32,a0 + 32); in mainloop() 167 sub(s,b0,b0 + 32); in mainloop() 169 add(u,t,b0); in mainloop() 170 mult(xznb,b0,b0 + 32); in mainloop()
|
| /dragonfly/sys/crypto/twofish/ |
| HD | twofish.c | 286 u_int32_t b0, b1, b2, b3; in h_fun() local 288 …b0 = extract_byte(x, 0); b1 = extract_byte(x, 1); b2 = extract_byte(x, 2); b3 = extract_byte(x, 3); in h_fun() 292 case 4: b0 = q(1, (u_int8_t) b0) ^ extract_byte(key[3],0); in h_fun() 296 case 3: b0 = q(1, (u_int8_t) b0) ^ extract_byte(key[2],0); in h_fun() 300 …case 2: b0 = q(0, (u_int8_t) (q(0, (u_int8_t) b0) ^ extract_byte(key[1],0))) ^ extract_byte(key[0]… in h_fun() 306 return mds(0, b0) ^ mds(1, b1) ^ mds(2, b2) ^ mds(3, b3); in h_fun()
|
| /dragonfly/bin/dd/ |
| HD | ref.parodd | 5 00000030 b0 31 32 b3 34 b5 b6 37 38 b9 ba 3b bc 3d 3e bf |.12.4..78..;.=>.| 13 000000b0 b0 31 32 b3 34 b5 b6 37 38 b9 ba 3b bc 3d 3e bf |.12.4..78..;.=>.|
|
| HD | ref.parset | 5 00000030 b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf |................| 13 000000b0 b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf |................|
|
| HD | ref.oldascii | 7 00000050 26 a9 aa ab ac ad ae af b0 b1 5d 24 2a 29 3b 5e |&.........]$*);^| 13 000000b0 d8 d9 da db dc dd de df e0 e1 e2 e3 e4 e5 e6 e7 |................|
|
| HD | ref.ucase | 13 000000b0 b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf |................|
|
| HD | ref.ascii | 7 00000050 26 a9 aa ab ac ad ae af b0 b1 21 24 2a 29 3b 7e |&.........!$*);~| 13 000000b0 d8 d9 da db dc dd de df e0 e1 e2 e3 e4 5d e6 e7 |.............]..|
|
| HD | ref.lcase | 13 000000b0 b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf |................|
|
| /dragonfly/crypto/libressl/crypto/bn/ |
| HD | bn_gf2m.c | 302 const BN_ULONG b1, const BN_ULONG b0) in bn_GF2m_mul_2x2() argument 308 bn_GF2m_mul_1x1(r + 1, r, a0, b0); in bn_GF2m_mul_2x2() 309 bn_GF2m_mul_1x1(&m1, &m0, a0 ^ a1, b0 ^ b1); in bn_GF2m_mul_2x2() 316 BN_ULONG b0); 729 BN_ULONG u0, u1, b0, b1, mask; in BN_GF2m_mod_inv() local 732 b0 = bdp[0]; in BN_GF2m_mod_inv() 733 mask = (BN_ULONG)0 - (b0 & 1); in BN_GF2m_mod_inv() 734 b0 ^= p->d[0] & mask; in BN_GF2m_mod_inv() 741 bdp[i] = ((b0 >> 1) | in BN_GF2m_mod_inv() 743 b0 = b1; in BN_GF2m_mod_inv() [all …]
|