Home
last modified time | relevance | path

Searched refs:dat (Results 1 – 21 of 21) sorted by relevance

/crypto/sm4/asm/
A Dsm4-armv8.pl295 &enc_4blks(@dat[0],@dat[1],@dat[2],@dat[3]);
296 &enc_4blks(@dat[4],@dat[5],@dat[6],@dat[7]);
320 &enc_4blks(@dat[0],@dat[1],@dat[2],@dat[3]);
414 ld1 {@dat[0].4s,@dat[1].4s,@dat[2].4s,@dat[3].4s},[$inp]
419 ld1 {@dat[4].4s,@dat[5].4s,@dat[6].4s,@dat[7].4s},[$inp]
430 &enc_4blks(@dat[0],@dat[1],@dat[2],@dat[3]);
431 &enc_4blks(@dat[4],@dat[5],@dat[6],@dat[7]);
462 &enc_4blks(@dat[0],@dat[1],@dat[2],@dat[3]);
550 &enc_4blks(@dat[0],@dat[1],@dat[2],@dat[3]);
551 &enc_4blks(@dat[4],@dat[5],@dat[6],@dat[7]);
[all …]
A Dvpsm4-armv8.pl127 my $dat = shift;
136 tbl $dat.16b,{@sbox[0].16b,@sbox[1].16b,@sbox[2].16b,@sbox[3].16b},$dat.16b
161 my $dat = shift;
169 tbl $dat.16b,{@sbox[0].16b,@sbox[1].16b,@sbox[2].16b,@sbox[3].16b},$dat.16b
174 add $dat.2d,@vtmp[2].2d,$dat.2d
175 add $dat.2d,@vtmp[1].2d,$dat.2d
406 my $dat = shift;
411 mov $word0,$dat.s[0]
412 mov $word1,$dat.s[1]
429 my $dat = shift;
[all …]
A Dvpsm4_ex-armv8.pl146 my $dat = shift;
173 eor $dat.16b,$dat.16b,$vtmp4.16b
179 my $dat = shift;
214 eor $dat.16b,$dat.16b,$vtmp4.16b
407 my $dat = shift;
412 mov $word0,$dat.s[0]
413 mov $word1,$dat.s[1]
414 mov $word2,$dat.s[2]
415 mov $word3,$dat.s[3]
430 my $dat = shift;
[all …]
/crypto/evp/
A De_sm4.c69 dat->stream.cbc = NULL; in sm4_init_key()
84 dat->stream.cbc = NULL; in sm4_init_key()
100 dat->stream.cbc = NULL; in sm4_init_key()
123 dat->stream.cbc = NULL; in sm4_init_key()
144 if (dat->stream.cbc) in sm4_cbc_cipher()
145 (*dat->stream.cbc) (in, out, len, &dat->ks.ks, ctx->iv, in sm4_cbc_cipher()
149 dat->block); in sm4_cbc_cipher()
179 if (dat->stream.ecb != NULL) in sm4_ecb_cipher()
180 (*dat->stream.ecb) (in, out, len, &dat->ks.ks, in sm4_ecb_cipher()
184 (*dat->block) (in + i, out + i, &dat->ks); in sm4_ecb_cipher()
[all …]
A De_camellia.c55 EVP_CAMELLIA_KEY *dat = in cmll_t4_init_key() local
90 dat->stream.cbc = NULL; in cmll_t4_init_key()
99 dat->stream.cbc = NULL; in cmll_t4_init_key()
199 &dat->ks); in camellia_init_key()
225 if (dat->stream.cbc) in camellia_cbc_cipher()
226 (*dat->stream.cbc) (in, out, len, &dat->ks, ctx->iv, in camellia_cbc_cipher()
229 CRYPTO_cbc128_encrypt(in, out, len, &dat->ks, ctx->iv, dat->block); in camellia_cbc_cipher()
231 CRYPTO_cbc128_decrypt(in, out, len, &dat->ks, ctx->iv, dat->block); in camellia_cbc_cipher()
247 (*dat->block) (in + i, out + i, &dat->ks); in camellia_ecb_cipher()
258 CRYPTO_ofb128_encrypt(in, out, len, &dat->ks, ctx->iv, &num, dat->block); in camellia_ofb_cipher()
[all …]
A De_des3.c110 DES_EDE_KEY *dat = data(ctx); in des_ede_cbc_cipher() local
112 if (dat->stream.cbc != NULL) { in des_ede_cbc_cipher()
113 (*dat->stream.cbc) (in, out, inl, dat->ks.ks, in des_ede_cbc_cipher()
120 &dat->ks1, &dat->ks2, &dat->ks3, in des_ede_cbc_cipher()
129 &dat->ks1, &dat->ks2, &dat->ks3, in des_ede_cbc_cipher()
229 DES_EDE_KEY *dat = data(ctx); in des_ede_init_key() local
231 dat->stream.cbc = NULL; in des_ede_init_key()
239 memcpy(&dat->ks3, &dat->ks1, sizeof(dat->ks1)); in des_ede_init_key()
248 memcpy(&dat->ks3, &dat->ks1, sizeof(dat->ks1)); in des_ede_init_key()
256 DES_EDE_KEY *dat = data(ctx); in des_ede3_init_key() local
[all …]
A De_des.c96 EVP_DES_KEY *dat = (EVP_DES_KEY *) EVP_CIPHER_CTX_get_cipher_data(ctx); in des_cbc_cipher() local
98 if (dat->stream.cbc != NULL) { in des_cbc_cipher()
99 (*dat->stream.cbc) (in, out, inl, &dat->ks.ks, ctx->iv); in des_cbc_cipher()
214 EVP_DES_KEY *dat = (EVP_DES_KEY *) EVP_CIPHER_CTX_get_cipher_data(ctx); in des_init_key() local
216 dat->stream.cbc = NULL; in des_init_key()
222 des_t4_key_expand(key, &dat->ks.ks); in des_init_key()
223 dat->stream.cbc = enc ? des_t4_cbc_encrypt : des_t4_cbc_decrypt; in des_init_key()
A De_aes.c170 dat->stream.cbc = NULL; in aesni_init_key()
517 dat->stream.cbc = NULL; in aes_t4_init_key()
525 dat->stream.cbc = NULL; in aes_t4_init_key()
533 dat->stream.cbc = NULL; in aes_t4_init_key()
2422 dat->stream.cbc = NULL; in aes_init_key()
2455 dat->stream.cbc = NULL; in aes_init_key()
2508 if (dat->stream.cbc) in aes_cbc_cipher()
2509 (*dat->stream.cbc) (in, out, len, &dat->ks, ctx->iv, in aes_cbc_cipher()
2513 dat->block); in aes_cbc_cipher()
2532 (*dat->block) (in + i, out + i, &dat->ks); in aes_ecb_cipher()
[all …]
A De_aria.c180 EVP_ARIA_KEY *dat = EVP_C_DATA(EVP_ARIA_KEY, ctx); in aria_ctr_cipher() local
186 CRYPTO_ctr128_encrypt(in, out, len, &dat->ks, ctx->iv, in aria_ctr_cipher()
A Dpmeth_lib.c1642 void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx, int *dat, int datlen) in EVP_PKEY_CTX_set0_keygen_info() argument
1644 ctx->keygen_info = dat; in EVP_PKEY_CTX_set0_keygen_info()
/crypto/rc4/asm/
A Drc4-x86_64.pl174 lea 8($dat),$dat
176 mov -4($dat),$YY#b
177 cmpl \$-1,256($dat)
372 xor ($dat,$TY),%r8b
391 xor ($dat,$TY),%r9b
435 movl $YY#d,-4($dat)
462 lea 8($dat),$dat
500 mov %al,($dat,%rax)
520 movl \$-1,256($dat)
525 mov %eax,-8($dat)
[all …]
A Drc4-md5-x86_64.pl166 lea 8($dat),$dat
167 mov -8($dat),$XX[0]#b
168 mov -4($dat),$YY#b
184 movl ($dat,$YY,4),$TY#d
436 movl ($dat,$YY,4),$TY#d
490 lea 8($dat),$dat
502 mov %eax,($dat,%rax,4)
510 mov ($dat,$ido,4),%r10d
514 mov ($dat,$idx,4),%r11d
522 mov %eax,-8($dat)
[all …]
A Drc4-586.pl81 $dat="edi";
88 &mov ($ty,&DWP(0,$dat,$yy,4));
89 &mov (&DWP(0,$dat,$yy,4),$tx);
90 &mov (&DWP(0,$dat,$xx,4),$ty);
121 &mov ($ty,&DWP(0,$dat,$yy,4));
122 &mov (&DWP(0,$dat,$yy,4),$tx);
143 &mov ($ty,&DWP(0,$dat,$yy,4));
180 &add ($dat,8);
189 &cmp (&DWP(256,$dat),-1);
224 &cmp ($inp,&DWP(-4,$dat));
[all …]
A Drc4-c64xplus.pl31 ($KEYB,$YY,$TX,$tx,$SUM,$dat)=map("B$_",(5,7,8,9,1,2));
80 LDBU *$INP++,$dat
84 XOR.L $dat,$ret,$ret
115 LDBU *${INP}++,$dat
139 ADD4 $dat,$YY,$YY
146 LDBU *${INP}++,$dat
A Drc4-s390x.pl178 $dat="%r6";
204 llgc $dat,0($iinp,$inp)
207 la $idx,0($idx,$dat)
211 llgc $dat,2($idx,$key)
212 stc $dat,2+256-1($ikey,$key)
/crypto/aes/asm/
A Daesv8-armx.pl1309 aesmc $dat,$dat
1317 aesmc $dat,$dat
1321 aesmc $dat,$dat
1323 aesmc $dat,$dat
1327 aesmc $dat,$dat
1332 aesmc $dat,$dat
1335 aesmc $dat,$dat
1341 aesmc $dat,$dat
1344 aesmc $dat,$dat
1347 aesmc $dat,$dat
[all …]
A Daesp8-ppc.pl1270 my $dat=$tmp;
1340 vmr $dat,$inptail
1348 vperm $dat,$dat,$inptail,$inpperm
1352 vxor $dat,$dat,$rndkey1 # last round key
1353 vcipherlast $inout,$inout,$dat
1358 vsel $dat,$outhead,$inout,$outmask
1365 stvx $dat,0,$out
/crypto/modes/asm/
A Dghash-x86_64.pl312 my $dat="%edx";
323 &xor ($dat,$dat);
325 &mov ("$j(%rsp)",&LB($dat)) if ($i>1);
333 &shl (&LB($dat),4) if ($i>0 && $i<17);
359 &rol ($dat,8);
360 &mov (&LB($nlo),&LB($dat));
361 &movz ($nhi[0],&LB($dat));
366 &rol ($dat,8);
372 &mov (&LB($nlo),&LB($dat));
376 &movz ($nhi[1],&LB($dat));
[all …]
A Dghash-x86.pl697 my $dat = "edx";
703 &xor ($dat,&DWP(12,"ecx")); # merge input data
713 &rol ($dat,8);
714 &mov (&LB($nlo),&LB($dat));
719 &rol ($dat,8); # next byte
732 &rol ($dat,8); # next byte
743 &mov (&LB($nlo),&LB($dat));
744 &mov ($dat,&DWP(528+$j,"esp")) if (--$j%4==0);
795 &movd ($dat,$Zlo);
809 &bswap ($dat);
/crypto/x509/
A Dv3_cpols.c504 const X509_POLICY_DATA *dat = node->data; in X509_POLICY_NODE_print() local
508 i2a_ASN1_OBJECT(out, dat->valid_policy); in X509_POLICY_NODE_print()
511 node_data_critical(dat) ? "Critical" : "Non Critical"); in X509_POLICY_NODE_print()
512 if (dat->qualifier_set) { in X509_POLICY_NODE_print()
513 print_qualifiers(out, dat->qualifier_set, indent + 2); in X509_POLICY_NODE_print()
A Dx_crl.c521 void X509_CRL_set_meth_data(X509_CRL *crl, void *dat) in X509_CRL_set_meth_data() argument
523 crl->meth_data = dat; in X509_CRL_set_meth_data()

Completed in 79 milliseconds