/Linux-v6.1/crypto/ |
D | aes_generic.c | 1179 u32 b0[4], b1[4]; in crypto_aes_encrypt() local 1183 b0[0] = ctx->key_enc[0] ^ get_unaligned_le32(in); in crypto_aes_encrypt() 1184 b0[1] = ctx->key_enc[1] ^ get_unaligned_le32(in + 4); in crypto_aes_encrypt() 1185 b0[2] = ctx->key_enc[2] ^ get_unaligned_le32(in + 8); in crypto_aes_encrypt() 1186 b0[3] = ctx->key_enc[3] ^ get_unaligned_le32(in + 12); in crypto_aes_encrypt() 1189 f_nround(b1, b0, kp); in crypto_aes_encrypt() 1190 f_nround(b0, b1, kp); in crypto_aes_encrypt() 1194 f_nround(b1, b0, kp); in crypto_aes_encrypt() 1195 f_nround(b0, b1, kp); in crypto_aes_encrypt() 1198 f_nround(b1, b0, kp); in crypto_aes_encrypt() [all …]
|
/Linux-v6.1/arch/arm64/crypto/ |
D | sm4-ce-core.S | 43 #define SM4_CRYPT_BLK(b0) \ argument 44 rev32 b0.16b, b0.16b; \ 45 sm4e b0.4s, v24.4s; \ 46 sm4e b0.4s, v25.4s; \ 47 sm4e b0.4s, v26.4s; \ 48 sm4e b0.4s, v27.4s; \ 49 sm4e b0.4s, v28.4s; \ 50 sm4e b0.4s, v29.4s; \ 51 sm4e b0.4s, v30.4s; \ 52 sm4e b0.4s, v31.4s; \ [all …]
|
D | sm4-neon-core.S | 90 #define SM4_CRYPT_BLK4(b0, b1, b2, b3) \ argument 91 rev32 b0.16b, b0.16b; \ 96 transpose_4x4(b0, b1, b2, b3); \ 103 ROUND4(0, b0, b1, b2, b3); \ 104 ROUND4(1, b1, b2, b3, b0); \ 105 ROUND4(2, b2, b3, b0, b1); \ 106 ROUND4(3, b3, b0, b1, b2); \ 110 rotate_clockwise_90(b0, b1, b2, b3); \ 111 rev32 b0.16b, b0.16b; \ 178 #define SM4_CRYPT_BLK8(b0, b1, b2, b3, b4, b5, b6, b7) \ argument [all …]
|
D | aes-neonbs-core.S | 25 .macro in_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7 28 eor \b3, \b3, \b0 30 eor \b5, \b5, \b0 41 .macro out_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7 42 eor \b0, \b0, \b6 45 eor \b2, \b2, \b0 55 .macro inv_in_bs_ch, b6, b1, b2, b4, b7, b0, b3, b5 63 eor \b2, \b2, \b0 66 eor \b0, \b0, \b6 70 .macro inv_out_bs_ch, b6, b5, b0, b3, b7, b1, b4, b2 [all …]
|
/Linux-v6.1/fs/f2fs/ |
D | hash.c | 28 __u32 b0 = buf[0], b1 = buf[1]; in TEA_transform() local 34 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); in TEA_transform() 35 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); in TEA_transform() 38 buf[0] += b0; in TEA_transform()
|
/Linux-v6.1/fs/reiserfs/ |
D | hashes.c | 28 u32 b0, b1; \ 30 b0 = h0; \ 36 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); \ 37 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); \ 40 h0 += b0; \
|
/Linux-v6.1/arch/arm/nwfpe/ |
D | softfloat-macros | 339 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-v6.1/drivers/crypto/nx/ |
D | nx-aes-ccm.c | 134 unsigned int cryptlen, u8 *b0) in generate_b0() argument 138 memcpy(b0, iv, 16); in generate_b0() 140 lp = b0[0]; in generate_b0() 144 *b0 |= (8 * ((m - 2) / 2)); in generate_b0() 148 *b0 |= 64; in generate_b0() 150 return set_msg_len(b0 + 16 - l, cryptlen, l); in generate_b0() 164 u8 tmp[16], *b1 = NULL, *b0 = NULL, *result = NULL; in generate_pat() local 186 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat() 191 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat() 198 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat() [all …]
|
/Linux-v6.1/lib/crypto/ |
D | curve25519-hacl64.c | 46 u64 b0 = b[0]; in modulo_carry_top() local 48 u64 b0_ = b0 + 19 * (b4 >> 51); in modulo_carry_top() 131 u64 b0; in fmul_shift_reduce() local 153 b0 = output[0]; in fmul_shift_reduce() 154 output[0] = 19 * b0; in fmul_shift_reduce() 192 u128 b0; in fmul_fmul() local 203 b0 = t[0]; in fmul_fmul() 205 b0_ = ((b0) + (((u128)(19) * (((u64)(((b4) >> (51)))))))); in fmul_fmul() 250 u128 b0; in fsquare_fsquare_() local 260 b0 = tmp[0]; in fsquare_fsquare_() [all …]
|
/Linux-v6.1/arch/ia64/lib/ |
D | ip_fast_csum.S | 77 br.ret.sptk.many b0 85 mov r34=b0 90 br.call.sptk.many b0=do_csum 94 mov b0=r34 95 br.ret.sptk.many b0 146 br.ret.sptk.many b0
|
/Linux-v6.1/drivers/media/usb/dvb-usb/ |
D | pctv452e.c | 518 u8 *b0, *rx; in pctv452e_power_ctrl() local 529 b0 = kmalloc(5 + PCTV_ANSWER_LEN, GFP_KERNEL); in pctv452e_power_ctrl() 530 if (!b0) in pctv452e_power_ctrl() 533 rx = b0 + 5; in pctv452e_power_ctrl() 542 b0[0] = 0xaa; in pctv452e_power_ctrl() 543 b0[1] = state->c++; in pctv452e_power_ctrl() 544 b0[2] = PCTV_CMD_RESET; in pctv452e_power_ctrl() 545 b0[3] = 1; in pctv452e_power_ctrl() 546 b0[4] = 0; in pctv452e_power_ctrl() 548 ret = dvb_usb_generic_rw(d, b0, 5, rx, PCTV_ANSWER_LEN, 0); in pctv452e_power_ctrl() [all …]
|
/Linux-v6.1/arch/alpha/include/asm/ |
D | bitops.h | 440 unsigned long b0, b1, ofs, tmp; in sched_find_first_bit() local 442 b0 = b[0]; in sched_find_first_bit() 444 ofs = (b0 ? 0 : 64); in sched_find_first_bit() 445 tmp = (b0 ? b0 : b1); in sched_find_first_bit()
|
/Linux-v6.1/include/linux/ |
D | math64.h | 204 } rl, rm, rn, rh, a0, b0; in mul_u64_u64_shr() local 208 b0.ll = b; in mul_u64_u64_shr() 210 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr() 211 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr() 212 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr() 213 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
|
/Linux-v6.1/drivers/mtd/nand/ |
D | ecc-sw-hamming.c | 378 unsigned char b0, b1, b2, bit_addr; in ecc_sw_hamming_correct() local 387 b0 = read_ecc[0] ^ calc_ecc[0]; in ecc_sw_hamming_correct() 390 b0 = read_ecc[1] ^ calc_ecc[1]; in ecc_sw_hamming_correct() 401 if ((b0 | b1 | b2) == 0) in ecc_sw_hamming_correct() 404 if ((((b0 ^ (b0 >> 1)) & 0x55) == 0x55) && in ecc_sw_hamming_correct() 426 byte_addr = (addressbits[b1] << 4) + addressbits[b0]; in ecc_sw_hamming_correct() 429 (addressbits[b1] << 4) + addressbits[b0]; in ecc_sw_hamming_correct() 437 if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1) in ecc_sw_hamming_correct()
|
/Linux-v6.1/arch/ia64/kernel/ |
D | mca_asm.S | 275 br.call.sptk.many b0=ia64_mca_handler 295 mov b0=r12 // SAL_CHECK return address 297 br b0 319 mov b0=r12 // SAL_CHECK return address 320 br b0 384 br.call.sptk.many b0=ia64_init_handler 404 mov b0=r12 // SAL_CHECK return address 405 br b0 459 mov b0=r2 // save return address 694 br.sptk b0 [all …]
|
D | entry.S | 283 mov r21=b0 409 mov b0=r21 1046 (pRecurse) br.call.sptk.many b0=rse_clear_invalid 1055 (pReturn) br.ret.sptk.many b0 1070 (pRecurse) br.call.dptk.few b0=rse_clear_invalid 1077 (pReturn) br.ret.dptk.many b0 1100 mov b0=r21 // I0 1331 br.ret.sptk.many b0 1337 mov out2 = b0 1340 br.call.sptk.many b0 = ftrace_patch_gp [all …]
|
D | ivt.S | 261 mov r29=b0 // save b0 269 mov b0=r29 305 mov r29=b0 // save b0 313 mov b0=r29 356 (p8) mov r29=b0 // save b0 396 (p8) mov r29=b0 // save b0 507 mov b0=r30 508 br.sptk.many b0 // return to continuation point 545 mov r29=b0 // save b0 in case of nested fault 574 mov b0=r29 // restore b0 [all …]
|
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_clock.c | 27 } rm, rn, rh, a0, b0; in mul_u64_u64_shr64() local 31 b0.ll = b; in mul_u64_u64_shr64() 33 rm.ll = (u64)a0.l.low * b0.l.high; in mul_u64_u64_shr64() 34 rn.ll = (u64)a0.l.high * b0.l.low; in mul_u64_u64_shr64() 35 rh.ll = (u64)a0.l.high * b0.l.high; in mul_u64_u64_shr64()
|
/Linux-v6.1/arch/arm/crypto/ |
D | blake2s-core.S | 68 .macro _blake2s_quarterround a0, b0, c0, d0, a1, b1, c1, d1, s0, s1, s2, s3 74 add \a0, \a0, \b0, ror #brot 88 eor \b0, \c0, \b0, ror #brot 95 add \a0, \a0, \b0, ror #12 109 eor \b0, \c0, \b0, ror#12
|
D | aes-neonbs-core.S | 80 .macro in_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7 83 veor \b3, \b3, \b0 85 veor \b5, \b5, \b0 96 .macro out_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7 97 veor \b0, \b0, \b6 100 veor \b2, \b2, \b0 110 .macro inv_in_bs_ch, b6, b1, b2, b4, b7, b0, b3, b5 118 veor \b2, \b2, \b0 121 veor \b0, \b0, \b6 125 .macro inv_out_bs_ch, b6, b5, b0, b3, b7, b1, b4, b2 [all …]
|
/Linux-v6.1/drivers/media/usb/ttusb-dec/ |
D | ttusb_dec.c | 968 u8 b0[] = { 0x05 }; in ttusb_dec_start_ts_feed() local 1024 result = ttusb_dec_send_command(dec, 0x80, sizeof(b0), b0, NULL, NULL); in ttusb_dec_start_ts_feed() 1035 u8 b0[] = { 0x00, 0x00, 0x00, 0x01, in ttusb_dec_start_sec_feed() local 1054 memcpy(&b0[0], &pid, 2); in ttusb_dec_start_sec_feed() 1055 memcpy(&b0[4], &x, 1); in ttusb_dec_start_sec_feed() 1056 memcpy(&b0[5], &dvbdmxfeed->filter->filter.filter_value[0], 1); in ttusb_dec_start_sec_feed() 1058 result = ttusb_dec_send_command(dec, 0x60, sizeof(b0), b0, in ttusb_dec_start_sec_feed() 1116 u8 b0[] = { 0x00 }; in ttusb_dec_stop_ts_feed() local 1118 ttusb_dec_send_command(dec, 0x81, sizeof(b0), b0, NULL, NULL); in ttusb_dec_stop_ts_feed() 1130 u8 b0[] = { 0x00, 0x00 }; in ttusb_dec_stop_sec_feed() local [all …]
|
/Linux-v6.1/arch/sh/kernel/cpu/sh4/ |
D | softfloat.c | 90 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-v6.1/fs/ext4/ |
D | hash.c | 19 __u32 b0 = buf[0], b1 = buf[1]; in TEA_transform() local 25 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); in TEA_transform() 26 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); in TEA_transform() 29 buf[0] += b0; in TEA_transform()
|
/Linux-v6.1/arch/x86/crypto/ |
D | ghash-clmulni-intel_asm.S | 53 pclmulqdq $0x00, SHASH, DATA # DATA = a0 * b0 55 pclmulqdq $0x00, T3, T2 # T2 = (a1 + a0) * (b1 + b0) 57 pxor T1, T2 # T2 = a0 * b1 + a1 * b0
|
/Linux-v6.1/drivers/crypto/keembay/ |
D | ocs-aes.c | 1058 u8 b0[16]; /* CCM B0 block is 16 bytes long. */ in ocs_aes_ccm_write_b0() local 1062 memset(b0, 0, sizeof(b0)); in ocs_aes_ccm_write_b0() 1073 b0[0] |= BIT(6); in ocs_aes_ccm_write_b0() 1079 b0[0] |= (((tag_size - 2) / 2) & 0x7) << 3; in ocs_aes_ccm_write_b0() 1085 b0[0] |= iv[0] & 0x7; in ocs_aes_ccm_write_b0() 1093 b0[i] = iv[i]; in ocs_aes_ccm_write_b0() 1099 i = sizeof(b0) - 1; in ocs_aes_ccm_write_b0() 1101 b0[i] = cryptlen & 0xff; in ocs_aes_ccm_write_b0() 1113 for (i = 0; i < sizeof(b0); i++) in ocs_aes_ccm_write_b0() 1114 iowrite8(b0[i], aes_dev->base_reg + in ocs_aes_ccm_write_b0()
|