Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/openssl/providers/implementations/ciphers/
Dciphercommon_hw.c16 int ossl_cipher_hw_generic_cbc(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_cbc() argument
19 if (dat->stream.cbc) in ossl_cipher_hw_generic_cbc()
20 (*dat->stream.cbc) (in, out, len, dat->ks, dat->iv, dat->enc); in ossl_cipher_hw_generic_cbc()
21 else if (dat->enc) in ossl_cipher_hw_generic_cbc()
22 CRYPTO_cbc128_encrypt(in, out, len, dat->ks, dat->iv, dat->block); in ossl_cipher_hw_generic_cbc()
24 CRYPTO_cbc128_decrypt(in, out, len, dat->ks, dat->iv, dat->block); in ossl_cipher_hw_generic_cbc()
29 int ossl_cipher_hw_generic_ecb(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_ecb() argument
32 size_t i, bl = dat->blocksize; in ossl_cipher_hw_generic_ecb()
37 if (dat->stream.ecb) { in ossl_cipher_hw_generic_ecb()
38 (*dat->stream.ecb) (in, out, len, dat->ks, dat->enc); in ossl_cipher_hw_generic_ecb()
[all …]
Dcipher_aes_hw.c19 static int cipher_hw_aes_initkey(PROV_CIPHER_CTX *dat, in cipher_hw_aes_initkey() argument
23 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat; in cipher_hw_aes_initkey()
26 dat->ks = ks; in cipher_hw_aes_initkey()
28 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
29 && !dat->enc) { in cipher_hw_aes_initkey()
33 dat->block = (block128_f)HWAES_decrypt; in cipher_hw_aes_initkey()
34 dat->stream.cbc = NULL; in cipher_hw_aes_initkey()
36 if (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
37 dat->stream.cbc = (cbc128_f)HWAES_cbc_encrypt; in cipher_hw_aes_initkey()
40 if (dat->mode == EVP_CIPH_ECB_MODE) in cipher_hw_aes_initkey()
[all …]
Dcipher_aes_hw_t4.inc15 static int cipher_hw_aes_t4_initkey(PROV_CIPHER_CTX *dat,
19 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
22 dat->ks = (const void *)ks; /* used by cipher_hw_generic_XXX */
25 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
26 && !dat->enc) {
29 dat->block = (block128_f)aes_t4_decrypt;
32 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
36 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
40 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
49 dat->block = (block128_f)aes_t4_encrypt;
[all …]
Dcipher_aes_hw_s390x.inc33 static int s390x_aes_ecb_initkey(PROV_CIPHER_CTX *dat,
36 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
43 static int s390x_aes_ecb_cipher_hw(PROV_CIPHER_CTX *dat, unsigned char *out,
46 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
54 static int s390x_aes_ofb128_initkey(PROV_CIPHER_CTX *dat,
57 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
65 static int s390x_aes_ofb128_cipher_hw(PROV_CIPHER_CTX *dat, unsigned char *out,
68 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
72 memcpy(adat->plat.s390x.param.kmo_kmf.cv, dat->iv, dat->ivlen);
104 memcpy(dat->iv, adat->plat.s390x.param.kmo_kmf.cv, dat->ivlen);
[all …]
Dcipher_camellia_hw_t4.inc15 static int cipher_hw_camellia_t4_initkey(PROV_CIPHER_CTX *dat,
19 int ret = 0, bits, mode = dat->mode;
20 PROV_CAMELLIA_CTX *adat = (PROV_CAMELLIA_CTX *)dat;
23 dat->ks = ks;
28 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) {
29 dat->block = (block128_f) cmll_t4_encrypt;
33 dat->stream.cbc = (cbc128_f) cmll128_t4_cbc_encrypt;
35 dat->stream.ctr = (ctr128_f) cmll128_t4_ctr32_encrypt;
37 dat->stream.cbc = NULL;
42 dat->stream.cbc = (cbc128_f) cmll256_t4_cbc_encrypt;
[all …]
Dcipher_aes_hw_aesni.inc21 static int cipher_hw_aesni_initkey(PROV_CIPHER_CTX *dat,
25 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
28 dat->ks = ks;
30 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
31 && !dat->enc) {
33 dat->block = (block128_f) aesni_decrypt;
34 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
38 dat->block = (block128_f) aesni_encrypt;
39 if (dat->mode == EVP_CIPH_CBC_MODE)
40 dat->stream.cbc = (cbc128_f) aesni_cbc_encrypt;
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
Dciphercommon_hw.c16 int ossl_cipher_hw_generic_cbc(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_cbc() argument
19 if (dat->stream.cbc) in ossl_cipher_hw_generic_cbc()
20 (*dat->stream.cbc) (in, out, len, dat->ks, dat->iv, dat->enc); in ossl_cipher_hw_generic_cbc()
21 else if (dat->enc) in ossl_cipher_hw_generic_cbc()
22 CRYPTO_cbc128_encrypt(in, out, len, dat->ks, dat->iv, dat->block); in ossl_cipher_hw_generic_cbc()
24 CRYPTO_cbc128_decrypt(in, out, len, dat->ks, dat->iv, dat->block); in ossl_cipher_hw_generic_cbc()
29 int ossl_cipher_hw_generic_ecb(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_ecb() argument
32 size_t i, bl = dat->blocksize; in ossl_cipher_hw_generic_ecb()
37 if (dat->stream.ecb) { in ossl_cipher_hw_generic_ecb()
38 (*dat->stream.ecb) (in, out, len, dat->ks, dat->enc); in ossl_cipher_hw_generic_ecb()
[all …]
Dcipher_aes_hw.c19 static int cipher_hw_aes_initkey(PROV_CIPHER_CTX *dat, in cipher_hw_aes_initkey() argument
23 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat; in cipher_hw_aes_initkey()
26 dat->ks = ks; in cipher_hw_aes_initkey()
28 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
29 && !dat->enc) { in cipher_hw_aes_initkey()
33 dat->block = (block128_f)HWAES_decrypt; in cipher_hw_aes_initkey()
34 dat->stream.cbc = NULL; in cipher_hw_aes_initkey()
36 if (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
37 dat->stream.cbc = (cbc128_f)HWAES_cbc_encrypt; in cipher_hw_aes_initkey()
40 if (dat->mode == EVP_CIPH_ECB_MODE) in cipher_hw_aes_initkey()
[all …]
Dcipher_aes_hw_t4.inc15 static int cipher_hw_aes_t4_initkey(PROV_CIPHER_CTX *dat,
19 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
22 dat->ks = (const void *)ks; /* used by cipher_hw_generic_XXX */
25 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
26 && !dat->enc) {
29 dat->block = (block128_f)aes_t4_decrypt;
32 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
36 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
40 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
49 dat->block = (block128_f)aes_t4_encrypt;
[all …]
Dcipher_aes_hw_s390x.inc33 static int s390x_aes_ecb_initkey(PROV_CIPHER_CTX *dat,
36 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
43 static int s390x_aes_ecb_cipher_hw(PROV_CIPHER_CTX *dat, unsigned char *out,
46 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
54 static int s390x_aes_ofb128_initkey(PROV_CIPHER_CTX *dat,
57 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
65 static int s390x_aes_ofb128_cipher_hw(PROV_CIPHER_CTX *dat, unsigned char *out,
68 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
72 memcpy(adat->plat.s390x.param.kmo_kmf.cv, dat->iv, dat->ivlen);
104 memcpy(dat->iv, adat->plat.s390x.param.kmo_kmf.cv, dat->ivlen);
[all …]
Dcipher_camellia_hw_t4.inc15 static int cipher_hw_camellia_t4_initkey(PROV_CIPHER_CTX *dat,
19 int ret = 0, bits, mode = dat->mode;
20 PROV_CAMELLIA_CTX *adat = (PROV_CAMELLIA_CTX *)dat;
23 dat->ks = ks;
28 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) {
29 dat->block = (block128_f) cmll_t4_encrypt;
33 dat->stream.cbc = (cbc128_f) cmll128_t4_cbc_encrypt;
35 dat->stream.ctr = (ctr128_f) cmll128_t4_ctr32_encrypt;
37 dat->stream.cbc = NULL;
42 dat->stream.cbc = (cbc128_f) cmll256_t4_cbc_encrypt;
[all …]
Dcipher_aes_hw_aesni.inc21 static int cipher_hw_aesni_initkey(PROV_CIPHER_CTX *dat,
25 PROV_AES_CTX *adat = (PROV_AES_CTX *)dat;
28 dat->ks = ks;
30 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
31 && !dat->enc) {
33 dat->block = (block128_f) aesni_decrypt;
34 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
38 dat->block = (block128_f) aesni_encrypt;
39 if (dat->mode == EVP_CIPH_CBC_MODE)
40 dat->stream.cbc = (cbc128_f) aesni_cbc_encrypt;
[all …]
/third_party/openssl/crypto/rc4/asm/
Drc4-x86_64.pl130 $dat="%rdi"; # arg1
174 lea 8($dat),$dat
175 mov -8($dat),$XX[0]#b
176 mov -4($dat),$YY#b
177 cmpl \$-1,256($dat)
184 movl ($dat,$XX[0],4),$TX[0]#d
195 movl ($dat,$YY,4),$TY#d
196 movl $TX[0]#d,($dat,$YY,4)
197 movl $TY#d,($dat,$XX[0],4)
200 movl ($dat,$TX[0],4),$TY#d
[all …]
Drc4-md5-x86_64.pl72 my ($dat,$in0,$out,$ctx,$inp,$len, $func,$nargs);
75 ($dat,$len,$in0,$out) = ("%rdi","%rsi","%rdx","%rcx");
81 ($dat,$in0,$out,$ctx,$inp,$len) = ("%rdi","%rsi","%rdx","%rcx","%r8","%r9");
166 lea 8($dat),$dat
167 mov -8($dat),$XX[0]#b
168 mov -4($dat),$YY#b
172 movl ($dat,$XX[0],4),$TX[0]#d
184 movl ($dat,$YY,4),$TY#d
185 movl $TX[0]#d,($dat,$YY,4)
186 movl $TY#d,($dat,$XX[0],4)
[all …]
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);
96 &mov ($tx,&DWP(0,$dat,$xx,4));
100 &$func ($out,&DWP(0,$dat,$ty,4));
121 &mov ($ty,&DWP(0,$dat,$yy,4));
122 &mov (&DWP(0,$dat,$yy,4),$tx);
124 &mov (&DWP(0,$dat,$XX[0],4),$ty);
127 &mov ($tx,&DWP(0,$dat,@XX[1],4));
[all …]
/third_party/node/deps/openssl/openssl/crypto/rc4/asm/
Drc4-x86_64.pl130 $dat="%rdi"; # arg1
174 lea 8($dat),$dat
175 mov -8($dat),$XX[0]#b
176 mov -4($dat),$YY#b
177 cmpl \$-1,256($dat)
184 movl ($dat,$XX[0],4),$TX[0]#d
195 movl ($dat,$YY,4),$TY#d
196 movl $TX[0]#d,($dat,$YY,4)
197 movl $TY#d,($dat,$XX[0],4)
200 movl ($dat,$TX[0],4),$TY#d
[all …]
Drc4-md5-x86_64.pl72 my ($dat,$in0,$out,$ctx,$inp,$len, $func,$nargs);
75 ($dat,$len,$in0,$out) = ("%rdi","%rsi","%rdx","%rcx");
81 ($dat,$in0,$out,$ctx,$inp,$len) = ("%rdi","%rsi","%rdx","%rcx","%r8","%r9");
166 lea 8($dat),$dat
167 mov -8($dat),$XX[0]#b
168 mov -4($dat),$YY#b
172 movl ($dat,$XX[0],4),$TX[0]#d
184 movl ($dat,$YY,4),$TY#d
185 movl $TX[0]#d,($dat,$YY,4)
186 movl $TY#d,($dat,$XX[0],4)
[all …]
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);
96 &mov ($tx,&DWP(0,$dat,$xx,4));
100 &$func ($out,&DWP(0,$dat,$ty,4));
121 &mov ($ty,&DWP(0,$dat,$yy,4));
122 &mov (&DWP(0,$dat,$yy,4),$tx);
124 &mov (&DWP(0,$dat,$XX[0],4),$ty);
127 &mov ($tx,&DWP(0,$dat,@XX[1],4));
[all …]
/third_party/openssl/crypto/evp/
De_camellia.c55 EVP_CAMELLIA_KEY *dat = in cmll_t4_init_key() local
61 cmll_t4_set_key(key, bits, &dat->ks); in cmll_t4_init_key()
66 dat->block = (block128_f) cmll_t4_decrypt; in cmll_t4_init_key()
69 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cmll_t4_init_key()
74 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cmll_t4_init_key()
82 dat->block = (block128_f) cmll_t4_encrypt; in cmll_t4_init_key()
86 dat->stream.cbc = (cbc128_f) cmll128_t4_cbc_encrypt; in cmll_t4_init_key()
88 dat->stream.ctr = (ctr128_f) cmll128_t4_ctr32_encrypt; in cmll_t4_init_key()
90 dat->stream.cbc = NULL; in cmll_t4_init_key()
95 dat->stream.cbc = (cbc128_f) cmll256_t4_cbc_encrypt; in cmll_t4_init_key()
[all …]
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()
228 DES_EDE_KEY *dat = data(ctx); in des_ede_init_key() local
230 dat->stream.cbc = NULL; in des_ede_init_key()
236 des_t4_key_expand(&deskey[0], &dat->ks1); in des_ede_init_key()
237 des_t4_key_expand(&deskey[1], &dat->ks2); in des_ede_init_key()
238 memcpy(&dat->ks3, &dat->ks1, sizeof(dat->ks1)); in des_ede_init_key()
[all …]
/third_party/node/deps/openssl/openssl/crypto/evp/
De_camellia.c55 EVP_CAMELLIA_KEY *dat = in cmll_t4_init_key() local
61 cmll_t4_set_key(key, bits, &dat->ks); in cmll_t4_init_key()
66 dat->block = (block128_f) cmll_t4_decrypt; in cmll_t4_init_key()
69 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cmll_t4_init_key()
74 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cmll_t4_init_key()
82 dat->block = (block128_f) cmll_t4_encrypt; in cmll_t4_init_key()
86 dat->stream.cbc = (cbc128_f) cmll128_t4_cbc_encrypt; in cmll_t4_init_key()
88 dat->stream.ctr = (ctr128_f) cmll128_t4_ctr32_encrypt; in cmll_t4_init_key()
90 dat->stream.cbc = NULL; in cmll_t4_init_key()
95 dat->stream.cbc = (cbc128_f) cmll256_t4_cbc_encrypt; in cmll_t4_init_key()
[all …]
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()
228 DES_EDE_KEY *dat = data(ctx); in des_ede_init_key() local
230 dat->stream.cbc = NULL; in des_ede_init_key()
236 des_t4_key_expand(&deskey[0], &dat->ks1); in des_ede_init_key()
237 des_t4_key_expand(&deskey[1], &dat->ks2); in des_ede_init_key()
238 memcpy(&dat->ks3, &dat->ks1, sizeof(dat->ks1)); in des_ede_init_key()
[all …]
/third_party/python/Lib/
Dimaplib.py373 typ, dat = self._untagged_response('OK', [None], name)
374 if dat[-1]:
375 return typ, dat
376 typ, dat = self.noop() # Prod server for response
377 return self._untagged_response(typ, dat, name)
442 typ, dat = self._simple_command('AUTHENTICATE', mech)
444 raise self.error(dat[-1].decode('utf-8', 'replace'))
446 return typ, dat
454 typ, dat = self._simple_command(name)
455 return self._untagged_response(typ, dat, name)
[all …]
/third_party/node/benchmark/
Dbar.R19 dat = read.csv( globalVar
23 dat = data.frame(dat); dataframe
25 dat$nameTwoLines = paste0(dat$filename, '\n', dat$configuration);
26 dat$name = paste0(dat$filename, ' ', dat$configuration);
30 p = ggplot(data=dat, aes(x=nameTwoLines, y=rate, fill=binary));
/third_party/openssl/crypto/aes/asm/
Daesv8-armx.pl422 my ($dat,$tmp,$rndzero_n_last)=($dat0,$tmp0,$tmp1);
554 vld1.8 {$dat},[$inp],$step
574 vorr $dat1,$dat,$dat
894 vorr $dat1,$dat,$dat
1227 my ($dat,$tmp,$rndzero_n_last)=($dat0,$tmp0,$tmp1);
1258 vld1.8 {$dat},[$inp],$step
1274 veor $dat,$dat,$ivec
1282 aese $dat,q8
1283 aesmc $dat,$dat
1290 aese $dat,q8
[all …]

12345678910>>...14