Home
last modified time | relevance | path

Searched refs:xi (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/crypto/openssl/crypto/modes/asm/
H A Dghash-ia64.pl263 @xi=("r16","r17");
270 ld1 $xi[0]=[$Xip],-1 //(p16) *Xi--
273 push (@xi,shift(@xi)); push (@rem,shift(@rem)); # "rotate" registers
276 { .mmi; ld1 $xi[0]=[$Xip],-1 //(p16) *Xi--
277 xor $xi[1]=$xi[1],$in };; //(p17) xi=$xi[i]^inp[i]
279 dep $Atbl=$xi[1],$Htbl,4,4 //(p17) &Htable[nlo].lo
280 and $xi[1]=-16,$xi[1] };; //(p17) nhi=xi&0xf0
286 add $Btbl=$xi[1],$Htbl };; //(p17) &Htable[nhi].lo
288 push (@xi,shift(@xi)); push (@rem,shift(@rem)); # "rotate" registers
293 xor $xi[1]=$xi[1],$in };; //(p17) xi=$xi[i]^inp[i]
[all …]
H A Dghash-s390x.pl76 $xi="%r10";
159 srlg $xi,$Zlo,8 # extract second byte
168 sllg $nlo,$xi,4
172 ngr $xi,$tmp
179 lgr $nhi,$xi
190 llgc $xi,0($cnt,$Xi)
192 sllg $nlo,$xi,4
198 nill $xi,0xf0
205 lgr $nhi,$xi
217 sllg $xi,$Zlo,3
[all …]
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_info.c57 X509_INFO *xi = NULL; in STACK_OF() local
76 if ((xi = X509_INFO_new()) == NULL) in STACK_OF()
97 if (xi->x509 != NULL) { in STACK_OF()
98 if (!sk_X509_INFO_push(ret, xi)) in STACK_OF()
100 if ((xi = X509_INFO_new()) == NULL) in STACK_OF()
108 xi->x509 = X509_new_ex(libctx, propq); in STACK_OF()
109 if (xi->x509 == NULL) in STACK_OF()
111 pp = &(xi->x509); in STACK_OF()
114 if (xi->crl != NULL) { in STACK_OF()
115 if (!sk_X509_INFO_push(ret, xi)) in STACK_OF()
[all …]
/freebsd/sys/dev/ofw/
H A Dopenfirm.c118 struct xrefinfo * xi; in xrefinfo_create() local
133 xi = malloc(sizeof(*xi), M_OFWPROP, M_WAITOK | M_ZERO); in xrefinfo_create()
134 xi->node = child; in xrefinfo_create()
135 xi->xref = xref; in xrefinfo_create()
136 SLIST_INSERT_HEAD(&xreflist, xi, next_entry); in xrefinfo_create()
158 struct xrefinfo *rv, *xi; in xrefinfo_find() local
162 SLIST_FOREACH(xi, &xreflist, next_entry) { in xrefinfo_find()
163 if ((find_by == FIND_BY_XREF && (phandle_t)key == xi->xref) || in xrefinfo_find()
164 (find_by == FIND_BY_NODE && (phandle_t)key == xi->node) || in xrefinfo_find()
165 (find_by == FIND_BY_DEV && key == (uintptr_t)xi->dev)) { in xrefinfo_find()
[all …]
/freebsd/sbin/ipfw/
H A Dtables.c64 char *key, int add, uint8_t *ptype, uint32_t *pvmask, ipfw_xtable_info *xi);
408 ipfw_xtable_info xi, xie; in table_create() local
415 memset(&xi, 0, sizeof(xi)); in table_create()
423 xi.limit = strtol(*av, NULL, 10); in table_create()
439 xi.type = val; in table_create()
441 error = table_parse_type(val, p, &xi.tflags); in table_create()
453 xi.vmask = fset; in table_create()
463 if (strlen(*av) > sizeof(xi.algoname)) in table_create()
465 strlcpy(xi.algoname, *av, sizeof(xi.algoname)); in table_create()
469 xi.flags |= IPFW_TGFLAGS_LOCKED; in table_create()
[all …]
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/
H A Dtanf_3u3.c63 reduce_large (uint32_t xi, int *np) in reduce_large() argument
65 const uint32_t *arr = &__inv_pio4[(xi >> 26) & 15]; in reduce_large()
66 int shift = (xi >> 23) & 7; in reduce_large()
69 xi = (xi & 0xffffff) | 0x800000; in reduce_large()
70 xi <<= shift; in reduce_large()
72 res0 = xi * arr[0]; in reduce_large()
73 res1 = (uint64_t) xi * arr[4]; in reduce_large()
74 res2 = (uint64_t) xi * arr[8]; in reduce_large()
/freebsd/contrib/arm-optimized-routines/math/
H A Dsincosf.h130 reduce_large (uint32_t xi, int *np) in reduce_large() argument
132 const uint32_t *arr = &__inv_pio4[(xi >> 26) & 15]; in reduce_large()
133 int shift = (xi >> 23) & 7; in reduce_large()
136 xi = (xi & 0xffffff) | 0x800000; in reduce_large()
137 xi <<= shift; in reduce_large()
139 res0 = xi * arr[0]; in reduce_large()
140 res1 = (uint64_t)xi * arr[4]; in reduce_large()
141 res2 = (uint64_t)xi * arr[8]; in reduce_large()
H A Dcosf.c50 uint32_t xi = asuint (y); in cosf() local
51 int sign = xi >> 31; in cosf()
53 x = reduce_large (xi, &n); in cosf()
H A Dsinf.c54 uint32_t xi = asuint (y); in sinf() local
55 int sign = xi >> 31; in sinf()
57 x = reduce_large (xi, &n); in sinf()
H A Dsincosf.c56 uint32_t xi = asuint (y); in sincosf() local
57 int sign = xi >> 31; in sincosf()
59 x = reduce_large (xi, &n); in sincosf()
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_r2x.c23 X509_CINF *xi = NULL; in X509_REQ_to_X509() local
33 xi = &ret->cert_info; in X509_REQ_to_X509()
36 if ((xi->version = ASN1_INTEGER_new()) == NULL) in X509_REQ_to_X509()
38 if (!ASN1_INTEGER_set(xi->version, 2)) in X509_REQ_to_X509()
50 if (X509_gmtime_adj(xi->validity.notBefore, 0) == NULL) in X509_REQ_to_X509()
52 if (X509_gmtime_adj(xi->validity.notAfter, (long)60 * 60 * 24 * days) == NULL) in X509_REQ_to_X509()
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dsha1-sparcv9.pl62 my $xi=($i&1)?@X[($i/2)%8]:$Xi;
76 add $xi,$e,$e
122 $xi=@X[($i/2)%8];
124 $xi=$Xi;
125 $code.="\tsrlx @X[($i/2)%8],32,$xi\n";
132 add $xi,$e,$e
143 my $xi;
146 $xi=@X[($i/2)%8];
148 $xi=$Xi;
149 $code.="\tsrlx @X[($i/2)%8],32,$xi\n";
[all …]
H A Dsha512-sparcv9.pl279 my $xi;
282 $xi=$tmp32;
283 $code.="\tsrlx @X[(($i+1)/2)%8],32,$xi\n";
285 $xi=@X[(($i+1)/2)%8];
288 srl $xi,@sigma0[0],$T1 !! Xupdate($i)
289 sll $xi,`32-@sigma0[2]`,$tmp1
290 srl $xi,@sigma0[1],$tmp0
294 srl $xi,@sigma0[2],$tmp0
298 $xi=@X[(($i+14)/2)%8];
300 $xi=$tmp32;
[all …]
H A Dsha1-x86_64.pl146 @xi=("%edx","%ebp","%r14d");
159 mov `4*$i`($inp),$xi[0]
160 bswap $xi[0]
163 mov `4*$j`($inp),$xi[1]
165 mov $xi[0],`4*$i`(%rsp)
167 bswap $xi[1]
171 lea 0x5a827999($xi[0],$e),$e
178 xor `4*($j%16)`(%rsp),$xi[1]
180 mov $xi[0],`4*($i%16)`(%rsp)
182 xor `4*(($j+2)%16)`(%rsp),$xi[1]
[all …]
H A Dsha1-s390x.pl108 my $xi=$X[1];
118 alr $e,$xi
127 my $xi=$X[1];
136 alr $e,$xi
145 my $xi=$X[1];
157 alr $e,$xi
/freebsd/stand/libsa/
H A Dbootparam.c370 struct xdr_inaddr *xi; in xdr_inaddr_encode() local
379 xi = (struct xdr_inaddr *) *pkt; in xdr_inaddr_encode()
380 *pkt += sizeof(*xi); in xdr_inaddr_encode()
381 xi->atype = htonl(1); in xdr_inaddr_encode()
384 ip = xi->addr; in xdr_inaddr_encode()
401 struct xdr_inaddr *xi; in xdr_inaddr_decode() local
410 xi = (struct xdr_inaddr *) *pkt; in xdr_inaddr_decode()
411 *pkt += sizeof(*xi); in xdr_inaddr_decode()
412 if (xi->atype != htonl(1)) { in xdr_inaddr_decode()
414 ntohl(xi->atype))); in xdr_inaddr_decode()
[all …]
/freebsd/contrib/wireguard-tools/
H A Dcurve25519-hacl64.h52 u128 xi = input[0]; in fproduct_copy_from_wide_() local
53 output[0] = ((u64)(xi)); in fproduct_copy_from_wide_()
56 u128 xi = input[1]; in fproduct_copy_from_wide_() local
57 output[1] = ((u64)(xi)); in fproduct_copy_from_wide_()
60 u128 xi = input[2]; in fproduct_copy_from_wide_() local
61 output[2] = ((u64)(xi)); in fproduct_copy_from_wide_()
64 u128 xi = input[3]; in fproduct_copy_from_wide_() local
65 output[3] = ((u64)(xi)); in fproduct_copy_from_wide_()
68 u128 xi = input[4]; in fproduct_copy_from_wide_() local
69 output[4] = ((u64)(xi)); in fproduct_copy_from_wide_()
[all …]
/freebsd/crypto/openssl/apps/
H A Dcrl2pkcs7.c206 X509_INFO *xi; in add_certs_from_file() local
223 xi = sk_X509_INFO_shift(sk); in add_certs_from_file()
224 if (xi->x509 != NULL) { in add_certs_from_file()
225 if (!sk_X509_push(stack, xi->x509)) { in add_certs_from_file()
226 X509_INFO_free(xi); in add_certs_from_file()
229 xi->x509 = NULL; in add_certs_from_file()
232 X509_INFO_free(xi); in add_certs_from_file()
/freebsd/sys/dev/vt/hw/fb/
H A Dvt_fb.c286 int bpp, bpl, xi, yi; in vt_fb_bitblt_bitmap() local
312 for (xi = 0; xi < width; xi++) { in vt_fb_bitblt_bitmap()
313 byte = yi * bpl + xi / 8; in vt_fb_bitblt_bitmap()
314 bit = 0x80 >> (xi % 8); in vt_fb_bitblt_bitmap()
318 o = (y + yi) * info->fb_stride + (x + xi) * bpp; in vt_fb_bitblt_bitmap()
351 int bpp, xi, yi; in vt_fb_bitblt_argb() local
375 for (xi = 0; xi < (width * 4); xi += 4) { in vt_fb_bitblt_argb()
376 o = (y + yi) * info->fb_stride + (x + (xi / 4)) * bpp; in vt_fb_bitblt_argb()
378 cc = (argb[yi * width * 4 + xi] << 16) | in vt_fb_bitblt_argb()
379 (argb[yi * width * 4 + xi + 1] << 8) | in vt_fb_bitblt_argb()
[all …]
/freebsd/crypto/openssl/crypto/md5/asm/
H A Dmd5-sparcv9.pl134 my $xi = @X[$j/2];
136 $code.=<<___ if ($j&1 && ($xi=$tx));
137 srlx @X[$j/2],32,$xi ! extract X[$j]
147 add $xi,$t2,$t2 ! X[$j]+K[`$i+1`]
159 my $xi = @X[$j/2];
161 $code.=<<___ if ($j&1 && ($xi=$tx));
162 srlx @X[$j/2],32,$xi ! extract X[$j]
171 add $xi,$t2,$t2 ! X[$j]+K[`$i+1`]
183 my $xi = @X[$j/2];
188 $code.=<<___ if ($j&1 && ($xi=$tx));
[all …]
/freebsd/sys/dev/xilinx/
H A Dxlnx_pcib.c209 struct xlnx_pcib_irqsrc *xi; in xlnx_pcib_handle_msi_intr() local
231 xi = &xlnx_sc->isrcs[irq]; in xlnx_pcib_handle_msi_intr()
232 if (intr_isrc_dispatch(&xi->isrc, tf) != 0) { in xlnx_pcib_handle_msi_intr()
235 &xi->isrc, 1); in xlnx_pcib_handle_msi_intr()
643 struct xlnx_pcib_irqsrc *xi; in xlnx_pcib_msi_release_msi() local
649 xi = (struct xlnx_pcib_irqsrc *)isrc[i]; in xlnx_pcib_msi_release_msi()
651 KASSERT(xi->flags & XLNX_IRQ_FLAG_USED, in xlnx_pcib_msi_release_msi()
654 xi->flags &= ~XLNX_IRQ_FLAG_USED; in xlnx_pcib_msi_release_msi()
666 struct xlnx_pcib_irqsrc *xi; in xlnx_pcib_msi_map_msi() local
669 xi = (struct xlnx_pcib_irqsrc *)isrc; in xlnx_pcib_msi_map_msi()
[all …]
/freebsd/sys/contrib/libsodium/test/default/
H A Dcore6.c27 unsigned int xi = x[i]; in print() local
29 printf(",0x%02x", 255 & (xi - yi - borrow)); in print()
30 borrow = (xi < yi + borrow); in print()
/freebsd/sys/netinet/
H A Dip_divert.c673 struct xinpcb xi; in div_pcblist() local
675 bzero(&xi, sizeof(xi)); in div_pcblist()
676 xi.xi_len = sizeof(struct xinpcb); in div_pcblist()
677 sotoxsocket(dcb->dcb_socket, &xi.xi_socket); in div_pcblist()
678 xi.inp_gencnt = dcb->dcb_gencnt; in div_pcblist()
679 xi.inp_vflag = INP_IPV4; /* XXX: netstat(1) */ in div_pcblist()
680 xi.inp_inc.inc_ie.ie_lport = dcb->dcb_port; in div_pcblist()
681 error = SYSCTL_OUT(req, &xi, sizeof xi); in div_pcblist()
/freebsd/sys/contrib/ck/include/
H A Dck_bitmap.h418 unsigned int xi, yi; in ck_bitmap_count_intersect() local
420 xi = ck_pr_load_uint(&x->map[i]); in ck_bitmap_count_intersect()
422 count += ck_cc_popcount(xi & yi); in ck_bitmap_count_intersect()
426 unsigned int word, xi, yi; in ck_bitmap_count_intersect() local
428 xi = ck_pr_load_uint(&x->map[i]); in ck_bitmap_count_intersect()
430 word = xi & yi; in ck_bitmap_count_intersect()
/freebsd/crypto/openssl/crypto/sha/
H A Dsha_local.h90 #define BODY_00_15(i, a, b, c, d, e, f, xi) \ argument
91 (f) = xi + (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \
94 #define BODY_16_19(i, a, b, c, d, e, f, xi, xa, xb, xc, xd) \ argument
95 Xupdate(f, xi, xa, xb, xc, xd); \
99 #define BODY_20_31(i, a, b, c, d, e, f, xi, xa, xb, xc, xd) \ argument
100 Xupdate(f, xi, xa, xb, xc, xd); \
340 #define BODY_00_15(xi) \ argument
344 A = ROTATE(A, 5) + T + xi; \

123