/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ |
H A D | curve25519_sandy2x.c | 21 #define x2 var[1] macro 47 z_51.v[2] = (z2[5] << 26) + z2[4]; in crypto_scalarmult_curve25519_sandy2x() 49 z_51.v[4] = (z2[9] << 26) + z2[8]; in crypto_scalarmult_curve25519_sandy2x() 51 x_51.v[0] = (x2[1] << 26) + x2[0]; in crypto_scalarmult_curve25519_sandy2x() 52 x_51.v[1] = (x2[3] << 26) + x2[2]; in crypto_scalarmult_curve25519_sandy2x() 53 x_51.v[2] = (x2[5] << 26) + x2[4]; in crypto_scalarmult_curve25519_sandy2x() 54 x_51.v[3] = (x2[7] << 26) + x2[6]; in crypto_scalarmult_curve25519_sandy2x() 55 x_51.v[4] = (x2[9] << 26) + x2[8]; in crypto_scalarmult_curve25519_sandy2x() 64 #undef x2 67 #define x2 var[0] macro [all …]
|
/freebsd/contrib/bearssl/src/symcipher/ |
H A D | aes_pwr8_ctrcbc.c | 107 vcipher(x, x, 4) \ 120 vcipher(x, x, 4) \ 135 vcipher(x, x, 4) \ 156 vcipher(x, x, 4) \ 157 vcipher(y, y, 4) \ 180 vcipher(x, x, 4) \ 181 vcipher(y, y, 4) \ 208 vcipher(x, x, 4) \ 209 vcipher(y, y, 4) \ 231 #define BLOCK_ENCRYPT_X4_128(x0, x1, x2, x3) \ argument [all …]
|
H A D | aes_x86ni_ctr.c | 65 sk[u] = _mm_loadu_si128((void *)(ctx->skey.skni + (u << 4))); in br_aes_x86ni_ctr_run() 69 __m128i x0, x1, x2, x3; in br_aes_x86ni_ctr_run() local 73 x2 = _mm_insert_epi32(ivx, br_bswap32(cc + 2), 3); in br_aes_x86ni_ctr_run() 77 x2 = _mm_xor_si128(x2, sk[0]); in br_aes_x86ni_ctr_run() 81 x2 = _mm_aesenc_si128(x2, sk[1]); in br_aes_x86ni_ctr_run() 85 x2 = _mm_aesenc_si128(x2, sk[2]); in br_aes_x86ni_ctr_run() 89 x2 = _mm_aesenc_si128(x2, sk[3]); in br_aes_x86ni_ctr_run() 91 x0 = _mm_aesenc_si128(x0, sk[4]); in br_aes_x86ni_ctr_run() 92 x1 = _mm_aesenc_si128(x1, sk[4]); in br_aes_x86ni_ctr_run() 93 x2 = _mm_aesenc_si128(x2, sk[4]); in br_aes_x86ni_ctr_run() [all …]
|
H A D | aes_x86ni_cbcdec.c | 63 sk[u] = _mm_loadu_si128((void *)(ctx->skey.skni + (u << 4))); in br_aes_x86ni_cbcdec_run() 66 __m128i x0, x1, x2, x3, e0, e1, e2, e3; in br_aes_x86ni_cbcdec_run() local 71 x2 = _mm_loadu_si128((void *)(buf + 32)); in br_aes_x86ni_cbcdec_run() 78 x2 = _mm_loadu_si128( in br_aes_x86ni_cbcdec_run() 80 x3 = x2; in br_aes_x86ni_cbcdec_run() 82 x2 = x0; in br_aes_x86ni_cbcdec_run() 87 x2 = x0; in br_aes_x86ni_cbcdec_run() 93 e2 = x2; in br_aes_x86ni_cbcdec_run() 97 x2 = _mm_xor_si128(x2, sk[0]); in br_aes_x86ni_cbcdec_run() 101 x2 = _mm_aesdec_si128(x2, sk[1]); in br_aes_x86ni_cbcdec_run() [all …]
|
H A D | aes_x86ni_ctrcbc.c | 64 sk[u] = _mm_loadu_si128((void *)(ctx->skey.skni + (u << 4))); in br_aes_x86ni_ctrcbc_ctr() 70 erev = _mm_set_epi8(0, 1, 2, 3, 4, 5, 6, 7, in br_aes_x86ni_ctrcbc_ctr() 74 four = _mm_set_epi64x(0, 4); in br_aes_x86ni_ctrcbc_ctr() 92 __m128i x0, x1, x2, x3; in br_aes_x86ni_ctrcbc_ctr() local 100 x2 = _mm_shuffle_epi8(ivx2, erev); in br_aes_x86ni_ctrcbc_ctr() 105 x2 = _mm_xor_si128(x2, sk[0]); in br_aes_x86ni_ctrcbc_ctr() 109 x2 = _mm_aesenc_si128(x2, sk[1]); in br_aes_x86ni_ctrcbc_ctr() 113 x2 = _mm_aesenc_si128(x2, sk[2]); in br_aes_x86ni_ctrcbc_ctr() 117 x2 = _mm_aesenc_si128(x2, sk[3]); in br_aes_x86ni_ctrcbc_ctr() 119 x0 = _mm_aesenc_si128(x0, sk[4]); in br_aes_x86ni_ctrcbc_ctr() [all …]
|
H A D | aes_ct64.c | 41 uint64_t x0, x1, x2, x3, x4, x5, x6, x7; in br_aes_ct64_bitslice_Sbox() local 58 x2 = q[5]; in br_aes_ct64_bitslice_Sbox() 59 x3 = q[4]; in br_aes_ct64_bitslice_Sbox() 72 t0 = x1 ^ x2; in br_aes_ct64_bitslice_Sbox() 197 q[4] = s3; in br_aes_ct64_bitslice_Sbox() 218 #define SWAP8(x, y) SWAPN(0x0F0F0F0F0F0F0F0F, 0xF0F0F0F0F0F0F0F0, 4, x, y) in br_aes_ct64_ortho() 222 SWAP2(q[4], q[5]); in br_aes_ct64_ortho() 227 SWAP4(q[4], q[6]); in br_aes_ct64_ortho() 230 SWAP8(q[0], q[4]); in br_aes_ct64_ortho() 240 uint64_t x0, x1, x2, x3; in br_aes_ct64_interleave_in() local [all …]
|
/freebsd/contrib/arm-optimized-routines/math/ |
H A D | sincosf.h | 14 /* PI / 4. */ 20 double sign[4]; /* Sign of sine in quadrants 0..3. */ 30 /* Table with 4/PI to 192 bit precision. */ 40 /* Compute the sine and cosine of inputs X and X2 (X squared), using the 44 sincosf_poly (double x, double x2, const sincos_t *p, int n, float *sinp, in sincosf_poly() argument 49 x4 = x2 * x2; in sincosf_poly() 50 x3 = x2 * x; in sincosf_poly() 51 c2 = p->c3 + x2 * p->c4; in sincosf_poly() 52 s1 = p->s2 + x2 * p->s3; in sincosf_poly() 59 c1 = p->c0 + x2 * p->c1; in sincosf_poly() [all …]
|
H A D | erf.c | 56 double x2 = x * x; in erf() local 60 double r1 = fma (x2, PA[1], PA[0]); in erf() 61 double r2 = fma (x2, PA[3], PA[2]); in erf() 62 double r3 = fma (x2, PA[5], PA[4]); in erf() 63 double r4 = fma (x2, PA[7], PA[6]); in erf() 64 double r5 = fma (x2, PA[9], PA[8]); in erf() 65 double x4 = x2 * x2; in erf() 77 r1n = fma (x2, NA[1], NA[0]); in erf() 78 x4 = x2 * x2; in erf() 79 r2n = fma (x2, NA[3], NA[2]); in erf() [all …]
|
/freebsd/sys/crypto/openssl/aarch64/ |
H A D | aesv8-armx.S | 25 cmp x2,#0 41 ld1 {v1.4s,v2.4s},[x3],#32 47 .align 4 51 st1 {v3.4s},[x2],#16 65 ld1 {v1.4s},[x3] 69 st1 {v3.4s},[x2],#16 83 st1 {v3.4s},[x2],#16 93 st1 {v3.4s},[x2] 94 add x2,x2,#0x50 99 .align 4 [all …]
|
H A D | armv8-mont.S | 38 ldr x9,[x2],#8 // bp[0] 109 ldr x9,[x2],#8 // bp[i] 241 .align 4 246 sub x7,x7,x5,lsl#4 267 ld1 {v0.4s,v1.4s},[x1],#32 269 ldr s30,[x4],#4 273 .align 4 275 ldr s28,[x2],#4 // *b++ 276 uxtl v28.4s,v28.4h 278 ld1 {v2.4s,v3.4s},[x3],#32 [all …]
|
/freebsd/contrib/arm-optimized-routines/pl/math/ |
H A D | poly_generic.h | 18 static inline VTYPE VWRAP (pairwise_poly_3) (VTYPE x, VTYPE x2, in VWRAP() 24 return FMA (p23, x2, p01); in VWRAP() 27 static inline VTYPE VWRAP (estrin_4) (VTYPE x, VTYPE x2, VTYPE x4, in VWRAP() 30 VTYPE p03 = VWRAP (pairwise_poly_3) (x, x2, poly); in VWRAP() 31 return FMA (poly[4], x4, p03); in VWRAP() 33 static inline VTYPE VWRAP (estrin_5) (VTYPE x, VTYPE x2, VTYPE x4, in VWRAP() 36 VTYPE p03 = VWRAP (pairwise_poly_3) (x, x2, poly); in VWRAP() 37 VTYPE p45 = FMA (poly[5], x, poly[4]); in VWRAP() 40 static inline VTYPE VWRAP (estrin_6) (VTYPE x, VTYPE x2, VTYPE x4, in VWRAP() 43 VTYPE p03 = VWRAP (pairwise_poly_3) (x, x2, poly); in VWRAP() [all …]
|
H A D | poly_sve_generic.h | 22 static inline VTYPE VWRAP (pairwise_poly_3) (svbool_t pg, VTYPE x, VTYPE x2, in VWRAP() 28 return svmla_x (pg, p01, p23, x2); in VWRAP() 31 static inline VTYPE VWRAP (estrin_4) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in VWRAP() 34 VTYPE p03 = VWRAP (pairwise_poly_3) (pg, x, x2, poly); in VWRAP() 35 return svmla_x (pg, p03, x4, poly[4]); in VWRAP() 37 static inline VTYPE VWRAP (estrin_5) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in VWRAP() 40 VTYPE p03 = VWRAP (pairwise_poly_3) (pg, x, x2, poly); in VWRAP() 41 VTYPE p45 = svmla_x (pg, DUP (poly[4]), x, poly[5]); in VWRAP() 44 static inline VTYPE VWRAP (estrin_6) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in VWRAP() 47 VTYPE p03 = VWRAP (pairwise_poly_3) (pg, x, x2, poly); in VWRAP() [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | mpc8569mds.dts | 34 0x2 0x0 0x0 0xf0000000 0x04000000 91 pib@4,0 { 93 reg = <4 0 0x8000>; 143 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */ 144 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */ 145 0x2 0x0b 0x2 0x0 0x1 0x0 /* CLK12*/ 148 0x0 0x2 0x1 0x0 0x1 0x0 /* ENET1_TXD2_SER1_TXD2 */ 149 0x0 0x3 0x1 0x0 0x2 0x0 /* ENET1_TXD3_SER1_TXD3 */ 150 0x0 0x6 0x2 0x0 0x3 0x0 /* ENET1_RXD0_SER1_RXD0 */ 151 0x0 0x7 0x2 0x0 0x1 0x0 /* ENET1_RXD1_SER1_RXD1 */ [all …]
|
H A D | p1025rdb.dtsi | 102 /* 4MB for Linux Kernel Image */ 108 /* 4MB for Compressed Root file System Image */ 158 /* 4MB for Linux Kernel Image */ 164 /* 4MB for Compressed RFS Image */ 253 0x0 0x17 0x2 0x0 0x2 0x0 /* CLK12 */ 254 0x0 0x18 0x2 0x0 0x1 0x0 /* CLK9 */ 255 0x0 0x7 0x1 0x0 0x2 0x0 /* ENET1_TXD0_SER1_TXD0 */ 256 0x0 0x9 0x1 0x0 0x2 0x0 /* ENET1_TXD1_SER1_TXD1 */ 257 0x0 0xb 0x1 0x0 0x2 0x0 /* ENET1_TXD2_SER1_TXD2 */ 258 0x0 0xc 0x1 0x0 0x2 0x0 /* ENET1_TXD3_SER1_TXD3 */ [all …]
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | errorlist_table.c | 58 …{0xfdd0, 0x20, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE … 65 …{0xfffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE P… 67 …{0x1fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE … 68 …{0x2fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE … 69 …{0x3fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE … 70 …{0x4fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE … 71 …{0x5fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE … 72 …{0x6fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE … 73 …{0x7fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE … 74 …{0x8fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE … [all …]
|
/freebsd/contrib/bearssl/src/ec/ |
H A D | ec_c25519_m62.c | 92 w = m & (a[4] ^ b[4]); a[4] ^= w; b[4] ^= w; in f255_cswap() 105 d[4] = a[4] + b[4]; in f255_add() 143 d[4] = ((uint64_t)1 << 61) + a[4] - b[4] - cc; in f255_sub() 150 d[0] += 19 * (d[4] >> 51); in f255_sub() 151 d[4] &= MASK51; in f255_sub() 200 * sum will be at most 5*(2^57-1) + 4*(2^51-1) (for t[5]), in f255_mul() 213 UMUL51(t[4], lo, a[3], b[0]); t[3] += lo; in f255_mul() 214 UMUL51(hi, lo, a[2], b[1]); t[3] += lo; t[4] += hi; in f255_mul() 215 UMUL51(hi, lo, a[1], b[2]); t[3] += lo; t[4] += hi; in f255_mul() 216 UMUL51(hi, lo, a[0], b[3]); t[3] += lo; t[4] += hi; in f255_mul() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | popcountdi2.c | 18 du_int x2 = (du_int)a; in __popcountdi2() local 19 x2 = x2 - ((x2 >> 1) & 0x5555555555555555uLL); in __popcountdi2() 21 x2 = ((x2 >> 2) & 0x3333333333333333uLL) + (x2 & 0x3333333333333333uLL); in __popcountdi2() 22 // Every 4 bits holds the sum of every 4-set of bits (3 significant bits) (16) in __popcountdi2() 23 x2 = (x2 + (x2 >> 4)) & 0x0F0F0F0F0F0F0F0FuLL; in __popcountdi2() 24 // Every 8 bits holds the sum of every 8-set of bits (4 significant bits) (8) in __popcountdi2() 25 su_int x = (su_int)(x2 + (x2 >> 32)); in __popcountdi2()
|
/freebsd/sys/arm64/arm64/ |
H A D | bus_space_asm.S | 32 ldrb w0, [x1, x2] 37 ldrh w0, [x1, x2] 42 ldr w0, [x1, x2] 47 ldr x0, [x1, x2] 56 add x0, x1, x2 77 add x0, x1, x2 98 add x0, x1, x2 107 str w1, [x3], #4 119 add x0, x1, x2 140 add x0, x1, x2 [all …]
|
/freebsd/lib/msun/src/ |
H A D | s_tanhl.c | 54 T17 = 5.8645267876296793e-4, /* 0x13378589b85aa7.0p-63 */ 55 T19 = -2.1121033571392224e-4; /* -0x1baf0af80c4090.0p-65 */ 70 T17 = 5.9002744094556621e-4, /* 0x1355824803668e.0p-63 */ 71 T19 = -2.3912911424260516e-4, /* -0x1f57d7734c8dde.0p-65 */ 111 long double hi,lo,s,x2,x4,z; in tanhl() local 135 x2 = x*x; in tanhl() 137 x4 = x2*x2; in tanhl() 138 RETURNI(((T19*x2 + T17)*x4 + (T15*x2 + T13))*(x2*x*x2*x4*x4) + in tanhl() 139 ((T11*x2 + T9)*x4 + (T7*x2 + T5))*(x2*x*x2) + in tanhl() 140 T3*(x2*x) + x); in tanhl() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/ |
H A D | pwhash_scryptsalsa208sha256_sse.c | 68 ARX(X2, X1, X0, 9) \ 69 ARX(X3, X2, X1, 13) \ 70 ARX(X0, X3, X2, 18) \ 74 X2 = _mm_shuffle_epi32(X2, 0x4E); \ 79 ARX(X2, X3, X0, 9) \ 80 ARX(X1, X2, X3, 13) \ 81 ARX(X0, X1, X2, 18) \ 85 X2 = _mm_shuffle_epi32(X2, 0x4E); \ 95 __m128i Y2 = X2 = _mm_xor_si128(X2, (in)[2]); \ 102 (out)[2] = X2 = _mm_add_epi32(X2, Y2); \ [all …]
|
/freebsd/contrib/bearssl/src/rsa/ |
H A D | rsa_pkcs1_sig_unpad.c | 38 size_t u, x2, x3, pad_len, zlen; in br_rsa_pkcs1_sig_unpad() local 46 * 00 01 FF ... FF 00 30 x1 30 x2 06 x3 OID [ 05 00 ] 04 x4 HASH in br_rsa_pkcs1_sig_unpad() 60 * -- If the "05 00" is present, then x2 == x3 + 4; otherwise, in br_rsa_pkcs1_sig_unpad() 61 * x2 == x3 + 2. in br_rsa_pkcs1_sig_unpad() 63 * -- x1 == x2 + x4 + 4. in br_rsa_pkcs1_sig_unpad() 99 x2 = x3 + 2; in br_rsa_pkcs1_sig_unpad() 101 x2 = x3 + 4; in br_rsa_pkcs1_sig_unpad() 103 pad2[pad_len - 4] = 0x05; in br_rsa_pkcs1_sig_unpad() 108 pad2[2] = x2 + hash_len + 4; in br_rsa_pkcs1_sig_unpad() 110 pad2[4] = x2; in br_rsa_pkcs1_sig_unpad()
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-pp-string_test.cc | 59 EXPECT_EXPANSION("14", GMOCK_PP_CAT(1, 4)); in TEST() 68 EXPECT_EXPANSION("4", GMOCK_PP_NARG(x, y, z, w)); in TEST() 126 EXPECT_EXPANSION("4", GMOCK_PP_INC(3)); in TEST() 127 EXPECT_EXPANSION("5", GMOCK_PP_INC(4)); in TEST() 139 EXPECT_EXPANSION("X0= X1= X2=", GMOCK_PP_REPEAT(JOINER, X, 3)); in TEST() 140 EXPECT_EXPANSION("X0= X1= X2= X3=", GMOCK_PP_REPEAT(JOINER, X, 4)); in TEST() 141 EXPECT_EXPANSION("X0= X1= X2= X3= X4=", GMOCK_PP_REPEAT(JOINER, X, 5)); in TEST() 142 EXPECT_EXPANSION("X0= X1= X2= X3= X4= X5=", GMOCK_PP_REPEAT(JOINER, X, 6)); in TEST() 143 EXPECT_EXPANSION("X0= X1= X2= X3= X4= X5= X6=", in TEST() 145 EXPECT_EXPANSION("X0= X1= X2= X3= X4= X5= X6= X7=", in TEST() [all …]
|
/freebsd/stand/liblua/ |
H A D | gfx_utils.c | 50 uint32_t x1, y1, x2, y2, f; in lua_term_putimage() local 62 x2 = luaL_checknumber(L, 4); in lua_term_putimage() 68 if (x2 != 0) { in lua_term_putimage() 69 x2 = gfx_state.tg_origin.tp_col + in lua_term_putimage() 70 x2 * gfx_state.tg_font.vf_width; in lua_term_putimage() 81 if (gfx_fb_putimage(&png, x1, y1, x2, y2, f) == 0) in lua_term_putimage() 94 uint32_t x1, y1, x2, y2, f; in lua_fb_putimage() local 106 x2 = luaL_checknumber(L, 4); in lua_fb_putimage() 114 if (gfx_fb_putimage(&png, x1, y1, x2, y2, f) == 0) in lua_fb_putimage() 155 y1 = luaL_checknumber(L, 4); in lua_fb_line() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/qcom/ |
H A D | qcom-apq8084.dtsi | 210 <GIC_PPI 4 0xf08>, 265 reg = <0xd1 0x2>; 270 reg = <0xd2 0x2>; 271 bits = <4 6>; 285 reg = <0xd4 0x2>; 290 reg = <0xd5 0x2>; 291 bits = <4 6>; 315 reg = <0xd8 0x2>; 320 reg = <0xd9 0x2>; 321 bits = <4 [all...] |
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | nvm_cfg.h | 36 * Created: 12/4/2017 69 #define NVM_CFG1_GLOB_BOARD_SWAP_PORT 0x2 72 #define NVM_CFG1_GLOB_MF_MODE_OFFSET 4 75 #define NVM_CFG1_GLOB_MF_MODE_SPIO4 0x2 103 u32 serial_number[4]; /* 0x14 */ 109 #define NVM_CFG1_GLOB_PCI_GEN_PCI_GEN3 0x2 118 #define NVM_CFG1_GLOB_ASPM_SUPPORT_L1_DISABLED 0x2 128 #define NVM_CFG1_GLOB_PCIE_PREEMPHASIS_3_5DB 0x2 153 #define NVM_CFG1_GLOB_SIDEBAND_MODE_SGMII 0x2 168 #define NVM_CFG1_GLOB_NETWORK_PORT_MODE_BB_1X100G 0x2 [all …]
|