Home
last modified time | relevance | path

Searched refs:n0 (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/openssl/crypto/bn/
Dbn_sparc.c17 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() argument
20 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont()
22 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont()
24 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont()
33 const BN_ULONG *n0); in bn_mul_mont()
36 const BN_ULONG *n0); in bn_mul_mont()
39 const BN_ULONG *n0); in bn_mul_mont()
42 const BN_ULONG *n0); in bn_mul_mont()
45 const BN_ULONG *n0); in bn_mul_mont()
52 if ((*worker) (rp, ap, bp, np, n0)) in bn_mul_mont()
[all …]
Dbn_exp.c669 mont->n0[0]); in BN_mod_exp_mont_consttime()
678 RSAZ_512_mod_exp(rr->d, a->d, p->d, m->d, mont->n0[0], mont->RR.d); in BN_mod_exp_mont_consttime()
761 const BN_ULONG *n0, const void *table, in BN_mod_exp_mont_consttime()
764 const BN_ULONG *n0, const void *table, in BN_mod_exp_mont_consttime()
767 const BN_ULONG *n0, const void *table, in BN_mod_exp_mont_consttime()
770 const BN_ULONG *n0, const void *table, in BN_mod_exp_mont_consttime()
773 const BN_ULONG *n0, const void *table, in BN_mod_exp_mont_consttime()
783 const BN_ULONG *n0); in BN_mod_exp_mont_consttime()
785 const BN_ULONG *np, const BN_ULONG *n0); in BN_mod_exp_mont_consttime()
788 const BN_ULONG *n0); in BN_mod_exp_mont_consttime()
[all …]
Dbn_mont.c48 if (bn_mul_mont(r->d, a->d, b->d, mont->N.d, mont->n0, num)) { in bn_mul_mont_fixed_top()
91 BN_ULONG *ap, *np, *rp, n0, v, carry; in bn_from_montgomery_word() local
118 n0 = mont->n0[0]; in bn_from_montgomery_word()
126 v = bn_mul_add_words(rp, np, nl, (rp[0] * n0) & BN_MASK2); in bn_from_montgomery_word()
248 ctx->n0[0] = ctx->n0[1] = 0; in BN_MONT_CTX_init()
338 mont->n0[0] = (Ri->top > 0) ? Ri->d[0] : 0; in BN_MONT_CTX_set()
339 mont->n0[1] = (Ri->top > 1) ? Ri->d[1] : 0; in BN_MONT_CTX_set()
368 mont->n0[0] = (Ri->top > 0) ? Ri->d[0] : 0; in BN_MONT_CTX_set()
369 mont->n0[1] = 0; in BN_MONT_CTX_set()
423 to->n0[0] = from->n0[0]; in BN_MONT_CTX_copy()
[all …]
Dbn_ppc.c16 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() argument
19 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont()
21 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont()
27 return bn_mul4x_mont_int(rp, ap, bp, np, n0, num); in bn_mul_mont()
37 return bn_mul_mont_int(rp, ap, bp, np, n0, num); in bn_mul_mont()
Dbn_div.c174 # define bn_div_words(n0,n1,d0) \ argument
178 : "a"(n1), "d"(n0), "r"(d0) \
188 # define bn_div_words(n0,n1,d0) \ argument
192 : "a"(n1), "d"(n0), "r"(d0) \
348 BN_ULONG n0, n1, rem = 0; in bn_div_fixed_top() local
350 n0 = wnumtop[0]; in bn_div_fixed_top()
352 if (n0 == d0) in bn_div_fixed_top()
360 q = (BN_ULONG)(((((BN_ULLONG) n0) << BN_BITS2) | n1) / d0); in bn_div_fixed_top()
362 q = bn_div_words(n0, n1, d0); in bn_div_fixed_top()
386 q = bn_div_words(n0, n1, d0); in bn_div_fixed_top()
/third_party/openssl/crypto/bn/asm/
Darmv8-mont.pl66 $n0="x4"; # const BN_ULONG *n0,
109 ldr $n0,[$n0] // *n0
119 mul $m1,$lo0,$n0 // "tp[0]"*n0
190 mul $m1,$lo0,$n0
305 my ($rptr,$aptr,$bptr,$nptr,$n0,$num)=map("x$_",(0..5));
349 ldr $sM0,[$n0],#4
691 ldr $n0,[$n0] // *n0
721 str $n0,[x29,#112] // offload n0
889 mov $n0,$a0
934 mul $t0,$a0,$n0
[all …]
Darmv4-mont.pl82 $n0="r8";
166 ldr $n0,[$_n0] @ &n0
170 ldr $n0,[$n0] @ *n0
174 str $n0,[$_n0] @ save n0 value
175 mul $n0,$alo,$n0 @ "tp[0]"*n0
177 umlal $alo,$nlo,$nj,$n0 @ np[0]*n0+"t[0]"
187 umlal $nlo,$nhi,$nj,$n0 @ np[j]*n0
197 ldr $n0,[$_n0] @ restore n0
216 mul $n0,$alo,$n0
218 umlal $alo,$nlo,$nj,$n0 @ np[0]*n0+"tp[0]"
[all …]
Dppc-mont.pl109 $n0="r7";
172 $LD $n0,0($n0) ; pull n0[0] value
184 $UMULL $m1,$lo0,$n0 ; "tp[0]"*n0
248 $UMULL $m1,$lo0,$n0 ; tp[0]*n0
423 $LD $n0,0($n0) # *n0
465 $UMULL $mi,$acc0,$n0 # t[0]*n0
472 # (*) mul $t0,$m0,$mi # lo(n[0..3]*t[0]*n0)
473 $STU $mi,$SIZE_T($tp) # put aside t[0]*n0 for tail processing
491 $UMULH $t0,$m0,$mi # hi(n[0..3]*t[0]*n0)
514 $LD $mi,$SIZE_T*8($sp) # a[0]*n0
[all …]
Ds390x-mont.pl79 $n0="%r6"; # const BN_ULONG *n0,
130 lg $n0,0($n0) # pull n0
131 _dswap $n0
140 lgr $mn0,$alo # "tp[0]"*n0
141 msgr $mn0,$n0
193 msgr $mn0,$n0 # tp[0]*n0
Dx86_64-mont.pl90 $n0="%r8"; # const BN_ULONG *n0,
180 mov ($n0),$n0 # pull n0[0] value
187 mov $n0,$m1
192 imulq $lo0,$m1 # "tp[0]"*n0
248 mov $n0,$m1
255 imulq $lo0,$m1 # tp[0]*n0
427 mov ($n0),$n0 # pull n0[0] value
434 mov $n0,$m1
439 imulq $A[0],$m1 # "tp[0]"*n0
571 mov $n0,$m1
[all …]
Dsparcv9-mont.pl59 $n0="%i4"; # const BN_ULONG *n0,
106 ld [$n0],$n0
129 mulx $n0,$acc0,$mul1 ! "t[0]"*n0
132 mulx $car1,$mul1,$car1 ! np[0]*"t[0]"*n0
133 mulx $npj,$mul1,$acc1 !prologue! np[1]*"t[0]"*n0
200 mulx $n0,$acc0,$mul1
314 mulx $n0,$acc0,$mul1 ! "t[0]"*n0
318 mulx $car1,$mul1,$car1 ! np[0]*"t[0]"*n0
390 mulx $n0,$tmp0,$mul1
463 mulx $n0,$tmp1,$mul1
[all …]
Dvis3-mont.pl47 ($n0,$m0,$m1,$lo0,$hi0, $lo1,$hi1,$aj,$alo,$nj,$nlo,$tj)=
101 sllx $t1, 32, $n0
103 or $t0, $n0, $n0
133 mulx $lo0, $n0, $m1 ! "tp[0]"*n0
231 mulx $lo0, $n0, $m1 ! tp[0]*n0
Dsparct4-mont.pl168 ld [%i4+0],%f1 ! load *n0
486 ld [%i2+0],%f1 ! load *n0
671 ($n0,$m0,$m1,$lo0,$hi0, $lo1,$hi1,$aj,$alo,$nj,$nlo,$tj)=
713 sllx $t1, 32, $n0
715 or $t0, $n0, $n0
726 mulx $lo0, $n0, $m1 ! "tp[0]"*n0
808 mulx $lo0, $n0, $m1 ! tp[0]*n0
959 sllx $t1, 32, $n0
960 or $t0, $n0, $n0
971 mulx $lo0, $n0, $m1 ! "tp[0]"*n0
[all …]
Dia64-mont.pl167 xmpy.lu m0=alo[4],n0 // (ap[0]*bp[0])*n0
237 xmpy.lu m0=alo[4],n0 // (ap[0]*bp[i]+tp[0])*n0
531 (p16) xmpy.lu mj[0]=alo[0],n0 // (ap[0]*b[i]+t[0])*n0
/third_party/lwip/src/netif/ppp/
Dvj.c503 struct pbuf *n0 = *nb; in vj_uncompress_tcp() local
508 cp = (u8_t*)n0->payload; in vj_uncompress_tcp()
593 vjlen = (u16_t)(cp - (u8_t*)n0->payload); in vj_uncompress_tcp()
594 if (n0->len < vjlen) { in vj_uncompress_tcp()
600 n0->len, vjlen)); in vj_uncompress_tcp()
605 tmp = n0->tot_len - vjlen + cs->cs_hlen; in vj_uncompress_tcp()
608 IPH_LEN_SET(&cs->cs_ip, lwip_htons(n0->tot_len - vjlen + cs->cs_hlen)); in vj_uncompress_tcp()
622 if (pbuf_remove_header(n0, vjlen)) { in vj_uncompress_tcp()
628 if(LWIP_MEM_ALIGN(n0->payload) != n0->payload) { in vj_uncompress_tcp()
636 np = pbuf_alloc(PBUF_LINK, n0->len + cs->cs_hlen, PBUF_POOL); in vj_uncompress_tcp()
[all …]
/third_party/ffmpeg/libavdevice/tests/
Dtimefilter.c31 double n0, n1; in main() local
36 for (n0 = 0; n0 < 40; n0 = 2 * n0 + 1) { in main()
39 double bestpar0 = n0 ? 1 : 100000; in main()
47 samples[i] = ideal[i] + n0 * (av_lfg_get(&prng) - LFG_MAX / 2) / (LFG_MAX * 10LL); in main()
/third_party/openssl/crypto/ec/
Decp_smpl.c621 BIGNUM *n0, *n1, *n2, *n3, *n4, *n5, *n6; in ossl_ec_GFp_simple_add() local
642 n0 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_add()
667 if (!field_sqr(group, n0, b->Z, ctx)) in ossl_ec_GFp_simple_add()
669 if (!field_mul(group, n1, a->X, n0, ctx)) in ossl_ec_GFp_simple_add()
673 if (!field_mul(group, n0, n0, b->Z, ctx)) in ossl_ec_GFp_simple_add()
675 if (!field_mul(group, n2, a->Y, n0, ctx)) in ossl_ec_GFp_simple_add()
689 if (!field_sqr(group, n0, a->Z, ctx)) in ossl_ec_GFp_simple_add()
691 if (!field_mul(group, n3, b->X, n0, ctx)) in ossl_ec_GFp_simple_add()
695 if (!field_mul(group, n0, n0, a->Z, ctx)) in ossl_ec_GFp_simple_add()
697 if (!field_mul(group, n4, b->Y, n0, ctx)) in ossl_ec_GFp_simple_add()
[all …]
/third_party/libunwind/tests/
DGia64-test-stack.c58 unw_word_t ip, sp, bsp, v0, v1, v2, v3, n0, n1, n2, n3, cfm, sof, sol, r32; in do_unwind_tests() local
83 n0 = n1 = n2 = n3 = 0; in do_unwind_tests()
86 || (ret = unw_get_reg (&c, UNW_IA64_NAT + reg, &n0)) < 0 in do_unwind_tests()
98 n0 ? '*' : ' ', v0, n1 ? '*' : ' ', v1, in do_unwind_tests()
134 || (ret = unw_get_reg (&c, UNW_IA64_NAT + 33 + l, &n0)) < 0) in do_unwind_tests()
139 if (!n0) in do_unwind_tests()
144 if (n0) in do_unwind_tests()
/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/
Dmalloc.c355 size_t n0, n1; in realloc() local
363 n1 = n0 = CHUNK_SIZE(self); in realloc()
365 if (n<=n0 && n0-n<=DONTCARE) return p; in realloc()
370 size_t oldlen = n0 + extra; in realloc()
375 n0 = n; in realloc()
393 if (n < n0) { in realloc()
395 int j = bin_index(n0); in realloc()
400 split->csize = next->psize = n0-n | C_INUSE; in realloc()
408 if (n0+nsize >= n) { in realloc()
415 self->csize = next->psize = n0+nsize | C_INUSE; in realloc()
[all …]
/third_party/musl/src/malloc/oldmalloc/
Dmalloc.c355 size_t n0, n1; in realloc() local
363 n1 = n0 = CHUNK_SIZE(self); in realloc()
365 if (n<=n0 && n0-n<=DONTCARE) return p; in realloc()
370 size_t oldlen = n0 + extra; in realloc()
375 n0 = n; in realloc()
393 if (n < n0) { in realloc()
395 int j = bin_index(n0); in realloc()
400 split->csize = next->psize = n0-n | C_INUSE; in realloc()
408 if (n0+nsize >= n) { in realloc()
415 self->csize = next->psize = n0+nsize | C_INUSE; in realloc()
[all …]
/third_party/musl/porting/liteos_a/user_debug/src/malloc/oldmalloc/
Dmalloc.c383 size_t n0, n1; in realloc() local
391 n1 = n0 = CHUNK_SIZE(self); in realloc()
393 if (n<=n0 && n0-n<=DONTCARE) return p; in realloc()
398 size_t oldlen = n0 + extra; in realloc()
410 n0 = n; in realloc()
431 if (n < n0) { in realloc()
433 int j = bin_index(n0); in realloc()
439 split->csize = next->psize = n0-n | C_INUSE; in realloc()
449 if (n0+nsize >= n) { in realloc()
456 self->csize = next->psize = n0+nsize | C_INUSE; in realloc()
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen7.5/
Dwait.asm1 wait(1) n0<1>.xUD { align16 WE_all 1N };
2 wait(1) n0<1>.yUD { align16 WE_all 1N };
3 wait(1) n0<1>.zUD { align16 WE_all 1N };
/third_party/mesa3d/src/intel/tools/tests/gen8/
Dwait.asm1 wait(1) n0<1>UD { align1 WE_all 1N };
2 wait(1) n0.1<1>UD { align1 WE_all 1N };
3 wait(1) n0.2<1>UD { align1 WE_all 1N };
/third_party/mesa3d/src/intel/tools/tests/gen7/
Dwait.asm1 wait(1) n0<1>.xUD { align16 WE_all 1N };
2 wait(1) n0<1>.yUD { align16 WE_all 1N };
3 wait(1) n0<1>.zUD { align16 WE_all 1N };
/third_party/mesa3d/src/intel/tools/tests/gen9/
Dwait.asm1 wait(1) n0<1>UD { align1 WE_all 1N };
2 wait(1) n0.1<1>UD { align1 WE_all 1N };
3 wait(1) n0.2<1>UD { align1 WE_all 1N };

1234