Home
last modified time | relevance | path

Searched refs:b0 (Results 1 – 25 of 135) sorted by relevance

123456

/linux-2.6.39/crypto/
Daes_generic.c1334 u32 b0[4], b1[4]; in aes_encrypt() local
1338 b0[0] = le32_to_cpu(src[0]) ^ ctx->key_enc[0]; in aes_encrypt()
1339 b0[1] = le32_to_cpu(src[1]) ^ ctx->key_enc[1]; in aes_encrypt()
1340 b0[2] = le32_to_cpu(src[2]) ^ ctx->key_enc[2]; in aes_encrypt()
1341 b0[3] = le32_to_cpu(src[3]) ^ ctx->key_enc[3]; in aes_encrypt()
1344 f_nround(b1, b0, kp); in aes_encrypt()
1345 f_nround(b0, b1, kp); in aes_encrypt()
1349 f_nround(b1, b0, kp); in aes_encrypt()
1350 f_nround(b0, b1, kp); in aes_encrypt()
1353 f_nround(b1, b0, kp); in aes_encrypt()
[all …]
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
Daes.c345 u32 b0[4], b1[4]; in aes_encrypt() local
348 b0[0] = u32_in (in) ^ E_KEY[0]; in aes_encrypt()
349 b0[1] = u32_in (in + 4) ^ E_KEY[1]; in aes_encrypt()
350 b0[2] = u32_in (in + 8) ^ E_KEY[2]; in aes_encrypt()
351 b0[3] = u32_in (in + 12) ^ E_KEY[3]; in aes_encrypt()
354 f_nround (b1, b0, kp); in aes_encrypt()
355 f_nround (b0, b1, kp); in aes_encrypt()
359 f_nround (b1, b0, kp); in aes_encrypt()
360 f_nround (b0, b1, kp); in aes_encrypt()
363 f_nround (b1, b0, kp); in aes_encrypt()
[all …]
Dieee80211_crypt_ccmp.c118 u8 *pn, size_t dlen, u8 *b0, u8 *auth, in ccmp_init_blocks() argument
152 b0[0] = 0x59; in ccmp_init_blocks()
153 b0[1] = qc; in ccmp_init_blocks()
154 memcpy(b0 + 2, hdr->addr2, ETH_ALEN); in ccmp_init_blocks()
155 memcpy(b0 + 8, pn, CCMP_PN_LEN); in ccmp_init_blocks()
156 b0[14] = (dlen >> 8) & 0xff; in ccmp_init_blocks()
157 b0[15] = dlen & 0xff; in ccmp_init_blocks()
184 ieee80211_ccmp_aes_encrypt(tfm, b0, auth); in ccmp_init_blocks()
189 b0[0] &= 0x07; in ccmp_init_blocks()
190 b0[14] = b0[15] = 0; in ccmp_init_blocks()
[all …]
/linux-2.6.39/arch/ia64/kvm/
Doptvfault.S29 mov r17 = b0; \
45 mov b0 = r17; \
57 mov b0 = r29
58 br.sptk.many b0
130 mov r24=b0
139 mov b0=r17
140 br.sptk.few b0
156 mov r24=b0
167 mov b0=r17
168 br.sptk.few b0
[all …]
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/
Dieee80211_crypt_ccmp.c117 u8 *pn, size_t dlen, u8 *b0, u8 *auth, in ccmp_init_blocks() argument
151 b0[0] = 0x59; in ccmp_init_blocks()
152 b0[1] = qc; in ccmp_init_blocks()
153 memcpy(b0 + 2, hdr->addr2, ETH_ALEN); in ccmp_init_blocks()
154 memcpy(b0 + 8, pn, CCMP_PN_LEN); in ccmp_init_blocks()
155 b0[14] = (dlen >> 8) & 0xff; in ccmp_init_blocks()
156 b0[15] = dlen & 0xff; in ccmp_init_blocks()
183 ieee80211_ccmp_aes_encrypt(tfm, b0, auth); in ccmp_init_blocks()
188 b0[0] &= 0x07; in ccmp_init_blocks()
189 b0[14] = b0[15] = 0; in ccmp_init_blocks()
[all …]
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/
Dieee80211_crypt_ccmp.c121 u8 *pn, size_t dlen, u8 *b0, u8 *auth, in ccmp_init_blocks() argument
155 b0[0] = 0x59; in ccmp_init_blocks()
156 b0[1] = qc; in ccmp_init_blocks()
157 memcpy(b0 + 2, hdr->addr2, ETH_ALEN); in ccmp_init_blocks()
158 memcpy(b0 + 8, pn, CCMP_PN_LEN); in ccmp_init_blocks()
159 b0[14] = (dlen >> 8) & 0xff; in ccmp_init_blocks()
160 b0[15] = dlen & 0xff; in ccmp_init_blocks()
187 ieee80211_ccmp_aes_encrypt(tfm, b0, auth); in ccmp_init_blocks()
192 b0[0] &= 0x07; in ccmp_init_blocks()
193 b0[14] = b0[15] = 0; in ccmp_init_blocks()
[all …]
/linux-2.6.39/net/wireless/
Dlib80211_crypt_ccmp.c115 u8 * pn, size_t dlen, u8 * b0, u8 * auth, u8 * s0) in ccmp_init_blocks() argument
141 b0[0] = 0x59; in ccmp_init_blocks()
142 b0[1] = qc; in ccmp_init_blocks()
143 memcpy(b0 + 2, hdr->addr2, ETH_ALEN); in ccmp_init_blocks()
144 memcpy(b0 + 8, pn, CCMP_PN_LEN); in ccmp_init_blocks()
145 b0[14] = (dlen >> 8) & 0xff; in ccmp_init_blocks()
146 b0[15] = dlen & 0xff; in ccmp_init_blocks()
173 lib80211_ccmp_aes_encrypt(tfm, b0, auth); in ccmp_init_blocks()
178 b0[0] &= 0x07; in ccmp_init_blocks()
179 b0[14] = b0[15] = 0; in ccmp_init_blocks()
[all …]
/linux-2.6.39/fs/reiserfs/
Dhashes.c34 u32 b0, b1; \
36 b0 = h0; \
42 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); \
43 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); \
46 h0 += b0; \
/linux-2.6.39/arch/arm/nwfpe/
Dsoftfloat-macros339 value formed by concatenating `b0' and `b1'. Addition is modulo 2^128, so
346 bits64 a0, bits64 a1, bits64 b0, bits64 b1, bits64 *z0Ptr, bits64 *z1Ptr )
352 *z0Ptr = a0 + b0 + ( z1 < a1 );
359 192-bit value formed by concatenating `b0', `b1', and `b2'. Addition is
370 bits64 b0,
385 z0 = a0 + b0;
397 Subtracts the 128-bit value formed by concatenating `b0' and `b1' from the
406 bits64 a0, bits64 a1, bits64 b0, bits64 b1, bits64 *z0Ptr, bits64 *z1Ptr )
410 *z0Ptr = a0 - b0 - ( a1 < b1 );
416 Subtracts the 192-bit value formed by concatenating `b0', `b1', and `b2'
[all …]
/linux-2.6.39/drivers/mtd/nand/
Dnand_ecc.c447 unsigned char b0, b1, b2, bit_addr; in __nand_correct_data() local
458 b0 = read_ecc[0] ^ calc_ecc[0]; in __nand_correct_data()
461 b0 = read_ecc[1] ^ calc_ecc[1]; in __nand_correct_data()
471 if ((b0 | b1 | b2) == 0) in __nand_correct_data()
474 if ((((b0 ^ (b0 >> 1)) & 0x55) == 0x55) && in __nand_correct_data()
496 byte_addr = (addressbits[b1] << 4) + addressbits[b0]; in __nand_correct_data()
499 (addressbits[b1] << 4) + addressbits[b0]; in __nand_correct_data()
507 if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1) in __nand_correct_data()
/linux-2.6.39/arch/ia64/lib/
Dip_fast_csum.S75 br.ret.sptk.many b0
83 mov r34=b0
88 br.call.sptk.many b0=do_csum
92 mov b0=r34
93 br.ret.sptk.many b0
143 br.ret.sptk.many b0
/linux-2.6.39/fs/ext3/
Dhash.c22 __u32 b0 = buf[0], b1 = buf[1]; in TEA_transform() local
28 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); in TEA_transform()
29 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); in TEA_transform()
32 buf[0] += b0; in TEA_transform()
/linux-2.6.39/fs/ext4/
Dhash.c22 __u32 b0 = buf[0], b1 = buf[1]; in TEA_transform() local
28 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); in TEA_transform()
29 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); in TEA_transform()
32 buf[0] += b0; in TEA_transform()
/linux-2.6.39/drivers/usb/wusbcore/
Dcrypto.c206 struct aes_ccm_b0 b0; in wusb_ccm_mac() local
220 WARN_ON(sizeof(b0) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac()
230 dst_size = blen + sizeof(b0) + sizeof(b1) + zero_padding; in wusb_ccm_mac()
242 b0.flags = 0x59; /* Format B0 */ in wusb_ccm_mac()
243 b0.ccm_nonce = *n; in wusb_ccm_mac()
244 b0.lm = cpu_to_be16(0); /* WUSB1.0[6.5] sez l(m) is 0 */ in wusb_ccm_mac()
257 sg_set_buf(&sg[0], &b0, sizeof(b0)); in wusb_ccm_mac()
/linux-2.6.39/drivers/misc/sgi-xp/
Dxp_nofault.S30 br.ret.sptk.many b0;; // Return success
35 br.ret.sptk.many b0;; // Return failure
/linux-2.6.39/arch/arm/common/
Duengine.c308 u8 b0; in generate_ucode() local
313 b0 = gpr_a[i] & 0xff; in generate_ucode()
319 ucode[offset++] = (b1 << 4) | 0x0c | (b0 >> 6); in generate_ucode()
320 ucode[offset++] = (b0 << 2); in generate_ucode()
336 u8 b0; in generate_ucode() local
341 b0 = gpr_b[i] & 0xff; in generate_ucode()
349 ucode[offset++] = b0; in generate_ucode()
/linux-2.6.39/arch/alpha/include/asm/
Dbitops.h447 unsigned long b0, b1, ofs, tmp; in sched_find_first_bit() local
449 b0 = b[0]; in sched_find_first_bit()
451 ofs = (b0 ? 0 : 64); in sched_find_first_bit()
452 tmp = (b0 ? b0 : b1); in sched_find_first_bit()
/linux-2.6.39/arch/ia64/kernel/
Dmca_asm.S274 br.call.sptk.many b0=ia64_mca_handler
294 mov b0=r12 // SAL_CHECK return address
296 br b0
318 mov b0=r12 // SAL_CHECK return address
319 br b0
383 br.call.sptk.many b0=ia64_init_handler
403 mov b0=r12 // SAL_CHECK return address
404 br b0
458 mov b0=r2 // save return address
693 br.sptk b0
[all …]
Divt.S259 mov r29=b0 // save b0
267 mov b0=r29
303 mov r29=b0 // save b0
311 mov b0=r29
354 (p8) mov r29=b0 // save b0
394 (p8) mov r29=b0 // save b0
505 mov b0=r30
506 br.sptk.many b0 // return to continuation point
543 mov r29=b0 // save b0 in case of nested fault
572 mov b0=r29 // restore b0
[all …]
Dpatch.c48 u64 m0, m1, v0, v1, b0, b1, *b = (u64 *) (insn_addr & -16); in ia64_patch() local
52 b0 = b[0]; b1 = b[1]; in ia64_patch()
60 b[0] = (b0 & ~m0) | (v0 & m0); in ia64_patch()
/linux-2.6.39/drivers/media/dvb/ttusb-dec/
Dttusb_dec.c934 u8 b0[] = { 0x05 }; in ttusb_dec_start_ts_feed() local
990 result = ttusb_dec_send_command(dec, 0x80, sizeof(b0), b0, NULL, NULL); in ttusb_dec_start_ts_feed()
1001 u8 b0[] = { 0x00, 0x00, 0x00, 0x01, in ttusb_dec_start_sec_feed() local
1020 memcpy(&b0[0], &pid, 2); in ttusb_dec_start_sec_feed()
1021 memcpy(&b0[4], &x, 1); in ttusb_dec_start_sec_feed()
1022 memcpy(&b0[5], &dvbdmxfeed->filter->filter.filter_value[0], 1); in ttusb_dec_start_sec_feed()
1024 result = ttusb_dec_send_command(dec, 0x60, sizeof(b0), b0, in ttusb_dec_start_sec_feed()
1084 u8 b0[] = { 0x00 }; in ttusb_dec_stop_ts_feed() local
1086 ttusb_dec_send_command(dec, 0x81, sizeof(b0), b0, NULL, NULL); in ttusb_dec_stop_ts_feed()
1098 u8 b0[] = { 0x00, 0x00 }; in ttusb_dec_stop_sec_feed() local
[all …]
/linux-2.6.39/arch/sh/kernel/cpu/sh4/
Dsoftfloat.c90 void add128(bits64 a0, bits64 a1, bits64 b0, bits64 b1, bits64 * z0Ptr,
92 void sub128(bits64 a0, bits64 a1, bits64 b0, bits64 b1, bits64 * z0Ptr,
638 void add128(bits64 a0, bits64 a1, bits64 b0, bits64 b1, bits64 * z0Ptr, in add128() argument
645 *z0Ptr = a0 + b0 + (z1 < a1); in add128()
649 sub128(bits64 a0, bits64 a1, bits64 b0, bits64 b1, bits64 * z0Ptr, in sub128() argument
653 *z0Ptr = a0 - b0 - (a1 < b1); in sub128()
658 bits64 b0, b1; in estimateDiv128To64() local
663 b0 = b >> 32; in estimateDiv128To64()
665 do_div(tmp, b0); in estimateDiv128To64()
667 z = (b0 << 32 <= a0) ? LIT64(0xFFFFFFFF00000000) : tmp << 32; in estimateDiv128To64()
[all …]
/linux-2.6.39/arch/x86/crypto/
Dghash-clmulni-intel_asm.S61 PCLMULQDQ 0x00 SHASH DATA # DATA = a0 * b0
63 PCLMULQDQ 0x00 T3 T2 # T2 = (a1 + a0) * (b1 + b0)
65 pxor T1, T2 # T2 = a0 * b1 + a1 * b0
/linux-2.6.39/arch/ia64/xen/
Dxensetup.S43 mov b0=r11
46 br.cond.sptk.many b0
/linux-2.6.39/arch/blackfin/include/asm/
Dcontext.S42 [--sp] = b0;
114 [--sp] = b0;
173 [--sp] = b0;
254 b0 = [sp++]; define
324 b0 = [sp++]; define

123456