Home
last modified time | relevance | path

Searched refs:inp (Results 1 – 25 of 116) sorted by relevance

12345

/external/boringssl/src/crypto/aes/asm/
Dbsaes-x86_64.pl105 my ($inp,$out,$len,$key,$ivp)=("%rdi","%rsi","%rdx","%rcx");
935 my ($out,$inp,$rounds,$const)=("%rax","%rcx","%r10d","%r11");
966 movdqu ($inp), %xmm7 # load round 0 key
967 lea 0x10($inp), $inp
975 movdqu ($inp), %xmm6 # load round 1 key
1018 lea 0x10($inp), $inp
1028 movdqu ($inp), %xmm6 # load next round key
1054 mov 240($inp),%r10d # pass rounds
1055 mov $inp,%rcx # pass key
1068 movdqu 0x00($inp), @XMM[0] # load input
[all …]
Daesni-x86_64.pl202 $inp="%rdi";
254 { my ($inp,$out,$key) = @_4args;
261 movups ($inp),$inout0 # load input
277 movups ($inp),$inout0 # load input
608 movdqu ($inp),$inout0 # load 8 input blocks
609 movdqu 0x10($inp),$inout1
610 movdqu 0x20($inp),$inout2
611 movdqu 0x30($inp),$inout3
612 movdqu 0x40($inp),$inout4
613 movdqu 0x50($inp),$inout5
[all …]
Daesni-x86.pl77 $inp="esi";
415 &mov ($inp,&wparam(0));
431 &movdqu ($inout0,&QWP(0,$inp));
432 &movdqu ($inout1,&QWP(0x10,$inp));
433 &movdqu ($inout2,&QWP(0x20,$inp));
434 &movdqu ($inout3,&QWP(0x30,$inp));
435 &movdqu ($inout4,&QWP(0x40,$inp));
436 &movdqu ($inout5,&QWP(0x50,$inp));
437 &lea ($inp,&DWP(0x60,$inp));
443 &movdqu ($inout0,&QWP(0,$inp));
[all …]
Dbsaes-armv7.pl65 my ($inp,$out,$len,$key)=("r0","r1","r2","r3");
916 my ($out,$inp,$rounds,$const)=("r12","r4","r5","r6");
947 vld1.8 {@XMM[7]}, [$inp]! @ load round 0 key
953 vld1.8 {@XMM[15]}, [$inp]! @ load round 1 key
986 vld1.8 {@XMM[15]}, [$inp]! @ load next round key
1016 ldr r5,[$inp,#240] @ pass rounds
1017 mov r4,$inp @ pass key
1035 vld1.8 {@XMM[0]-@XMM[1]}, [$inp]! @ load input
1036 vld1.8 {@XMM[2]-@XMM[3]}, [$inp]!
1038 vld1.8 {@XMM[4]-@XMM[5]}, [$inp]!
[all …]
Daesv8-armx.pl68 my ($inp,$bits,$out,$ptr,$rounds)=("x0","w1","x2","x3","w12");
92 cmp $inp,#0
108 vld1.8 {$in0},[$inp],#16
170 vld1.8 {$in1},[$inp],#8
205 vld1.8 {$in1},[$inp]
271 add $inp,$out,x12,lsl#4 // end of key schedule
274 vld1.32 {v1.16b},[$inp]
275 vst1.32 {v0.16b},[$inp],x4
280 vld1.32 {v1.16b},[$inp]
283 vst1.32 {v0.16b},[$inp],x4
[all …]
Dvpaes-x86.pl58 my ($round, $base, $magic, $key, $const, $inp, $out)=
372 &movdqu ("xmm0",&QWP(0,$inp)); # load key (unaligned)
436 &movdqu ("xmm0",&QWP(8,$inp)); # load key part 2 (very unaligned)
467 &movdqu ("xmm0",&QWP(16,$inp)); # load key part 2 (unaligned)
699 &lea ($inp,&DWP($k_dksd,$const));
705 &movdqa ("xmm2",&QWP(0,$inp));
707 &movdqa ("xmm3",&QWP(0x10,$inp));
712 &movdqa ("xmm2",&QWP(0x20,$inp));
715 &movdqa ("xmm3",&QWP(0x30,$inp));
720 &movdqa ("xmm2",&QWP(0x40,$inp));
[all …]
Daes-x86_64.pl56 $inp="%r8";
550 lea 128($sbox),$inp # size optimization
551 mov 0-128($inp),$acc1 # prefetch Te4
552 mov 32-128($inp),$acc2
553 mov 64-128($inp),$t0
554 mov 96-128($inp),$t1
555 mov 128-128($inp),$acc1
556 mov 160-128($inp),$acc2
557 mov 192-128($inp),$t0
558 mov 224-128($inp),$t1
[all …]
/external/boringssl/src/crypto/rc4/asm/
Drc4-x86_64.pl120 $inp="%rdx"; # arg3
141 mov $inp,%r12
145 my $inp="%r12";
166 sub $inp,$out
185 xorb ($inp),$TY#b
186 movb $TY#b,($out,$inp)
187 lea 1($inp),$inp
217 xor ($inp),%r8
218 mov %r8,($out,$inp)
219 lea 8($inp),$inp
[all …]
Drc4-586.pl69 $inp="esi";
119 &movq ("mm2",&QWP(0,$inp)) if ($i==1);
120 &movq (&QWP(-8,(@XX[0],$inp)),"mm1") if ($i==0);
141 &movq ("mm0",&QWP(0,$inp)) if ($i<=0);
142 &movq (&QWP(-8,($out,$inp)),"mm2") if ($i==0);
159 &mov ($inp,&wparam(2)); # load inp
172 &lea ($tx,&DWP(0,$inp,$ty));
173 &sub ($out,$inp); # re-bias out
201 &lea ($ty,&DWP(-8,$inp,$ty));
214 &cmp ($inp,&DWP(-4,$dat));
[all …]
/external/boringssl/src/crypto/bn/asm/
Drsaz-x86_64.pl108 ($out, $inp, $mod) = ("%rdi", "%rsi", "%rbp"); # common internal API
110 my ($out,$inp,$mod,$n0,$times) = ("%rdi","%rsi","%rdx","%rcx","%r8d");
131 movq ($inp), %rdx
132 movq 8($inp), %rax
151 movq 16($inp), %rax
156 movq 24($inp), %rax
162 movq 32($inp), %rax
168 movq 40($inp), %rax
174 movq 48($inp), %rax
180 movq 56($inp), %rax
[all …]
Dx86-mont.pl276 $inp="esi"; # integer path uses these registers differently
280 &mov ($inp,$_ap);
284 &mov ("edx",$inp);
292 &mov ("eax",&DWP(0,$inp));
301 &mov ("eax",&DWP(0,$inp,$j,4)); # ap[j+1]
310 &mov ($inp,$_np);
319 &mov ("eax",&DWP(0,$inp)); # np[0]
322 &mov ("eax",&DWP(4,$inp)); # np[1]
335 &mov ("eax",&DWP(0,$inp,$j,4)); # ap[j+1]
346 &mov ($inp,$_np);
[all …]
/external/ppp/pppd/
Deap.c115 static void eap_input __P((int unit, u_char *inp, int inlen));
119 static int eap_printpkt __P((u_char *inp, int inlen,
345 b64enc(bs, inp, inlen, outp) in b64enc() argument
347 u_char *inp;
354 bs->bs_bits = (bs->bs_bits << 8) | *inp++;
393 b64dec(bs, inp, inlen, outp) in b64dec() argument
395 u_char *inp;
403 if ((cp = strchr(base64, *inp++)) == NULL)
1248 write_pseudonym(esp, inp, len, id) in write_pseudonym() argument
1250 u_char *inp;
[all …]
Dfsm.c339 u_char *inp; local
347 inp = inpacket;
352 GETCHAR(code, inp);
353 GETCHAR(id, inp);
354 GETSHORT(len, inp);
376 fsm_rconfreq(f, id, inp, len);
380 fsm_rconfack(f, id, inp, len);
385 fsm_rconfnakrej(f, code, id, inp, len);
389 fsm_rtermreq(f, id, inp, len);
397 fsm_rcoderej(f, inp, len);
[all …]
Dupap.c319 u_char *inp; local
327 inp = inpacket;
332 GETCHAR(code, inp);
333 GETCHAR(id, inp);
334 GETSHORT(len, inp);
350 upap_rauthreq(u, inp, id, len);
354 upap_rauthack(u, inp, id, len);
358 upap_rauthnak(u, inp, id, len);
371 upap_rauthreq(u, inp, id, len) in upap_rauthreq() argument
373 u_char *inp;
[all …]
/external/boringssl/src/crypto/modes/asm/
Dghash-x86.pl138 $inp = "edi";
161 my $cnt = $inp;
263 &mov ($inp,&wparam(0)); # load Xi
266 &mov ($Zhh,&DWP(0,$inp)); # load Xi[16]
267 &mov ($Zhl,&DWP(4,$inp));
268 &mov ($Zlh,&DWP(8,$inp));
269 &mov ($Zll,&DWP(12,$inp));
284 &mov ($inp,&wparam(0));
287 &mov (&DWP(12,$inp),$Zll);
288 &mov (&DWP(8,$inp),$Zlh);
[all …]
Dghash-x86_64.pl134 my $inp = shift;
155 mov ($inp,$cnt),`&LB("$nlo")`
239 $inp="%rdx";
256 mov $inp,%r14 # reassign couple of args
259 { my $inp="%r14";
293 &add ($len,$inp); # pointer to the end of data
298 &xor ($Zhi,"($inp)");
299 &mov ("%rdx","8($inp)");
300 &lea ($inp,"16($inp)");
375 &cmp ($inp,$len);
[all …]
/external/boringssl/src/crypto/sha/asm/
Dsha256-armv4.pl56 $inp="r1"; $t4="r1";
81 @ ldr $t1,[$inp],#4 @ $i
83 str $inp,[sp,#17*4] @ make room for $t4
92 @ ldrb $t1,[$inp,#3] @ $i
94 ldrb $t2,[$inp,#2]
95 ldrb $t0,[$inp,#1]
97 ldrb $t2,[$inp],#4
100 str $inp,[sp,#17*4] @ make room for $t4
124 ldr $t1,[$inp],#4 @ prefetch
126 ldrb $t1,[$inp,#3]
[all …]
Dsha512-x86_64.pl156 $inp="%rsi"; # 2nd arg
296 lea ($inp,%rdx,$SZ),%rdx # inp+num*16*$SZ
299 mov $inp,$_inp # save inp, 2nd arh
321 $code.=" mov $SZ*$i($inp),$T1\n";
344 lea 16*$SZ($inp),$inp
355 cmp $_end,$inp
525 my ($ctx,$inp,$num,$Tbl)=("%rdi","%rsi","%rdx","%rcx");
561 movdqu ($inp),@MSG[0]
562 movdqu 0x10($inp),@MSG[1]
563 movdqu 0x20($inp),@MSG[2]
[all …]
Dsha1-x86_64.pl113 $inp="%rsi"; # 2nd arg
118 $inp="%r9";
137 mov `4*$i`($inp),$xi[0]
141 mov `4*$j`($inp),$xi[1]
277 mov %rsi,$inp # reassigned argument
310 lea `16*4`($inp),$inp
328 my ($ctx,$inp,$num)=("%rdi","%rsi","%rdx");
351 movdqu ($inp),@MSG[0]
353 movdqu 0x10($inp),@MSG[1]
355 movdqu 0x20($inp),@MSG[2]
[all …]
Dsha1-armv4-large.pl87 $inp="r1";
127 ldrb $t1,[$inp,#2]
128 ldrb $t0,[$inp,#3]
129 ldrb $t2,[$inp,#1]
131 ldrb $t3,[$inp],#4
138 ldr $t0,[$inp],#4 @ handles unaligned
204 add $len,$inp,$len,lsl#6 @ $len to point at the end of $inp
266 teq $inp,$len
459 &teq ($inp,$len);
461 &subeq ($inp,$inp,64); # reload last block to avoid SEGV
[all …]
Dsha1-586.pl417 my ($ctx,$inp,$num)=("edi","esi","ecx");
443 &mov ($inp,&wparam(1));
452 &movdqu (@MSG[0],&QWP(0,$inp));
454 &movdqu (@MSG[1],&QWP(0x10,$inp));
456 &movdqu (@MSG[2],&QWP(0x20,$inp));
458 &movdqu (@MSG[3],&QWP(0x30,$inp));
466 &lea ("eax",&DWP(0x40,$inp));
469 &cmovne ($inp,"eax");
489 &movdqu (@MSG[0],&QWP(0,$inp));
493 &movdqu (@MSG[1],&QWP(0x10,$inp));
[all …]
/external/libhevc/common/
Dihevc_trans_macros.h37 #define QUANT(out, inp, quant_coeff, qp_div, log2_trans_size, q_add) \ argument
51 …sign = (inp)<0 ? -1:1; …
53 …tmp = (LWORD64)(abs(inp)); …
62 #define QUANT_HBD(out, inp, quant_coeff, qp_div, log2_trans_size, q_add, bit_depth) \ argument
76 …sign = (inp)<0 ? -1:1; …
78 …tmp = (LWORD64)(abs(inp)); …
87 #define QUANT_NO_WEIGHTMAT(out, inp, quant_coeff, qp_div, log2_trans_size, q_add) \ argument
101 …sign = (inp)<0 ? -1:1; …
103 …tmp = (WORD32)(abs(inp)); …
112 #define QUANT_NO_WEIGHTMAT_HBD(out, inp, quant_coeff, qp_div, log2_trans_size, q_add, bit_depth) \ argument
[all …]
/external/boringssl/src/crypto/evp/
Devp_asn1.c67 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **out, const uint8_t **inp, in d2i_PrivateKey() argument
86 const uint8_t *in = *inp; in d2i_PrivateKey()
91 in = *inp; in d2i_PrivateKey()
111 *inp = in; in d2i_PrivateKey()
121 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **out, const uint8_t **inp, long len) { in d2i_AutoPrivateKey() argument
125 p = *inp; in d2i_AutoPrivateKey()
139 p = *inp; in d2i_AutoPrivateKey()
154 *inp = p; in d2i_AutoPrivateKey()
164 return d2i_PrivateKey(keytype, out, inp, len); in d2i_AutoPrivateKey()
/external/boringssl/src/decrepit/xts/
Dxts.c65 const uint8_t iv[16], const uint8_t *inp, in CRYPTO_xts128_encrypt() argument
84 memcpy(scratch.c, inp, 16); in CRYPTO_xts128_encrypt()
88 scratch.u[0] = ((uint64_t *)inp)[0] ^ tweak.u[0]; in CRYPTO_xts128_encrypt()
89 scratch.u[1] = ((uint64_t *)inp)[1] ^ tweak.u[1]; in CRYPTO_xts128_encrypt()
100 inp += 16; in CRYPTO_xts128_encrypt()
115 uint8_t c = inp[i]; in CRYPTO_xts128_encrypt()
138 memcpy(scratch.c, inp, 16); in CRYPTO_xts128_encrypt()
142 scratch.u[0] = ((uint64_t *)inp)[0] ^ tweak1.u[0]; in CRYPTO_xts128_encrypt()
143 scratch.u[1] = ((uint64_t *)inp)[1] ^ tweak1.u[1]; in CRYPTO_xts128_encrypt()
150 uint8_t c = inp[16 + i]; in CRYPTO_xts128_encrypt()
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/test/
DtestG722.cc32 bool readframe(int16_t *data, FILE *inp, size_t length) in readframe() argument
34 size_t rlen = fread(data, sizeof(int16_t), length, inp); in readframe()
44 FILE *inp, *outbitp, *outp; in main() local
92 if ((inp = fopen(inname,"rb")) == NULL) { in main()
120 endfile = readframe(shortdata, inp, framelength); in main()
153 fclose(inp); in main()

12345